{"id":"CVE-2026-99706","aliases":[],"title":"mm: fix address wraparound when scanning large folio PTEs","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00168,"percentile":0.06427},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=6.10.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=d2136d749d76af980b3accd72704eea4eab625bd, <95dbf4caf986df3cdb5eea3856a8848547c59578","fixed":"95dbf4caf986df3cdb5eea3856a8848547c59578"},{"ecosystem":"vendor","name":"Linux","range":">=d2136d749d76af980b3accd72704eea4eab625bd, <bb712b6f2195953669542f74cbd0ef061314f392","fixed":"bb712b6f2195953669542f74cbd0ef061314f392"},{"ecosystem":"vendor","name":"Linux","range":">=d2136d749d76af980b3accd72704eea4eab625bd, <f681d4580d5c3c749f623cda722a21aefd3147b3","fixed":"f681d4580d5c3c749f623cda722a21aefd3147b3"},{"ecosystem":"vendor","name":"Linux","range":">=d2136d749d76af980b3accd72704eea4eab625bd, <f6c17bda9b304795a2c284fb6c8a8eaac6248b80","fixed":"f6c17bda9b304795a2c284fb6c8a8eaac6248b80"}],"references":[{"url":"https://git.kernel.org/stable/c/f6c17bda9b304795a2c284fb6c8a8eaac6248b80","type":"other"},{"url":"https://git.kernel.org/stable/c/f681d4580d5c3c749f623cda722a21aefd3147b3","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99706.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99706","type":"advisory"},{"url":"https://git.kernel.org/stable/c/95dbf4caf986df3cdb5eea3856a8848547c59578","type":"other"},{"url":"https://git.kernel.org/stable/c/bb712b6f2195953669542f74cbd0ef061314f392","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.562Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99706","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.218Z"},{"name":"osv","at":"2026-11-20T21:22:49.830Z","url":"https://osv.dev/vulnerability/CVE-2026-99706","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:07.905Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:58.728Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99706","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:15.390Z"}],"firstSeenAt":"2026-11-20T06:28:15.390Z","publishedAt":"2026-11-20T05:50:47.021Z","modifiedAt":"2026-11-23T08:18:11.370Z"}