Missing TLB flush in Linux kernel khugepaged leaves freed folio mapped
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 5.18 is affected. The khugepaged collapse_file path releases a folio lock and reference before flushing deferred TLB unmaps, so a freed folio can remain reachable through a user translation. A local user with low privileges can trigger this with MADV_COLLAPSE on a memfd.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: flush deferred unmaps before dropping a failed folio collapse_file() can fail its reference-count or dirty-folio check after unmapping with TTU_BATCH_FLUSH. Both paths put back the isolated folio, then unlock it and drop the lookup reference before reaching the common try_to_unmap_flush(). The page-cache reference does not keep the folio stable once the lock is released. Another collapse can replace and free it. With its PTEs already gone, that collapse cannot flush the first task's per-task TLB batch, and retract_page_tables() skips short or unaligned VMAs. A CPU can therefore retain a user translation to the freed folio. This has been reproduced with unprivileged MADV_COLLAPSE on a memfd. Flush at out_unlock while the lookup reference and folio lock are still held. The common flush continues to cover the accumulated pagelist on both success and rollback, preserving batching on successful collapses.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Linux kernel fixed versions are 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2. Red Hat fixes Red Hat Enterprise Linux 10 AppStream, BaseOS, CodeReady Linux Builder, Real Time and Real Time for NFV in RHSA-2026:105695. Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5 are affected, and Red Hat lists no available plan for them.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Red Hat 1 advisory
- RHSA-2026:105695 Released 2026-12-01 · Red Hat rating Criticalkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-264.22.1.el10_3, kernel-64k-debug-devel-matched-6.12.0-264.22.1.el10_3, kernel-64k-devel-6.12.0-264.22.1.el10_3 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-264.22.1.el10_3, kernel-64k-6.12.0-264.22.1.el10_3, kernel-64k-core-6.12.0-264.22.1.el10_3 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-264.22.1.el10_3, libperf-6.12.0-264.22.1.el10_3
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-264.22.1.el10_3, kernel-rt-64k-6.12.0-264.22.1.el10_3, kernel-rt-64k-core-6.12.0-264.22.1.el10_3 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-264.22.1.el10_3, kernel-rt-core-6.12.0-264.22.1.el10_3, kernel-rt-debug-6.12.0-264.22.1.el10_3 +9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:105695 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99707
- 2026-11-20 Alias added: GHSA-gjc7-g4f8-4hmp
- 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/[email protected], Linux/[email protected], Linux/Linux@61e8b187e011489adcb35aca629431c9b6c7f79a +1 · CNA
- 2026-11-23 2 new references · CNA
- 2026-12-01 Fix available: RHSA-2026:105695 · Red Hat
- 2026-12-01 Fix available: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) +2 · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/61e8b187e011489adcb35aca629431c9b6c7f79a
- https://git.kernel.org/stable/c/d21e723479d96deeb0f28bca75050e0ce13c5b7b
- https://git.kernel.org/stable/c/d9d621ad49a969587d32c98aee1d83e679b9d361
- https://git.kernel.org/stable/c/cf1902ab0203f8767a3582143049d1bea5422096
- https://git.kernel.org/stable/c/8c4adb787f77318df3b478f928f271e26d557208
- https://git.kernel.org/stable/c/854e5ff8b3ce2a776586cabebaeae645c992345b
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-99707 · CVE Program
- CVE-2026-99707 · NVD
- FIRST EPSS
- GHSA-gjc7-g4f8-4hmp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99707 · 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