Read the docs

Missing TLB flush in Linux kernel khugepaged leaves freed folio mapped

Priority LOW 33Published · Updated

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

EPSS 0.00164 3rd percentileScored 2026-11-30
Fix Partial Linux (Linux): 6.1.193, 6.6.163, 6.12.118 +3Red Hat: 1 advisoryRed Hat: 5 fixed, 3 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.18 and later6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2Patch availableCNA
  • Linux VendorLinux Affected 5.18 and later Fixed in 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

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 Critical
    kernel 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Red Hat OpenShift Container Platform 5AffectedNo 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

  1. 2026-11-20 Threatist record created from CVE-2026-99707
  2. 2026-11-20 Alias added: GHSA-gjc7-g4f8-4hmp
  3. 2026-11-20 Affected versions changed · Red Hat
  4. 2026-11-20 CVSS score added · Red Hat
  5. 2026-11-22 CVSS score added · CNA
  6. 2026-11-23 Fix available: Linux/[email protected], Linux/[email protected], Linux/Linux@61e8b187e011489adcb35aca629431c9b6c7f79a +1 · CNA
  7. 2026-11-23 2 new references · CNA
  8. 2026-12-01 Fix available: RHSA-2026:105695 · Red Hat
  9. 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

  • 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
See all 23530 →

Sources