mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast
CVE-2026-99662Published 20 Nov 2026, 05:50 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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 ]
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | >= 5.10.4, < 5.10.275; = 5.11 | 5.10.275, 7.4-rc2 |
What to do
Update to a fixed version: 5.10.275, 7.4-rc2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 6), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 20 Nov 2026 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/0452d6d24ee4d65226824bcbefaf187707b72ced
- https://git.kernel.org/stable/c/6ac370032a68a343be599d8476ded2c36b43b53a
- https://git.kernel.org/stable/c/21854ef8dc4e9398d84e4129db52dad69622fd9b
- https://git.kernel.org/stable/c/32717a0763b2170eae5693fe4afbeecaa168ffdc
- https://git.kernel.org/stable/c/11536b9b6bed3cc4d684a70d468493775e7d1d48
- https://git.kernel.org/stable/c/0794c5809fa6322e8b43b70601700fd6c48e69ea
- https://git.kernel.org/stable/c/5697a3b58722b15fcb06fb30368ce9f46458a95a
- https://git.kernel.org/stable/c/1dfe4b276c23189394afb42d114ee8a54cc3aff2
- CVE-2026-99662 on CVE.org