CVE-2026-99659

Source
https://cve.org/CVERecord?id=CVE-2026-99659
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99659.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99659
Published
2026-11-20T05:50:10Z
Modified
2026-11-20T07:01:05Z
Summary
mm/mmu_gather: fix flushing ranges with 4 GiB or larger
Details

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 ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99659.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b528e4b6405b9fd656a6a308a7e2aa6afa50e77d
Fixed
da895690b531ba3905c69bd2ed1c447dafa7b4ce
Fixed
2e12a0d8fa2ea4af9a74f414063359d965784919
Fixed
3647c49f164004458b5e767deed033bc13a25a2d
Fixed
64ae7959a1df8af8eec504e31df2ec9670424a4e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99659.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99659.json"