mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit
CVE-2026-99654Published 20 Nov 2026, 05:50 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | >= 5.10.208, < 5.10.275; >= 5.15.147, < 5.15.226; >= 6.1.72, < 6.1.193; >= 6.6.11, < 6.6.163; >= 4.19.305, < 4.20; >= 5.4.267, < 5.5; = 6.7 | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 4.20, 5.5, 7.4-rc2 |
What to do
Update to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 4.20, 5.5, 7.4-rc2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 6), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/aeaa0d4e301c5d2d97ba40603f899abe4e118572
- https://git.kernel.org/stable/c/273121718c4c79ac0dd044d5f7998f21854b7cd6
- https://git.kernel.org/stable/c/aff28bb139a69437922311e4078f77dc92d54831
- https://git.kernel.org/stable/c/119bb87a630d25d61ed77738c73a4ba743f8e410
- https://git.kernel.org/stable/c/cbf6c66a2ef46433092b41b87176755de32bf65b
- https://git.kernel.org/stable/c/0cf8d3fdd869fe079e55f8e621e45397a819d93c
- https://git.kernel.org/stable/c/67e6d5468a7d693a00176713d44267e5360d63c3
- https://git.kernel.org/stable/c/7a81bc23dade8082187be6d9cc36e4be4b7207e2
- CVE-2026-99654 on CVE.org