Linux kernel unmap_mapping_range() mishandles holes beyond 4 GiB
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
Linux kernel versions from 4.19.305 before 4.20, from 5.4.267 before 5.5, from 5.10.208 before 5.10.275, from 5.15.147 before 5.15.226, from 6.1.72 before 6.1.193, from 6.6.11 before 6.6.163 and from 6.7 are affected. On 32-bit kernels, a cast truncates 64-bit file offsets, so holes at or beyond 4 GiB are unmapped in the wrong range and private modified pages can be lost. A local user with low privileges can trigger this.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.208 to before 5.10.275; 5.15.147 to before 5.15.226; 6.1.72 to before 6.1.193; 6.6.11 to before 6.6.163; 4.19.305 to before 4.20; 5.4.267 to before 5.5 | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 4.20, 5.5 | Patch available | CNA |
| Linux | Linux | 6.7 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.208 to before 5.10.275; 5.15.147 to before 5.15.226; 6.1.72 to before 6.1.193; 6.6.11 to before 6.6.163; 4.19.305 to before 4.20; 5.4.267 to before 5.5 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 4.20, 5.5 Patch available CNA
- Linux VendorLinux Affected 6.7 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA
Remediation
Upgrade the Linux kernel to 4.20, 5.5, 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 or 7.4-rc2, depending on the branch in use. Red Hat lists no fix available for Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5, and no fix planned for Red Hat Enterprise Linux 6.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 4.20, 5.5
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 4 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99654
- 2026-11-20 Alias added: GHSA-whx2-ppf3-pxvh
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 Fix available: Linux/Linux@119bb87a630d25d61ed77738c73a4ba743f8e410, Linux/Linux@273121718c4c79ac0dd044d5f7998f21854b7cd6, Linux/[email protected] +5 · CNA
- 2026-11-23 4 new references · CNA
References
Other 8
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99654 · CVE Program
- CVE-2026-99654 · NVD
- FIRST EPSS
- GHSA-whx2-ppf3-pxvh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99654 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences