{"api_version":"1","generated_at":"2026-11-20T07:29:58+00:00","cve":"CVE-2026-99735","urls":{"html":"https://cve.report/CVE-2026-99735","api":"https://cve.report/api/cve/CVE-2026-99735.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99735","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99735"},"summary":{"title":"mm/mglru: don't use stack pointers when walking PUD and PMD tables","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mglru: don't use stack pointers when walking PUD and PMD tables\n\nMGLRU passes stack copies of page-table entries in walk_pud_range() and\nwalk_pmd_range() when walking to the next level. These copies can become\nstale when khugepaged or MADV_DONTNEED (CONFIG_PT_RECLAIM) removes a PTE\ntable concurrently.\n\nThis pattern dates back to commit bd74fdaea146 (\"mm: multi-gen LRU:\nsupport page table walks\"). Likely, earlier locking masked the latent\nbug. Later changes exposed it: commit 1d65b771bc08 (\"mm/khugepaged:\nretract_page_tables() without mmap or vma lock\") allowed concurrent\nretraction, and commit cf4a65539c13 (\"memcg-v1: no need for memcg locking\nfor MGLRU\") dropped the walker's outer RCU protection.\n\nThe fix is simple, so just fix the original commit so we don't have to\nspeculate. To fix it, pass the actual PMD/PUD pointers. This restores the\nRCU-protected lookup and validation against the live PMD. Note that the PUD\nhandling is required as well to handle folded page tables correctly in all\ncases.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: handle walk_pud_range() as well, clarify+simplify description,\n         adjust Fixes: ]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:10","updated_at":"2026-11-20 06:18:10"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e","name":"https://git.kernel.org/stable/c/a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/65a9bf08a3e4d6e58df211ed900c16bafb79b267","name":"https://git.kernel.org/stable/c/65a9bf08a3e4d6e58df211ed900c16bafb79b267","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3","name":"https://git.kernel.org/stable/c/4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4b428d9d24e303f92819119c66858f5de38bbc78","name":"https://git.kernel.org/stable/c/4b428d9d24e303f92819119c66858f5de38bbc78","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99735","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99735","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bd74fdaea146029e4fa12c6de89adbe0779348a9 a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bd74fdaea146029e4fa12c6de89adbe0779348a9 4b428d9d24e303f92819119c66858f5de38bbc78 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bd74fdaea146029e4fa12c6de89adbe0779348a9 4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bd74fdaea146029e4fa12c6de89adbe0779348a9 65a9bf08a3e4d6e58df211ed900c16bafb79b267 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/vmscan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e","status":"affected","version":"bd74fdaea146029e4fa12c6de89adbe0779348a9","versionType":"git"},{"lessThan":"4b428d9d24e303f92819119c66858f5de38bbc78","status":"affected","version":"bd74fdaea146029e4fa12c6de89adbe0779348a9","versionType":"git"},{"lessThan":"4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3","status":"affected","version":"bd74fdaea146029e4fa12c6de89adbe0779348a9","versionType":"git"},{"lessThan":"65a9bf08a3e4d6e58df211ed900c16bafb79b267","status":"affected","version":"bd74fdaea146029e4fa12c6de89adbe0779348a9","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/vmscan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.1"},{"lessThan":"6.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mglru: don't use stack pointers when walking PUD and PMD tables\n\nMGLRU passes stack copies of page-table entries in walk_pud_range() and\nwalk_pmd_range() when walking to the next level. These copies can become\nstale when khugepaged or MADV_DONTNEED (CONFIG_PT_RECLAIM) removes a PTE\ntable concurrently.\n\nThis pattern dates back to commit bd74fdaea146 (\"mm: multi-gen LRU:\nsupport page table walks\"). Likely, earlier locking masked the latent\nbug. Later changes exposed it: commit 1d65b771bc08 (\"mm/khugepaged:\nretract_page_tables() without mmap or vma lock\") allowed concurrent\nretraction, and commit cf4a65539c13 (\"memcg-v1: no need for memcg locking\nfor MGLRU\") dropped the walker's outer RCU protection.\n\nThe fix is simple, so just fix the original commit so we don't have to\nspeculate. To fix it, pass the actual PMD/PUD pointers. This restores the\nRCU-protected lookup and validation against the live PMD. Note that the PUD\nhandling is required as well to handle folded page tables correctly in all\ncases.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: handle walk_pud_range() as well, clarify+simplify description,\n         adjust Fixes: ]"}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:09.038Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a352391f8f9c035d3b2a8a9fe6e3fd2e1c4ec44e"},{"url":"https://git.kernel.org/stable/c/4b428d9d24e303f92819119c66858f5de38bbc78"},{"url":"https://git.kernel.org/stable/c/4e5eb180d37cb222ed3c9b6772c6044e16c2a1c3"},{"url":"https://git.kernel.org/stable/c/65a9bf08a3e4d6e58df211ed900c16bafb79b267"}],"title":"mm/mglru: don't use stack pointers when walking PUD and PMD tables","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99735","datePublished":"2026-11-20T05:51:09.038Z","dateReserved":"2026-09-25T10:25:14.431Z","dateUpdated":"2026-11-20T05:51:09.038Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:10","lastModifiedDate":"2026-11-20 06:18:10","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99735","Ordinal":"1","Title":"mm/mglru: don't use stack pointers when walking PUD and PMD tabl","CVE":"CVE-2026-99735","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99735","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mglru: don't use stack pointers when walking PUD and PMD tables\n\nMGLRU passes stack copies of page-table entries in walk_pud_range() and\nwalk_pmd_range() when walking to the next level. These copies can become\nstale when khugepaged or MADV_DONTNEED (CONFIG_PT_RECLAIM) removes a PTE\ntable concurrently.\n\nThis pattern dates back to commit bd74fdaea146 (\"mm: multi-gen LRU:\nsupport page table walks\"). Likely, earlier locking masked the latent\nbug. Later changes exposed it: commit 1d65b771bc08 (\"mm/khugepaged:\nretract_page_tables() without mmap or vma lock\") allowed concurrent\nretraction, and commit cf4a65539c13 (\"memcg-v1: no need for memcg locking\nfor MGLRU\") dropped the walker's outer RCU protection.\n\nThe fix is simple, so just fix the original commit so we don't have to\nspeculate. To fix it, pass the actual PMD/PUD pointers. This restores the\nRCU-protected lookup and validation against the live PMD. Note that the PUD\nhandling is required as well to handle folded page tables correctly in all\ncases.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: handle walk_pud_range() as well, clarify+simplify description,\n         adjust Fixes: ]","Type":"Description","Title":"mm/mglru: don't use stack pointers when walking PUD and PMD tabl"}]}}}