CVE-2026-99654
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Azure Linux Affected 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 4.0 | — | Affected | — |
| 3.0 | — | Affected | — |
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.118-1 |
| sid | linux |
Fixed | 7.3.5-1 |
| forky | linux |
Fixed | 7.3.5-1 |
| bookworm | linux |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"4.19.305","endExcluding":"4.20"} | 4.20 |
| linux | linux | {"startIncluding":"5.4.267","endExcluding":"5.5"} | 5.5 |
| linux | linux | {"startIncluding":"5.10.208","endExcluding":"5.11"} | 5.11 |
| linux | linux | {"startIncluding":"5.15.147","endExcluding":"5.16"} | 5.16 |
| linux | linux | {"startIncluding":"6.1.72","endExcluding":"6.2"} | 6.2 |
| linux | linux | {"startIncluding":"6.6.11","endExcluding":"6.7"} | 6.7 |
| linux | linux | 6.7 | |
| linux | linux | {"startIncluding":"5.10.208","endExcluding":"5.10.275"} | 5.10.275 |
| linux | linux | {"startIncluding":"5.15.147","endExcluding":"5.15.226"} | 5.15.226 |
| linux | linux | {"startIncluding":"6.1.72","endExcluding":"6.1.193"} | 6.1.193 |
| linux | linux | {"startIncluding":"6.6.11","endExcluding":"6.6.163"} | 6.6.163 |
References
- https://git.kernel.org/stable/c/0cf8d3fdd869fe079e55f8e621e45397a819d93c
- https://git.kernel.org/stable/c/67e6d5468a7d693a00176713d44267e5360d63c3
- https://git.kernel.org/stable/c/7a81bc23dade8082187be6d9cc36e4be4b7207e2
- https://git.kernel.org/stable/c/cbf6c66a2ef46433092b41b87176755de32bf65b
- https://security-tracker.debian.org/tracker/CVE-2026-99654
- https://git.kernel.org/stable/c/119bb87a630d25d61ed77738c73a4ba743f8e410
- https://git.kernel.org/stable/c/273121718c4c79ac0dd044d5f7998f21854b7cd6
- https://git.kernel.org/stable/c/aeaa0d4e301c5d2d97ba40603f899abe4e118572
- https://git.kernel.org/stable/c/aff28bb139a69437922311e4078f77dc92d54831
- https://www.suse.com/security/cve/CVE-2026-99654.html
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-99654
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.