{"id":"CVE-2026-99706","aliases":["CVE-2026-99706"],"related":[],"kind":"vulnerability","state":"published","title":"mm: fix address wraparound when scanning large folio PTEs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: fix address wraparound when scanning large folio PTEs\n\nnuma_rebuild_large_mapping() and do_swap_page() can be tricked into\ngenerating an address wraparound, crashing the kernel. All that's required\nis to map a tail page of a large folio close enough to the start/end of\nthe address space to e.g., make\n\n\tunsigned long addr_start = addr - (nr << PAGE_SHIFT);\n\nto wrap around.\n\nLet's fix it by providing a better helper, folio_scan_range(), that\ntakes care of staying within VMA and page table boundaries while\nhandling possible wraparounds.\n\nThere are some nasty details, like not being able to use pmd_addr_end()\nin this context. Add some helpful comments for these cases.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: fix address wraparound when scanning large folio PTEs\n\nnuma_rebuild_large_mapping() and do_swap_page() can be tricked into\ngenerating an address wraparound, crashing the kernel. All that's required\nis to map a tail page of a large folio close enough to the start/end of\nthe address space to e.g., make\n\n\tunsigned long addr_start = addr - (nr << PAGE_SHIFT);\n\nto wrap around.\n\nLet's fix it by providing a better helper, folio_scan_range(), that\ntakes care of staying within VMA and page table boundaries while\nhandling possible wraparounds.\n\nThere are some nasty details, like not being able to use pmd_addr_end()\nin this context. Add some helpful comments for these cases.","source":"cvelist"}],"published":"2026-11-20T05:50:47.021Z","modified":"2026-11-23T08:18:11.370Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d2136d749d76af980b3accd72704eea4eab625bd","fixed":"95dbf4caf986df3cdb5eea3856a8848547c59578","status":"affected"},{"type":"git","introduced":"d2136d749d76af980b3accd72704eea4eab625bd","fixed":"bb712b6f2195953669542f74cbd0ef061314f392","status":"affected"},{"type":"git","introduced":"d2136d749d76af980b3accd72704eea4eab625bd","fixed":"f6c17bda9b304795a2c284fb6c8a8eaac6248b80","status":"affected"},{"type":"git","introduced":"d2136d749d76af980b3accd72704eea4eab625bd","fixed":"f681d4580d5c3c749f623cda722a21aefd3147b3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/95dbf4caf986df3cdb5eea3856a8848547c59578","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb712b6f2195953669542f74cbd0ef061314f392","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6c17bda9b304795a2c284fb6c8a8eaac6248b80","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f681d4580d5c3c749f623cda722a21aefd3147b3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99706","url":"https://www.cve.org/CVERecord?id=CVE-2026-99706","licence":"CVE Terms of Use","modified":"2026-11-23T08:06:17.923Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99706","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99706","licence":"Public domain","modified":"2026-11-23T08:18:11.370Z"}],"updatedAt":"2026-11-25T22:59:52.316Z","epss":{"score":0.00168,"percentile":0.06447,"date":"2026-12-01T12:00:22.000Z"}}