← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel MGLRU Page-Table Walks Pass Stack Copies of PUD and PMD Entries Instead of Real Pointers

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99735

Key Details

CVECVE-2026-99735
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

In the Linux kernel, the following vulnerability has been resolved:

mm/mglru: don't use stack pointers when walking PUD and PMD tables

MGLRU passes stack copies of page-table entries in walk_pud_range() and

walk_pmd_range() when walking to the next level. These copies can become

stale when khugepaged or MADV_DONTNEED (CONFIG_PT_RECLAIM) removes a PTE

table concurrently.

This pattern dates back to commit bd74fdaea146 ("mm: multi-gen LRU:

support page table walks"). Likely, earlier locking masked the latent

bug. Later changes exposed it: commit 1d65b771bc08 ("mm/khugepaged:

retract_page_tables() without mmap or vma lock") allowed concurrent

retraction, and commit cf4a65539c13 ("memcg-v1: no need for memcg locking

for MGLRU") dropped the walker's outer RCU protection.

The fix is simple, so just fix the original commit so we don't have to

speculate. To fix it, pass the actual PMD/PUD pointers. This restores the

RCU-protected lookup and validation against the live PMD. Note that the PUD

handling is required as well to handle folded page tables correctly in all

cases.

Fix generated by an LLM and sent by Josef Bacik in private.

[ david: handle walk_pud_range() as well, clarify+simplify description,

adjust Fixes: ] (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99735
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99735
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.