CVE-2026-99662
Severity unknownNo known exploitationFix availablemm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 6% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast With nr_pages == 0, GUP-fast still enters its page table walk and can write past the caller's page array. The old end <= start check caught empty ranges, but was replaced with an overflow check. Users such as OrangeFS can pass a zero page count derived from a userspace-supplied length. So let's return zero for nr_pages == 0 before starting the walk, just like GUP-slow. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify description ]
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 5.10.4 before 5.11 | 5.11 | CVE Program |
| Linux | Linux | from c28b1fc70390df32e29991eedd52bd86e7aba080 before 0794c5809fa6322e8b43b70601700fd6c48e69ea | 0794c5809fa6322e8b43b70601700fd6c48e69ea | CVE Program |
| Linux | Linux | from c28b1fc70390df32e29991eedd52bd86e7aba080 before 5697a3b58722b15fcb06fb30368ce9f46458a95a | 5697a3b58722b15fcb06fb30368ce9f46458a95a | CVE Program |
| Linux | Linux | from c28b1fc70390df32e29991eedd52bd86e7aba080 before 1dfe4b276c23189394afb42d114ee8a54cc3aff2 | 1dfe4b276c23189394afb42d114ee8a54cc3aff2 | CVE Program |
| Linux | Linux | from c28b1fc70390df32e29991eedd52bd86e7aba080 before 11536b9b6bed3cc4d684a70d468493775e7d1d48 | 11536b9b6bed3cc4d684a70d468493775e7d1d48 | CVE Program |
| Linux | Linux | 5.11 | Not documented | CVE Program |
| Linux | Linux | bcb0f647c1fae9496e6ce499618a8da003c56088 | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.118 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.64 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.5 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc2 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.11 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/0794c5809fa6322e8b43b70601700fd6c48e69ea (opens in a new tab)
- https://git.kernel.org/stable/c/11536b9b6bed3cc4d684a70d468493775e7d1d48 (opens in a new tab)
- https://git.kernel.org/stable/c/1dfe4b276c23189394afb42d114ee8a54cc3aff2 (opens in a new tab)
- https://git.kernel.org/stable/c/5697a3b58722b15fcb06fb30368ce9f46458a95a (opens in a new tab)