Skip to main content
ISO/IEC 27001:2022 · Cert #2967/NET27A

Linux kernel huge page truncate race CVE-2026-99669 (CVSS 7.8)

A race between MADV_DONTNEED on a huge page and ftruncate() on XFS can corrupt freed kernel memory. CVSS 7.8. Fixed in 7.3.5 and 7.4-rc2; several stable ranges have no listed fix.

Security advisory card: Linux kernel huge page truncate race CVE-2026-99669 (CVSS 7.8). Severity High, CVSS 7.8. CVE-2026-99669.

Advisory at a glance

CVE
CVE-2026-99669
Severity
Severity: High CVSS v3.1 7.8
Attack vector
Local
Privileges required: low
Exploitation evidence
Not listed in the CISA KEV catalog (record checked Nov 22, 2026)
Absence from KEV is not proof that a flaw is not exploited.
Last reviewed

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 rangeStatus in the record
Earlier than 7.3Unaffected (except the stable ranges below)
5.10.273 up to, but not including, 5.11Affected (no fix listed for this branch)
5.15.224 up to, but not including, 5.16Affected (no fix listed for this branch)
6.1.191 up to, but not including, 6.2Affected (no fix listed for this branch)
6.6.160 up to, but not including, 6.7Affected (no fix listed for this branch)
6.12.114 up to, but not including, 6.13Affected (no fix listed for this branch)
6.18.52 up to, but not including, 6.19Affected (no fix listed for this branch)
7.2.5 up to, but not including, 7.3Affected (no fix listed for this branch)
7.3 and laterAffected, unless at or above a fixed version below
7.3.5 and later 7.3.xUnaffected (fixed)
7.4-rc2 and laterUnaffected (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.

Sources

  1. CVE-2026-99669: mm/huge_memory: fix truncate racing with PMD zapping (opens in a new tab) Linux kernel CNA (CVE Program record) Published Nov 20, 2026 Accessed Nov 22, 2026 cve.org
  2. NVD record for CVE-2026-99669 (opens in a new tab) NIST National Vulnerability Database Published Nov 20, 2026 Accessed Nov 22, 2026 nvd.nist.gov
  3. CISA Known Exploited Vulnerabilities catalog (JSON feed) (opens in a new tab) Cybersecurity and Infrastructure Security Agency Published Nov 20, 2026 Accessed Nov 22, 2026 cisa.gov

Topics

How we research, review and correct articles: Editorial Standards, Ethics & Corrections Policy. Found an error? Tell us.

Networking Pulse · https://networkingpulse.com/news/security/linux-kernel-huge-memory-pmd-zap-truncate-race-cve-2026-99669/

Cybersecurity & Compliance

Need help checking your exposure to this advisory?

Talk to our team about the devices and versions in your network and how to plan the update.