# CVE-2026-99735: mm/mglru: don't use stack pointers when walking PUD and PMD tables

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-28)
- **Published:** 2026-11-20T05:51:09.038Z
- **Modified:** 2026-11-23T08:18:13.887Z

## Who should check

- Anyone running Linux \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4240f886a8ba35b5fa18cf067358cd31a122dcc8; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 60454f64ab304a89707291af6f455893e5506187; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4b428d9d24e303f92819119c66858f5de38bbc78; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 65a9bf08a3e4d6e58df211ed900c16bafb79b267
- Anyone running Linux 6.1

## Description

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

## Affected and fixed versions

- Linux: \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4240f886a8ba35b5fa18cf067358cd31a122dcc8; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 60454f64ab304a89707291af6f455893e5506187; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4b428d9d24e303f92819119c66858f5de38bbc78; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 65a9bf08a3e4d6e58df211ed900c16bafb79b267 (cvelist)
- Linux: 6.1 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 65a9bf08a3e4d6e58df211ed900c16bafb79b267 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99735. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99735.md
Affected: Linux >= bd74fdaea146029e4fa12c6de89adbe0779348a9, < 4240f886a8ba35b5fa18cf067358cd31a122dcc8; >= bd74fdaea146029e4fa12c6de89adbe0779348a9, < 60454f64ab304a89707291af6f455893e5506187; >= bd74fdaea146029e4fa12c6de89adbe0779348a9, < a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e; >= bd74fdaea146029e4fa12c6…
Fixed in: Linux 4240f886a8ba35b5fa18cf067358cd31a122dcc8, Linux 60454f64ab304a89707291af6f455893e5506187, Linux 4b428d9d24e303f92819119c66858f5de38bbc78, Linux 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3, Linux 65a9bf08a3e4d6e58df211ed900c16bafb79b267

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99735 being exploited?

There is no confirmed exploitation: CVE-2026-99735 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99735?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99735?

Linux \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4240f886a8ba35b5fa18cf067358cd31a122dcc8; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 60454f64ab304a89707291af6f455893e5506187; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4b428d9d24e303f92819119c66858f5de38bbc78; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3; \>= bd74fdaea146029e4fa12c6de89adbe0779348a9, \< 65a9bf08a3e4d6e58df211ed900c16bafb79b267; Linux 6.1.

### Is there a fix for CVE-2026-99735?

Yes. Fixed in Linux 4240f886a8ba35b5fa18cf067358cd31a122dcc8, Linux 60454f64ab304a89707291af6f455893e5506187, Linux 4b428d9d24e303f92819119c66858f5de38bbc78, Linux 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3, Linux 65a9bf08a3e4d6e58df211ed900c16bafb79b267. Upgrade Linux to 65a9bf08a3e4d6e58df211ed900c16bafb79b267 or later.

### How do I check if I'm affected by CVE-2026-99735?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4240f886a8ba35b5fa18cf067358cd31a122dcc8>
- other: <https://git.kernel.org/stable/c/60454f64ab304a89707291af6f455893e5506187>
- other: <https://git.kernel.org/stable/c/a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e>
- other: <https://git.kernel.org/stable/c/4b428d9d24e303f92819119c66858f5de38bbc78>
- other: <https://git.kernel.org/stable/c/4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3>
- other: <https://git.kernel.org/stable/c/65a9bf08a3e4d6e58df211ed900c16bafb79b267>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99735>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99735> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99735>
