CVE-2026-99659
mm/mmu_gather: fix flushing ranges with 4 GiB or larger
Check your servers for CVE-2026-99659
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99659 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 ]
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.46% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before b0f998ce242e2c310f69e55018639f3b8cc727fd affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before b263e5ef0456a83568e5f6fd6f4d846403e61520 affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before 1fe9a6e2f1d0ce99bb71c8fe7b00e1ad7c551583 affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before 28aa2e9f4ab62c66a1b872730b5e6441b40d9b60 affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before da895690b531ba3905c69bd2ed1c447dafa7b4ce affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before 2e12a0d8fa2ea4af9a74f414063359d965784919 affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before 3647c49f164004458b5e767deed033bc13a25a2d affected from b528e4b6405b9fd656a6a308a7e2aa6afa50e77d, before 64ae7959a1df8af8eec504e31df2ec9670424a4e
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.5 up to and including 7.3.* unaffected 7.4-rc2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99659 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99659
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99659
trivy image --scanners vuln IMAGE | grep CVE-2026-99659
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b0f998ce242e2c310f69e55018639f3b8cc727fd git.kernel.org
- https://git.kernel.org/stable/c/b263e5ef0456a83568e5f6fd6f4d846403e61520 git.kernel.org
- https://git.kernel.org/stable/c/1fe9a6e2f1d0ce99bb71c8fe7b00e1ad7c551583 git.kernel.org
- https://git.kernel.org/stable/c/28aa2e9f4ab62c66a1b872730b5e6441b40d9b60 git.kernel.org
- https://git.kernel.org/stable/c/da895690b531ba3905c69bd2ed1c447dafa7b4ce git.kernel.org
- https://git.kernel.org/stable/c/2e12a0d8fa2ea4af9a74f414063359d965784919 git.kernel.org
- https://git.kernel.org/stable/c/3647c49f164004458b5e767deed033bc13a25a2d git.kernel.org
- https://git.kernel.org/stable/c/64ae7959a1df8af8eec504e31df2ec9670424a4e git.kernel.org
Source: the record CVE-2026-99659 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse