Public vulnerability disclosure

CVE-2026-99654

mm: fix unmap_mapping_range() beyond 4 GiB on 32-bit

published

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.

Technical severity7.8 highCVSS 3.1 · CNA: Linux
Published2026-11-20Source updated 2026-11-22
Collected2026-11-223 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Linux
Linux
≥ 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d; < cbf6c66a2ef46433092b41b87176755de32bf65b (affected, git)
≥ 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d; < 0cf8d3fdd869fe079e55f8e621e45397a819d93c (affected, git)
≥ 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d; < 67e6d5468a7d693a00176713d44267e5360d63c3 (affected, git)
≥ 9eab0421fa94a3dde0d1f7e36ab3294fc306c99d; < 7a81bc23dade8082187be6d9cc36e4be4b7207e2 (affected, git)
2db1c46c3913b8bc92fed235a344de2671fe9d8d (affected, git)
77359c4973056ba33a5627d5c04aea494eb76bc9 (affected, git)
73704c6b35c7682fd22f97992a68b0e8451c7a52 (affected, git)
91432aebce514cab49f63324c98b4eccb80532c5 (affected, git)
dafdeb7b91f1597983693a418c496b6702ea34b5 (affected, git)
2247df454c7bb4b13939794fe6fae8510868d241 (affected, git)
≥ 4.19.305; < 4.20 (affected, semver)
≥ 5.4.267; < 5.5 (affected, semver)
≥ 5.10.208; < 5.11 (affected, semver)
≥ 5.15.147; < 5.16 (affected, semver)
≥ 6.1.72; < 6.2 (affected, semver)
≥ 6.6.11; < 6.7 (affected, semver)
Other versions: unaffected
CNA: Linux
Linux
Linux
6.7 (affected)
≥ 0; < 6.7 (unaffected, semver)
≥ 6.12.118; ≤ 6.12.* (unaffected, semver)
≥ 6.18.64; ≤ 6.18.* (unaffected, semver)
≥ 7.3.5; ≤ 7.3.* (unaffected, semver)
≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCNA: Linux
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide