On 2026-11-20 the Linux kernel CNA published CVE-2026-99668, a flaw in how the kernel removes migration entries for device-private transparent huge pages (THPs). The CNA rates it CVSS 3.1 7.8 (High). Fixed releases are 7.3.5 and 7.4-rc2.
Advisory details
- CVE: CVE-2026-99668 (the only CVE in this record)
- Title: mm/huge_memory: fix zapping migration entries for device-private THPs
- 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
A PMD migration entry can refer to a device-private folio. zap_huge_pmd_folio() checked the folio type instead of the entry type. It therefore treated such a migration entry as a device-private entry.
Installing the migration entry had already removed the reverse mapping and dropped the mapping reference. Zapping the entry repeated both operations. The record says a concurrent MADV_DONTNEED during migration back to system memory can trigger this. The fix checks the PMD entry type with pmd_is_device_private_entry().
The CNA's CVSS rationale describes the trigger. An unprivileged process moves its own anonymous THP to device-private memory through a GPU HMM driver. The record names nouveau_dmem_migrate_to_ram and svm_migrate_to_ram. The process then faults the page back to system RAM, and a second thread calls MADV_DONTNEED during the copy. According to the CNA, the extra reference drop frees the folio while migration still uses it. This is a use-after-free. The later unlock and reference drop can then change a folio reallocated to another client, or the kernel can oops.
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 6.19 | Unaffected |
| 6.19 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: 2d7e94a16d0d and 63a940541358. The issue was introduced by commit 368076f52ebe.
Terms explained
- Transparent huge page (THP): a large memory page that the kernel manages automatically to reduce page-table overhead.
- PMD: the page middle directory, the page-table level that maps a whole huge page with one entry.
- Migration entry: a temporary page-table entry that stands in for a page while it moves to other memory.
- Device-private memory: memory on a device such as a GPU that the kernel manages but the CPU cannot access directly.
- HMM (heterogeneous memory management): the kernel framework that lets device drivers, such as GPU drivers, share a process's address space and move pages to device memory.
- Folio: the kernel's unit for one or more contiguous memory pages.
- Zapping: removing page-table entries for a memory range.
- MADV_DONTNEED: an madvise() option a process uses to tell the kernel it no longer needs a memory range.
- Use after free: memory is used after it has been released.
- CVSS vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H: the attacker needs local access with a low-privileged account (AV:L, PR:L). The attack is not complex (AC:L) and needs no user interaction (UI:N). The impact stays in the kernel (S:U). Confidentiality, integrity and availability impact is high (C:H/I:H/A:H).
What This Means for IT Teams
The changed file is mm/huge_memory.c, and kernels from 6.19 onward fall within the affected range. The CNA's scenario needs a GPU driver that uses HMM device-private memory and a local user who can access the GPU render node. Hosts without such a GPU setup are outside that scenario.
Updated kernels are 7.3.5 or later on the 7.3 branch, and 7.4-rc2 or later. Check the running kernel version against the table. The record gives no workaround.
Local code execution is required. The CVE does not appear in the CISA KEV catalog. Kernel updates on hosts with HMM-capable GPU drivers belong in regular patch management.
NVD cross-check
NVD lists the CVE as "Received" and reproduces the CNA's description, affected versions and 7.8 vector unchanged, credited to the Linux CNA as a secondary source. There is no separate NVD assessment, CWE or CPE yet, so there is nothing to reconcile.
Related coverage
For another recent flaw in the same huge-page code, see Linux kernel huge page truncate race CVE-2026-99669 (CVSS 7.8).


