Bug 2577623 (CVE-2026-99706) - CVE-2026-99706 kernel: kernel: Denial of service via address wraparound in large folio mapping
Summary: CVE-2026-99706 kernel: kernel: Denial of service via address wraparound in la...
Keywords:
Status: NEW
Alias: CVE-2026-99706
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-20 06:04 UTC by OSIDB Bzimport
Modified: 2026-11-20 09:45 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-20 06:04:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.