VulnWatch by ve1ve2
medium 5.5 EPSS 0.16%

CVE-2026-99706: In the Linux kernel, the following vulnerability has been resolved: mm: fix address wraparound when scanning large folio PTEs numa_rebuild_large_mapping() and…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
linux

https://nvd.nist.gov/vuln/detail/CVE-2026-99706 ↗

In the Linux kernel, the following vulnerability has been resolved: mm: fix address wraparound when scanning large folio PTEs numa_rebuild_large_mapping() and do_swap_page() can be tricked into generating an address wraparound, crashing the kernel. All that's required is to map a tail page of a large folio close enough to the start/end of the address space to e.g., make unsigned long addr_start = addr - (nr << PAGE_SHIFT); to wrap around. Let's fix it by providing a better helper, folio_scan_range(), that takes care of staying within VMA and page table boundaries while handling possible wraparounds. There are some nasty details, like not being able to use pmd_addr_end() in this context. Add some helpful comments for these cases. References: https://git.kernel.org/stable/c/f681d4580d5c3c749f623cda722a21aefd3147b3 https://git.kernel.org/stable/c/f6c17bda9b304795a2c284fb6c8a8eaac6248b80

Linked vulnerabilities (1)

CVE-2026-99706 medium 5.5 EPSS 0.16% (p5) NVDCVE.org
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

kernel: kernel: Denial of service via address wraparound in large folio mapping

CWE: CWE-191NVD: Received

Also reported by (1)