The Linux kernel CNA rates CVE-2026-99669, published on 2026-11-20, at CVSS 3.1 7.8 (High). The flaw is a race in the transparent huge page code between unmapping a huge page and truncating its file. Fixed releases are 7.3.5 and 7.4-rc2. No fix is listed for the affected 5.10, 5.15, 6.1, 6.6, 6.12, 6.18 or 7.2 stable ranges.
Advisory details
- CVE: CVE-2026-99669 (the only CVE in this record)
- Assigner: Linux (the Linux kernel CNA)
- Published: 2026-11-20; last updated 2026-11-22
- Product: Linux kernel, file mm/huge_memory.c
- CVSS: 3.1 base score 7.8 (High), vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, assigned by the Linux CNA
- CWE: none listed in the record
- Exploitation status: Not known to be exploited. The CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, version 2026.11.20.
- Workarounds: none listed in the record
What the flaw is
zap_huge_pmd_folio() removed the reverse mapping (rmap) before it called folio_mark_dirty(). If that was the last mapping, truncation could skip unmapping the folio and carry on without waiting for the page-table lock, racing with the dirtying step.
On XFS, ifs_set_range_dirty() can then oops when MADV_DONTNEED races with ftruncate(): the folio is marked dirty after truncation has already found it unmapped.
The fix moves folio_mark_dirty() and folio_mark_accessed() ahead of the rmap removal, as the normal page-table-entry path already does. The folio stays mapped while its state changes, so truncation has to wait for the lock.
In the CNA's scenario, a local user writes to a file they created on XFS so that it uses a 2 MB (PMD-sized) folio, dirties the mapping, and runs madvise(MADV_DONTNEED) and ftruncate() in parallel threads. Only write access to the file is needed. The race uses an iomap_folio_state that was already freed, which can disclose or corrupt kernel memory or oops the kernel.
Affected and fixed versions
This table reproduces every version entry in the Linux CNA record.
| Kernel version or range | Status in the record |
|---|---|
| Earlier than 7.3 | Unaffected (except the stable ranges below) |
| 5.10.273 up to, but not including, 5.11 | Affected (no fix listed for this branch) |
| 5.15.224 up to, but not including, 5.16 | Affected (no fix listed for this branch) |
| 6.1.191 up to, but not including, 6.2 | Affected (no fix listed for this branch) |
| 6.6.160 up to, but not including, 6.7 | Affected (no fix listed for this branch) |
| 6.12.114 up to, but not including, 6.13 | Affected (no fix listed for this branch) |
| 6.18.52 up to, but not including, 6.19 | Affected (no fix listed for this branch) |
| 7.2.5 up to, but not including, 7.3 | Affected (no fix listed for this branch) |
| 7.3 and later | Affected, unless at or above a fixed version below |
| 7.3.5 and later 7.3.x | Unaffected (fixed) |
| 7.4-rc2 and later | Unaffected (original mainline fix) |
The record lists 2 fix commits in the stable tree: a5786ec7ba79, e6a07d29b0a6. The issue was introduced by commit fe6cf984939d. The record also lists git commits 79d8c89baa10, 13f4910d81b6, 7a4c3f7b47ba, 6e904f9e8cb0, fd720d390687, effe3cc6d4fd, 9435cddf1378 as affected.
Terms explained
- Huge page and PMD: a large memory page (for example 2 MB) mapped by one page middle directory (PMD) entry.
- Folio: the kernel's unit for a group of contiguous memory pages.
- Reverse mapping (rmap): the record of which page tables map a given page.
- Zap: removing page-table entries for a memory range.
- MADV_DONTNEED: a madvise() option that tells the kernel a process no longer needs a memory range.
- ftruncate(): a system call that changes the size of an open file.
- iomap_folio_state: per-folio tracking data used by the iomap layer, which XFS uses.
- CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H: an attack requires local access (AV:L) and a normal user account (PR:L), is of low complexity (AC:L), needs no user interaction (UI:N), stays within the kernel (S:U) and has high impact on confidentiality, integrity and availability (C:H/I:H/A:H).
What This Means for IT Teams
The record's scenario combines huge pages with files on XFS. Affected kernels are 7.3 releases before 7.3.5 and the listed stable ranges from 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.114, 6.18.52 and 7.2.5 onward. The changed file is mm/huge_memory.c.
Kernel 7.3.5 or later and 7.4-rc2 or later contain the fix. No fix is listed for the affected 5.10, 5.15, 6.1, 6.6, 6.12, 6.18 or 7.2 stable ranges. The record gives no workaround.
An attacker needs local code execution and a writable file on XFS. The CVE is not in the CISA KEV catalog. Watching for stable kernel updates on the affected branches is part of vulnerability management.
NVD cross-check
The NVD entry, still in "Received" status, carries the CNA's description, version ranges and 7.8 vector verbatim as a secondary CNA score. NVD has added no assessment, CWE or CPE of its own; nothing conflicts.


