Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99735

published high CVSS 3.1 · 7.8

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

Published
20 Nov 2026, 05:51:09 UTC
Updated
23 Nov 2026, 08:06:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4240f886a8ba35b5fa18cf067358cd31a122dcc8 · bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 60454f64ab304a89707291af6f455893e5506187 · bd74fdaea146029e4fa12c6de89adbe0779348a9 to < a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e · bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4b428d9d24e303f92819119c66858f5de38bbc78 · bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3 · bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 65a9bf08a3e4d6e58df211ed900c16bafb79b267 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-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: ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Reclaim snapshots the PMD in walk_pmd_range() via shrink_node() → lru_gen_shrink_node()/lru_gen_shrink_lruvec() → try_to_inc_max_seq() → walk_mm(). The PTE page is removed locally by do_madvise(MADV_DONTNEED) in zap_empty_pte_table()'s pmd_clear(), or by retract_page_tables()'s pmdp_collapse_flush(); no network message carries the entry. AC:L - The attacker runs the mm (lru_gen_use_mm() sets lru_gen.bitmap so get_next_mm() selects it) and, from another thread, MADV_DONTNEED under the vma read lock, which does not block walk_mm()'s mmap_read_trylock(). That thread pmd_clears the table and call_rcu-frees it before walk_pte_range() uses the stack copy in val. Both sides are the attacker's. PR:L - do_madvise(MADV_DONTNEED) and direct reclaim through try_to_free_pages() → shrink_node() check no capability. An unprivileged task that can mmap, fault, madvise, and allocate reaches walk_pmd_range() on its own mm. UI:N - The attacker faults its own mapping, calls madvise(MADV_DONTNEED), and allocates until direct reclaim runs walk_mm(). No other user has to mount, open, or approve the operation. S:U - The use-after-free hits the PTE page and its struct page in the kernel that is executing walk_mm(), the same security authority as the local user. C:H - walk_pte_range() passes &val to pte_offset_map_rw_nolock(), so __pte_offset_map() reads the stack copy under rcu_read_lock and pmd_same() compares that copy with itself. ptep_get() then reads the page after pagetable_dtor_free(); PTEs planted in the reused page make get_pfn_folio() follow attacker-chosen PFNs. I:H - Because that pmd_same() check matches the stack copy against itself, spin_trylock(pte_lockptr()) writes ptdesc->ptl, which overlays struct page's private/slab_cache field after reuse, and test_and_clear_young_ptes() atomically clears the young bit there. A PFN taken from that memory also reaches folio_update_gen()'s cmpxchg of folio->flags. A:H - zap_empty_pte_table() or retract_page_tables() frees the PTE page through tlb_remove_table_rcu() or pte_free_defer() while walk_pte_range() still locks and writes it. That use-after-free oopses the kernel or corrupts allocator metadata and takes the system down.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4240f886a8ba35b5fa18cf067358cd31a122dcc8 (affected · git)bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 60454f64ab304a89707291af6f455893e5506187 (affected · git)bd74fdaea146029e4fa12c6de89adbe0779348a9 to < a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e (affected · git)bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4b428d9d24e303f92819119c66858f5de38bbc78 (affected · git)bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3 (affected · git)bd74fdaea146029e4fa12c6de89adbe0779348a9 to < 65a9bf08a3e4d6e58df211ed900c16bafb79b267 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
900e8bfb98bf2fc24b988192fd09bfab8138751989f4ce125509412d646e3ffb
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected