CVE-2026-99706
publishedmm: fix address wraparound when scanning large folio PTEs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd2136d749d76af980b3accd72704eea4eab625bd to < 95dbf4caf986df3cdb5eea3856a8848547c59578 · d2136d749d76af980b3accd72704eea4eab625bd to < bb712b6f2195953669542f74cbd0ef061314f392 · d2136d749d76af980b3accd72704eea4eab625bd to < f6c17bda9b304795a2c284fb6c8a8eaac6248b80 · d2136d749d76af980b3accd72704eea4eab625bd to < f681d4580d5c3c749f623cda722a21aefd3147b3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d2136d749d76af980b3accd72704eea4eab625bd to < 95dbf4caf986df3cdb5eea3856a8848547c59578 (affected · git)d2136d749d76af980b3accd72704eea4eab625bd to < bb712b6f2195953669542f74cbd0ef061314f392 (affected · git)d2136d749d76af980b3accd72704eea4eab625bd to < f6c17bda9b304795a2c284fb6c8a8eaac6248b80 (affected · git)d2136d749d76af980b3accd72704eea4eab625bd to < f681d4580d5c3c749f623cda722a21aefd3147b3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
mm: fix address wraparound when scanning large folio PTEs
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9c0df5ba1f390615638a66f9d1a017218d1df8c3199c1cce773eb6b209a75796
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record