CVE-2026-99654
published high CVSS 3.1 · 7.8mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux73704c6b35c7682fd22f97992a68b0e8451c7a52 to < aeaa0d4e301c5d2d97ba40603f899abe4e118572 · 91432aebce514cab49f63324c98b4eccb80532c5 to < 273121718c4c79ac0dd044d5f7998f21854b7cd6 · dafdeb7b91f1597983693a418c496b6702ea34b5 to < aff28bb139a69437922311e4078f77dc92d54831 · 2247df454c7bb4b13939794fe6fae8510868d241 to < 119bb87a630d25d61ed77738c73a4ba743f8e410 · 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < cbf6c66a2ef46433092b41b87176755de32bf65b · 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < 0cf8d3fdd869fe079e55f8e621e45397a819d93c · 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < 67e6d5468a7d693a00176713d44267e5360d63c3 · 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < 7a81bc23dade8082187be6d9cc36e4be4b7207e2 · 2db1c46c3913b8bc92fed235a344de2671fe9d8d · 77359c4973056ba33a5627d5c04aea494eb76bc9 · 5.10.208 to < 5.10.275 · 5.15.147 to < 5.15.226 · 6.1.72 to < 6.1.193 · 6.6.11 to < 6.6.163 · 4.19.305 to < 4.20 · 5.4.267 to < 5.5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - unmap_mapping_range() gets its hole from local callers: ftruncate64() via ksys_ftruncate(), do_truncate(), and truncate_pagecache(), and from drm_gem_mmap() mappings torn down by drm_vma_node_unmap(). That byte offset is not a field of any remote protocol message. AC:L - On 32-bit, DRM_FILE_PAGE_OFFSET_START/SIZE runs the fake mmap space out to about 4.25GiB. The attacker allocates GEM objects until drm_vma_offset_add() returns a node at a byte offset >= 4GiB, faults it, and marks it purgeable so drm_gem_shmem_purge_locked() hits the truncating cast. PR:L - The attacker opens a DRM render node and uses drm_gem_mmap() plus a DRM_RENDER_ALLOW ioctl such as panfrost MADVISE on their own GEM handle. ftruncate64() needs only write access to the inode. Neither path requires CAP_SYS_ADMIN. UI:N - The attacker opens the render node, maps the object, and triggers the purge, or calls ftruncate64() on a file they can already write. No other user has to mount media or confirm a prompt. S:U - drm_vma_node_unmap() walks VMAs on the DRM device anon_inode address_space, and the leftover PTE is in that process's mm, the same security authority as this kernel bug. C:H - hba is (pgoff_t)holebegin >> PAGE_SHIFT, so a hole at or above 4GiB aliases into the low 4GiB. drm_gem_shmem_purge_locked() still calls shmem_truncate_range() while the vmf_insert_pfn() PTE installed by drm_gem_shmem_fault() keeps reading that freed, reused page. I:H - The missed VMA stays writable. vc4_bo_purge() then dma_free_wc()s those pages, and the shmem purge releases them with shmem_truncate_range(). A store through the stale special PTE writes the frame after the allocator reuses it. A:H - drm_gem_shmem_purge_locked() and vc4_bo_purge() free pages that drm_vma_node_unmap() failed to clear from the user page tables. That use-after-free crashes the kernel once the frame is reused as a slab or file page.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 73704c6b35c7682fd22f97992a68b0e8451c7a52 to < aeaa0d4e301c5d2d97ba40603f899abe4e118572 (affected · git)91432aebce514cab49f63324c98b4eccb80532c5 to < 273121718c4c79ac0dd044d5f7998f21854b7cd6 (affected · git)dafdeb7b91f1597983693a418c496b6702ea34b5 to < aff28bb139a69437922311e4078f77dc92d54831 (affected · git)2247df454c7bb4b13939794fe6fae8510868d241 to < 119bb87a630d25d61ed77738c73a4ba743f8e410 (affected · git)9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < cbf6c66a2ef46433092b41b87176755de32bf65b (affected · git)9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < 0cf8d3fdd869fe079e55f8e621e45397a819d93c (affected · git)9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < 67e6d5468a7d693a00176713d44267e5360d63c3 (affected · git)9eab0421fa94a3dde0d1f7e36ab3294fc306c99d to < 7a81bc23dade8082187be6d9cc36e4be4b7207e2 (affected · git)2db1c46c3913b8bc92fed235a344de2671fe9d8d (affected · git)77359c4973056ba33a5627d5c04aea494eb76bc9 (affected · git)5.10.208 to < 5.10.275 (affected · semver)5.15.147 to < 5.15.226 (affected · semver)6.1.72 to < 6.1.193 (affected · semver)6.6.11 to < 6.6.163 (affected · semver)4.19.305 to < 4.20 (affected · semver)5.4.267 to < 5.5 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0cf8d3fdd869fe079e55f8e621e45397a819d93c
- https://git.kernel.org/stable/c/119bb87a630d25d61ed77738c73a4ba743f8e410
- https://git.kernel.org/stable/c/273121718c4c79ac0dd044d5f7998f21854b7cd6
- https://git.kernel.org/stable/c/67e6d5468a7d693a00176713d44267e5360d63c3
- https://git.kernel.org/stable/c/7a81bc23dade8082187be6d9cc36e4be4b7207e2
- https://git.kernel.org/stable/c/aeaa0d4e301c5d2d97ba40603f899abe4e118572
- https://git.kernel.org/stable/c/aff28bb139a69437922311e4078f77dc92d54831
- https://git.kernel.org/stable/c/cbf6c66a2ef46433092b41b87176755de32bf65b
Provider assertions
1Linux · cna
mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- db93e55dad970239fa111d6897e7e97bde2294f50385df866a56eee7acaeaf47
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record