CVE-2026-99654
Severity unknownNo known exploitationFix availablemm: fix unmap_mapping_range() beyond 4 GiB on 32-bit
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 6% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit Commit 9eab0421fa94 ("mm: fix unmap_mapping_range high bits shift bug") made holebegin and holelen unsigned before they are shifted, by casting them to pgoff_t. That is an unsigned long: on a 32-bit kernel the cast cuts off the upper half of the two loff_t values, so a hole which begins at 4 GiB or beyond is taken for one in the first 4 GiB of the file. truncate_pagecache() passes the new size of the file and asks for private COWed pages to be unmapped as well. If a file of 6 GiB is truncated to 5 GiB, everything from 1 GiB on is unmapped, and what a process has written to a private mapping of the range between 1 GiB and 5 GiB is lost: it reads the contents of the file again. Where the range has an end, the wrong range is unmapped instead of the right one. The page cache copes with that, as it unmaps every folio that it removes. The callers which only have unmap_mapping_range() to get rid of user mappings do not, for example drm_vma_node_unmap(), whose fake offsets reach beyond 4 GiB on 32-bit, and revoke_iomem() with physical addresses of more than 32 bits. Cast to u64 instead. Nothing changes for 64-bit kernels. Fix generated by an LLM and sent by Josef Bacik in private.
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 4.19.305 before 4.20 | 4.20 | CVE Program |
| Linux | Linux | from 5.10.208 before 5.11 | 5.11 | CVE Program |
| Linux | Linux | from 5.15.147 before 5.16 | 5.16 | CVE Program |
| Linux | Linux | from 5.4.267 before 5.5 | 5.5 | CVE Program |
| Linux | Linux | from 6.1.72 before 6.2 | 6.2 | CVE Program |
| Linux | Linux | from 6.6.11 before 6.7 | 6.7 | CVE Program |
| Linux | Linux | from 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d before cbf6c66a2ef46433092b41b87176755de32bf65b | cbf6c66a2ef46433092b41b87176755de32bf65b | CVE Program |
| Linux | Linux | from 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d before 0cf8d3fdd869fe079e55f8e621e45397a819d93c | 0cf8d3fdd869fe079e55f8e621e45397a819d93c | CVE Program |
| Linux | Linux | from 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d before 67e6d5468a7d693a00176713d44267e5360d63c3 | 67e6d5468a7d693a00176713d44267e5360d63c3 | CVE Program |
| Linux | Linux | from 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d before 7a81bc23dade8082187be6d9cc36e4be4b7207e2 | 7a81bc23dade8082187be6d9cc36e4be4b7207e2 | CVE Program |
| Linux | Linux | 2247df454c7bb4b13939794fe6fae8510868d241 | Not documented | CVE Program |
| Linux | Linux | 2db1c46c3913b8bc92fed235a344de2671fe9d8d | Not documented | CVE Program |
| Linux | Linux | 6.7 | Not documented | CVE Program |
| Linux | Linux | 73704c6b35c7682fd22f97992a68b0e8451c7a52 | Not documented | CVE Program |
| Linux | Linux | 77359c4973056ba33a5627d5c04aea494eb76bc9 | Not documented | CVE Program |
| Linux | Linux | 91432aebce514cab49f63324c98b4eccb80532c5 | Not documented | CVE Program |
| Linux | Linux | dafdeb7b91f1597983693a418c496b6702ea34b5 | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.118 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.64 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.5 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc2 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 6.7 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/0cf8d3fdd869fe079e55f8e621e45397a819d93c (opens in a new tab)
- https://git.kernel.org/stable/c/67e6d5468a7d693a00176713d44267e5360d63c3 (opens in a new tab)
- https://git.kernel.org/stable/c/7a81bc23dade8082187be6d9cc36e4be4b7207e2 (opens in a new tab)
- https://git.kernel.org/stable/c/cbf6c66a2ef46433092b41b87176755de32bf65b (opens in a new tab)