CVE-2026-23097: Linux Kernel hugetlb File Folio Migration Deadlock
- Vendor
- Linux
CVE-2026-23097 is a lock-ordering vulnerability in the Linux kernel's migration handling for file-backed hugetlb folios. The migration path acquires folio_lock in unmap_and_move_huge_page() and subsequently attempts to acquire the i_mmap_rwsem read lock through remove_migration_ptes() and reverse-mapping traversal. Concurrently, hugetlbfs hole punching can hold the i_mmap_rwsem write lock while waiting for folio_lock during partial-page zeroing. This inverted lock ordering creates an ABBA deadlock, potentially causing indefinite task hangs and denial of service. The regression resulted from removing locking protection for both file-backed and anonymous hugetlb pages when only anonymous pages should have been changed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can indefinitely block tasks involved in hugetlb migration and hugetlbfs operations, causing local denial of service and potentially system-wide stalls. Availability is the principal demonstrated impact. Arbitrary code execution, privilege escalation, and direct disclosure or modification of sensitive data are not established by the described mechanism.
Mitigation
If you can’t patch tonight, do this now.
Red Hat states that no mitigation meeting its product-security criteria is available. As temporary exposure reduction, restrict untrusted local users and containers from accessing hugetlbfs, and avoid or limit hugetlb usage and concurrent hugetlbfs fallocate/hole-punch operations where hugetlb page migration can occur. These operational restrictions are not a substitute for updating the kernel.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the lock-ordering fix and reboot into the updated kernel. Upstream fixes are available in Linux 6.6.122, 6.12.68, 6.18.8, and 6.19-rc7; prefer a current supported stable release rather than an individual cherry-picked patch. The fix expands the existing i_mmap lock scope to cover remove_migration_ptes() calls for file-backed hugetlb folios. Distribution fixes include Debian trixie linux 6.12.69-1, Debian bookworm linux 6.1.162-1, and RHEL 8 kernel 4.18.0-553.109.1.el8_10, with separate fixed builds for other product streams. Verify the applicable vendor advisory and confirm that the running kernel includes the fix.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-23097 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2026-23097 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-23097?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2026-23097.
- Is there a patch for CVE-2026-23097?
- Install a vendor-supported kernel update containing the lock-ordering fix and reboot into the updated kernel. Upstream fixes are available in Linux 6.6.122, 6.12.68, 6.18.8, and 6.19-rc7; prefer a current supported stable release rather than an individual cherry-picked patch.
- What products are affected by CVE-2026-23097?
- Linux Kernel.
- How severe is CVE-2026-23097?
- CVE-2026-23097 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.15% (2nd percentile) as of Oct 25, 2026.
Recent activity
35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.