Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99735

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

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-11-25 17:39 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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: ]

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4240f886a8ba35b5fa18cf067358cd31a122dcc8; affected: bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 60454f64ab304a89707291af6f455893e5506187; affected: bd74fdaea146029e4fa12c6de89adbe0779348a9 to < a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e; affected: bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4b428d9d24e303f92819119c66858f5de38bbc78; affected: bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3; affected: bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 65a9bf08a3e4d6e58df211ed900c16bafb79b267See vendor advisory
LinuxLinuxaffected: 6.1; unaffected: 0 to < 6.1; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-11-26 13:33 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed