# CVE-2026-99654: mm: fix unmap\_mapping\_range() beyond 4 GiB on 32-bit

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-20 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99654, UBUNTU-CVE-2026-99654, CGA-6456-jrqc-2hch, CGA-7375-g6p6-592p, CGA-9pc9-44w4-2855, CGA-9qq5-735j-6568, CGA-c597-3v36-83q9, CGA-cj99-4fgc-3cxj, CGA-f6qh-j7h9-p44c, CGA-h548-pxhx-49c7, CGA-j2xj-736x-gx92, CGA-jwrh-2fr2-cqc8, CGA-pvc4-hcqj-w6cp, CGA-4gx6-xm8v-5hm7, CGA-4vrv-4m8c-p2g4, CGA-cw2g-w28g-jh32, CGA-j5r8-84jh-c2c5, CGA-r4vc-cqqx-9hqh, CGA-rcxm-h68f-h532, CGA-vr95-29g9-vfgh, CGA-6j7w-f9xf-8w92
- Record: https://cvemate.com/vulnerability/CVE-2026-99654 · JSON: https://cvemate.com/vulnerability/CVE-2026-99654/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.164%, percentile 5.77%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 178)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.5-1
- debian linux-6.12 (Debian): \< 6.12.118-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <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>
- <https://security-tracker.debian.org/tracker/CVE-2026-99654>
- <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://ubuntu.com/security/CVE-2026-99654>
- <https://www.cve.org/CVERecord?id=CVE-2026-99654>
- <https://git.kernel.org/linus/7a81bc23dade8082187be6d9cc36e4be4b7207e2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99654.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99654>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T03:57:24.209Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
