Race between truncate and PMD zapping in the Linux kernel
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Linux kernel versions from 5.10.273 before 5.10.275, from 5.15.224 before 5.15.226, from 6.1.191 before 6.1.193, from 6.6.160 before 6.6.163, from 6.12.114 before 6.12.119, from 6.18.52 before 6.18.65, and from 7.2.5 before 7.3 are affected. The mm/huge_memory code in zap_huge_pmd_folio() marks a folio dirty after removing its mapping, so truncation can race with dirtying and oops on XFS. A local user with low privileges can cause high impact to confidentiality, integrity and availability.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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 ]
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.273 to before 5.10.275; 5.15.224 to before 5.15.226; 6.1.191 to before 6.1.193; 6.6.160 to before 6.6.163; 6.12.114 to before 6.12.119; 6.18.52 to before 6.18.65; 7.2.5 to before 7.3 | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3 | Patch available | CNA |
| Linux | Linux | 7.3 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.273 to before 5.10.275; 5.15.224 to before 5.15.226; 6.1.191 to before 6.1.193; 6.6.160 to before 6.6.163; 6.12.114 to before 6.12.119; 6.18.52 to before 6.18.65; 7.2.5 to before 7.3 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3 Patch available CNA
- Linux VendorLinux Affected 7.3 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5, 7.4-rc2 Patch available CNA
Remediation
The fixed Linux kernel versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3, 7.3.5 and 7.4-rc2.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99669
- 2026-11-20 Alias added: GHSA-p594-hgg6-6mw2
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 Fix available: Linux/Linux@37a32c760eb709440bb9cd6cd6852022850a542b, Linux/[email protected], Linux/[email protected] +9 · CNA
- 2026-11-23 6 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/37a32c760eb709440bb9cd6cd6852022850a542b
- https://git.kernel.org/stable/c/664d37982d094623f5c3ac0373d3751401b10020
- https://git.kernel.org/stable/c/b72f49d669840a87d0a811b3f16e14fe597fc3ce
- https://git.kernel.org/stable/c/df588ea0cf5dce9ee7cc1689e40a6940dc25429a
- https://git.kernel.org/stable/c/e80c3d6e1dc80bae76471ea5b10bf625168f14c6
- https://git.kernel.org/stable/c/d08f371175e5ad3bea97983ef446e416e4fb32e2
- https://git.kernel.org/stable/c/a5786ec7ba7967433207f20214ff75768497a2c9
- https://git.kernel.org/stable/c/e6a07d29b0a60f3a4cfe77fe34eeb4b3fb38d6c4
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99669 · CVE Program
- CVE-2026-99669 · NVD
- FIRST EPSS
- GHSA-p594-hgg6-6mw2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99669 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences