Read the docs

Use-after-free in Linux kernel lazyfree THP discard

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, 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

The Linux kernel from 6.11 is affected. Lazyfree transparent huge pages are discarded at PMD level while their PMD is temporarily cleared, so a concurrent munmap or mremap can skip the lock and leave a stale mapping reachable, causing a use-after-free. A local user with low privileges can trigger this, with high impact to confidentiality, integrity and availability.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

In the Linux kernel, the following vulnerability has been resolved: mm/rmap: don't discard lazyfree THPs at PMD level __discard_anon_folio_pmd_locked() clears a lazyfree THP's PMD before it determines whether the folio can be discarded, and restores it if the folio is dirty or has extra references. It is done under only the PMD lock and the anon_vma read lock inside try_to_unmap_one() and no mmap lock is held. The temporarily none PMD causes UAF. A parallel munmap() or mremap() is supposed to serialize with it on the PMD lock, but zap_pmd_range() (called by munmap()) and move_page_tables() (called by mremap()) do not take the lock when they see the temporarily none PMD and skip the PMD. There is no more page table walk after the none PMD is restored: - munmap(): free_pgtables() waits in unlink_anon_vmas() for the anon_vma lock, then free_pmd_range() drops the restored PMD as bad without removing the rmap, so the folio keeps a stale mapcount. - whole-VMA MREMAP_DONTUNMAP: dontunmap_complete() unlinks the source VMA from its anon_vma while the restored PMD still maps the folio. - plain mremap(): the THP is not moved but unmapped, so the THP's data is lost. In the first two cases, the folio stays mapped, but no VMA that maps it is linked to its anon_vma. When the anon_vma is freed, it is still reachable when one rmap walks the folio. Racing lazyfree reclaim against MREMAP_DONTUNMAP as an unprivileged user reproduces a KASAN use-after-free in folio_lock_anon_vma_read() as reported in the Closes link. One solution is to use an invalidated PMD instead of a cleared one until the discard is committed, but it needs arch fixes first. 1. GUP-fast still follows an invalidated PMD on riscv, LoongArch and s390. 2. sparc64 miscounts thp_pte_count when an invalidated PMD is set again or cleared. To keep the fix simple for backport, stop discarding lazyfree THPs at PMD level instead. try_to_unmap_one() splits the PMD and discards the folio at PTE level. unmap_huge_pmd_locked() and __discard_anon_folio_pmd_locked() are left in place, unused, to minimize this fix for backport and the invalidated PMD approach is planned as a follow-up series to use them again.

Why it matters now

EPSS 0.00159 2nd percentileScored 2026-11-30
Fix Partial Linux (Linux): 6.12.117, 6.18.61, 7.3.2 +1Red Hat: 1 advisoryRed Hat: 5 fixed, 2 without a fix

SSVC decision points

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

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.11 and later6.12.117, 6.18.61, 7.3.2, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 6.11 and later Fixed in 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 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

Install a fixed Linux kernel version: 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1. Red Hat fixes Red Hat Enterprise Linux 10 AppStream, BaseOS, CodeReady Linux Builder, Real Time and Real Time for NFV in RHSA-2026:102253. The sources list no fixed version for Red Hat Enterprise Linux 6. The sources list no fixed version for Red Hat OpenShift Container Platform 5.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA Linux (Linux) Fixed in 6.12.117, 6.18.61, 7.3.2, 7.4-rc1

Red Hat 1 advisory

  • RHSA-2026:102253 Released 2026-11-23 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-264.20.1.el10_3, kernel-64k-debug-devel-matched-6.12.0-264.20.1.el10_3, kernel-64k-devel-6.12.0-264.20.1.el10_3 +12
    • Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-264.20.1.el10_3, kernel-64k-6.12.0-264.20.1.el10_3, kernel-64k-core-6.12.0-264.20.1.el10_3 +29
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-264.20.1.el10_3, libperf-6.12.0-264.20.1.el10_3
    • Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-264.20.1.el10_3, kernel-rt-64k-6.12.0-264.20.1.el10_3, kernel-rt-64k-core-6.12.0-264.20.1.el10_3 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-264.20.1.el10_3, kernel-rt-core-6.12.0-264.20.1.el10_3, kernel-rt-debug-6.12.0-264.20.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 6AffectedNo fix yet
Red Hat OpenShift Container Platform 5AffectedNo fix yet
Red Hat Enterprise Linux AppStream (v. 10)Fixed RHSA-2026:102253
Red Hat Enterprise Linux BaseOS (v. 10)Fixed RHSA-2026:102253
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)Fixed RHSA-2026:102253
Red Hat Enterprise Linux Real Time (v. 10)Fixed RHSA-2026:102253
Red Hat Enterprise Linux Real Time for NFV (v. 10)Fixed RHSA-2026:102253
Not affected: 5 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 5

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-99463
  2. 2026-11-19 Alias added: GHSA-rvfh-j369-c8qj
  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: RHSA-2026:102253 · Red Hat
  7. 2026-11-23 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