Servers and applications
CVE-2026-99654
mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit
- Severity
- Unrated
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 20 Nov 2026
- Fixed in
- 5.16, 6.2, 6.7, 6.12.118, 6.18.64, 7.3.5
- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
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.
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
All 9 release lines
|
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 255,726GitHub, 15 Nov 2026
- Forks
- 67,394GitHub, 15 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 2,989
- Published in the last 12 months
- 2,989
- Critical, last 12 months
- 83
- High, last 12 months
- 485
- Known exploited
- 0
- CVE-2026-99804io_uring/io-wq: save worker type before dropping its referenceUnrated 20 Nov 2026
- CVE-2026-99803io_uring/net: mask socket type with SOCK_TYPE_MASK in io_socket_bpf_populate()Unrated 20 Nov 2026
- CVE-2026-99802io_uring/register: enforce per-task restrictions in io_uring_register_blind()Unrated 20 Nov 2026
- CVE-2026-99801io_uring/bpf-ops: clear bpf_ctx while submitting SQEsUnrated 20 Nov 2026
- CVE-2026-99800io_uring: free the task context after a grace periodUnrated 20 Nov 2026
- CVE-2026-99799io_uring/sqpoll: don't wait for the thread to exitUnrated 20 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-99654