In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: fix truncate racing with PMD zapping zap_huge_pmd_folio() removes the rmap before calling folio_mark_dirty().
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- 0.17%
- Published
- Nov 20, 2026
- In the news
- Not yet
What to do
A serious security flaw in Linux that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 5.11, 5.16, 6.2, 6.7, 6.13, 6.19, 7.3
Affected versions
- Linux
- 5.10.273 to before 5.11; 5.15.224 to before 5.16; 6.1.191 to before 6.2; 6.12.114 to before 6.13; 6.18.52 to before 6.19; 6.6.160 to before 6.7; 7.2.5 to before 7.3; 7.3
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/huge_memory: fix truncate racing with PMD zapping
zap_huge_pmd_folio() removes the rmap before calling folio_mark_dirty().
If this was the last mapping, truncation can skip unmapping the folio
and proceed without waiting for the PMD lock, racing with dirtying.
ifs_set_range_dirty() can oops if MADV_DONTNEED races with
ftruncate() on XFS, when we get the folio set dirty after it was found
to not be mapped anymore.
Move folio_mark_dirty() and folio_mark_accessed() before rmap removal,
matching the PTE zap path. This keeps the folio mapped while updating
its state, so truncation must wait for the page table lock.
Fix generated by an LLM and sent by Chris Mason in private.
[ david: simplify comment and description ]
Affected products
Get alerts for these →Timeline 4
Latest change: Tenable Cloud Security plugin 485970: Chainguard: multiple linux-desktop-6.18 packages: security update to 6.18.66-r0 (Nov 29, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 30, 2026
Mon, Nov 23, 2026
Fri, Nov 20, 2026
- CVECVE-2026-99669 published (CVSS 7.8)CVE Program · 06:18 UTC
References 2
- git.kernel.org /stable/c/a5786ec7ba7967433207f20214ff75768497a2c9
- git.kernel.org /stable/c/e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4