{"id":"CVE-2026-99659","aliases":["CVE-2026-99659"],"related":[],"kind":"vulnerability","state":"published","title":"mm/mmu_gather: fix flushing ranges with 4 GiB or larger","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mmu_gather: fix flushing ranges with 4 GiB or larger\n\n__tlb_adjust_range() takes the size of the range which has to be flushed\nas an unsigned int. Its callers, tlb_flush_{pte,pmd,pud,p4d}_range(), get\nand pass an unsigned long. Consequently, a range that is 4 GiB or larger\ngets truncated, possibly to 0.\n\nOn arm64 with hugetlb, a 64k kernel can have 16 GiB hugetlb folios\nmapped contiguously at the PMD level and flush them when unmapping, and a\n16k kernel can flush 64 GiB PUDs through tlb_unshare_pmd_ptdesc(). So\nat least these two scenarios are affected.\n\nFix it by flushing the proper range instead of the truncated one by\nproperly using \"unsigned long\" for range_size.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: use two-tab indent, simplify description ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mmu_gather: fix flushing ranges with 4 GiB or larger\n\n__tlb_adjust_range() takes the size of the range which has to be flushed\nas an unsigned int. Its callers, tlb_flush_{pte,pmd,pud,p4d}_range(), get\nand pass an unsigned long. Consequently, a range that is 4 GiB or larger\ngets truncated, possibly to 0.\n\nOn arm64 with hugetlb, a 64k kernel can have 16 GiB hugetlb folios\nmapped contiguously at the PMD level and flush them when unmapping, and a\n16k kernel can flush 64 GiB PUDs through tlb_unshare_pmd_ptdesc(). So\nat least these two scenarios are affected.\n\nFix it by flushing the proper range instead of the truncated one by\nproperly using \"unsigned long\" for range_size.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: use two-tab indent, simplify description ]","source":"cvelist"}],"published":"2026-11-20T05:50:10.874Z","modified":"2026-11-23T08:18:06.980Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"b0f998ce242e2c310f69e55018639f3b8cc727fd","status":"affected"},{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"b263e5ef0456a83568e5f6fd6f4d846403e61520","status":"affected"},{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"1fe9a6e2f1d0ce99bb71c8fe7b00e1ad7c551583","status":"affected"},{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"28aa2e9f4ab62c66a1b872730b5e6441b40d9b60","status":"affected"},{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"da895690b531ba3905c69bd2ed1c447dafa7b4ce","status":"affected"},{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"2e12a0d8fa2ea4af9a74f414063359d965784919","status":"affected"},{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"3647c49f164004458b5e767deed033bc13a25a2d","status":"affected"},{"type":"git","introduced":"b528e4b6405b9fd656a6a308a7e2aa6afa50e77d","fixed":"64ae7959a1df8af8eec504e31df2ec9670424a4e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.10","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b0f998ce242e2c310f69e55018639f3b8cc727fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b263e5ef0456a83568e5f6fd6f4d846403e61520","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fe9a6e2f1d0ce99bb71c8fe7b00e1ad7c551583","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28aa2e9f4ab62c66a1b872730b5e6441b40d9b60","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da895690b531ba3905c69bd2ed1c447dafa7b4ce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e12a0d8fa2ea4af9a74f414063359d965784919","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3647c49f164004458b5e767deed033bc13a25a2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64ae7959a1df8af8eec504e31df2ec9670424a4e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99659","url":"https://www.cve.org/CVERecord?id=CVE-2026-99659","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:40.418Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99659","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99659","licence":"Public domain","modified":"2026-11-23T08:18:06.980Z"}],"updatedAt":"2026-11-25T22:59:52.298Z","epss":{"score":0.00155,"percentile":0.04812,"date":"2026-12-01T12:00:22.000Z"}}