CVE-2026-23097: Linux kernel · migrate: correct lock ordering for hugetlb file folios
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.15.0-1105.112~20.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.15.0-1105.112~20.04.1, 5.15.0-1110.119~20.04.1, 5.15.0-1106.115~20.04.1 +70
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-8162-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8186-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8187-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8188-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8243-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-8275-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In the Linux kernel, the following vulnerability has been resolved: migrate: correct lock ordering for hugetlb file folios Syzbot has found a deadlock (analyzed by Lance Yang): 1) Task (5749): Holds folio_lock, then tries to acquire i_mmap_rwsem(read lock). 2) Task (5754): Holds i_mmap_rwsem(write lock), then tries to acquire folio_lock. migrate_pages() -> migrate_hugetlbs() -> unmap_and_move_huge_page() <- Takes folio_lock! -> remove_migration_ptes() -> __rmap_walk_file() -> i_mmap_lock_read() <- Waits for i_mmap_rwsem(read lock)! hugetlbfs_fallocate() -> hugetlbfs_punch_hole() <- Takes i_mmap_rwsem(write lock)! -> hugetlbfs_zero_partial_page() -> filemap_lock_hugetlb_folio() -> filemap_lock_folio() -> __filemap_get_folio <- Waits for folio_lock! The migration path is the one taking locks in the wrong order according to the documentation at the top of mm/rmap.c. So expand the scope of the existing i_mmap_lock to cover the calls to remove_migration_ptes() too. This is (mostly) how it used to be after commit c0d0381ade79. That was removed by 336bf30eb765 for both file & anon hugetlb pages when it should only have been removed for anon hugetlb pages.
References
- ubuntu.com/security/CVE-2026-23097 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-23097 (opens in a new tab)
- git.kernel.org/linus/b7880cb166ab62c2409046b2347261abf701530e (opens in a new tab)
- git.kernel.org/stable/c/1b68efce6dd483d22f50d0d3800c4cfda14b1305 (opens in a new tab)
- git.kernel.org/stable/c/526394af4e8ade89cacd1a9ce2b97712712fcc34 (opens in a new tab)
- git.kernel.org/stable/c/b75070823b89009f5123fd0e05a8e0c3d39937c1 (opens in a new tab)
- git.kernel.org/stable/c/b7880cb166ab62c2409046b2347261abf701530e (opens in a new tab)
- ubuntu.com/security/notices/USN-8162-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8186-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8187-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8188-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8243-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-8275-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8278-1 (opens in a new tab)