# CVE-2026-99659: mm/mmu\_gather: fix flushing ranges with 4 GiB or larger

- Priority: **Routine**
- Reason: Not severe (CVSS 7, 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-99659, UBUNTU-CVE-2026-99659, CGA-32cv-mcp6-cmc4, CGA-3pqg-7pqq-xpxx, CGA-8v5v-vhvm-6r56, CGA-m2c5-4q8c-77jg, CGA-m776-hqg3-4vcm, CGA-m862-9hmq-h883, CGA-mrq4-5529-mhf2, CGA-px7p-2j7m-58fp, CGA-vhm4-p998-6jfm, CGA-w37r-4j25-9w8w, CGA-397m-7239-qh2p, CGA-49jw-3v5r-2hq4, CGA-9p2f-ff2w-w7xq, CGA-g8gq-w258-3frx, CGA-q347-5r4w-77v4, CGA-w2p3-5453-mmgf, CGA-wcvf-mpv6-738f, CGA-6x9g-v548-cmh7, CGA-j83v-9p2m-57rm
- Record: https://cvemate.com/vulnerability/CVE-2026-99659 · JSON: https://cvemate.com/vulnerability/CVE-2026-99659/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

mm/mmu_gather: fix flushing ranges with 4 GiB or larger

__tlb_adjust_range() takes the size of the range which has to be flushed
as an unsigned int. Its callers, tlb_flush_{pte,pmd,pud,p4d}_range(), get
and pass an unsigned long. Consequently, a range that is 4 GiB or larger
gets truncated, possibly to 0.

On arm64 with hugetlb, a 64k kernel can have 16 GiB hugetlb folios
mapped contiguously at the PMD level and flush them when unmapping, and a
16k kernel can flush 64 GiB PUDs through tlb_unshare_pmd_ptdesc(). So
at least these two scenarios are affected.

Fix it by flushing the proper range instead of the truncated one by
properly using "unsigned long" for range_size.

Fix generated by an LLM and sent by Josef Bacik in private.

[ david: use two-tab indent, simplify description ]
```

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.155%, percentile 4.763%, 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 181)

- 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/da895690b531ba3905c69bd2ed1c447dafa7b4ce>
- <https://git.kernel.org/stable/c/2e12a0d8fa2ea4af9a74f414063359d965784919>
- <https://git.kernel.org/stable/c/3647c49f164004458b5e767deed033bc13a25a2d>
- <https://git.kernel.org/stable/c/64ae7959a1df8af8eec504e31df2ec9670424a4e>
- <https://security-tracker.debian.org/tracker/CVE-2026-99659>
- <https://git.kernel.org/stable/c/b0f998ce242e2c310f69e55018639f3b8cc727fd>
- <https://git.kernel.org/stable/c/b263e5ef0456a83568e5f6fd6f4d846403e61520>
- <https://git.kernel.org/stable/c/1fe9a6e2f1d0ce99bb71c8fe7b00e1ad7c551583>
- <https://git.kernel.org/stable/c/28aa2e9f4ab62c66a1b872730b5e6441b40d9b60>
- <https://ubuntu.com/security/CVE-2026-99659>
- <https://www.cve.org/CVERecord?id=CVE-2026-99659>
- <https://git.kernel.org/linus/64ae7959a1df8af8eec504e31df2ec9670424a4e>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99659.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99659>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T03:39:03.637Z. 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
