# CVE-2026-99662: mm/gup: fix out-of-bounds write for nr\_pages == 0 in GUP-fast

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:50:13.325Z
- **Modified:** 2026-11-23T08:18:07.357Z

## Who should check

- Anyone running Linux \>= bcb0f647c1fae9496e6ce499618a8da003c56088, \< 0452d6d24ee4d65226824bcbefaf187707b72ced; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 6ac370032a68a343be599d8476ded2c36b43b53a; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 21854ef8dc4e9398d84e4129db52dad69622fd9b; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 32717a0763b2170eae5693fe4afbeecaa168ffdc; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 11536b9b6bed3cc4d684a70d468493775e7d1d48; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 0794c5809fa6322e8b43b70601700fd6c48e69ea; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 5697a3b58722b15fcb06fb30368ce9f46458a95a; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 1dfe4b276c23189394afb42d114ee8a54cc3aff2; \>= 5.10.4, \< 5.10.275
- Anyone running Linux 5.11

## 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 \]

## Affected and fixed versions

- Linux: \>= bcb0f647c1fae9496e6ce499618a8da003c56088, \< 0452d6d24ee4d65226824bcbefaf187707b72ced; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 6ac370032a68a343be599d8476ded2c36b43b53a; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 21854ef8dc4e9398d84e4129db52dad69622fd9b; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 32717a0763b2170eae5693fe4afbeecaa168ffdc; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 11536b9b6bed3cc4d684a70d468493775e7d1d48; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 0794c5809fa6322e8b43b70601700fd6c48e69ea; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 5697a3b58722b15fcb06fb30368ce9f46458a95a; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 1dfe4b276c23189394afb42d114ee8a54cc3aff2; \>= 5.10.4, \< 5.10.275 (cvelist)
- Linux: 5.11 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5.10.275 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99662. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99662.md
Affected: Linux >= bcb0f647c1fae9496e6ce499618a8da003c56088, < 0452d6d24ee4d65226824bcbefaf187707b72ced; >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 6ac370032a68a343be599d8476ded2c36b43b53a; >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 21854ef8dc4e9398d84e4129db52dad69622fd9b; >= c28b1fc70390df32e29991e…
Fixed in: Linux 0452d6d24ee4d65226824bcbefaf187707b72ced, Linux 6ac370032a68a343be599d8476ded2c36b43b53a, Linux 21854ef8dc4e9398d84e4129db52dad69622fd9b, Linux 32717a0763b2170eae5693fe4afbeecaa168ffdc, Linux 11536b9b6bed3cc4d684a70d468493775e7d1d48, Linux 0794c5809fa6322e8b43b70601700fd6c48e69ea, Linux 5697a…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99662 being exploited?

There is no confirmed exploitation: CVE-2026-99662 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99662?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99662?

Linux \>= bcb0f647c1fae9496e6ce499618a8da003c56088, \< 0452d6d24ee4d65226824bcbefaf187707b72ced; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 6ac370032a68a343be599d8476ded2c36b43b53a; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 21854ef8dc4e9398d84e4129db52dad69622fd9b; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 32717a0763b2170eae5693fe4afbeecaa168ffdc; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 11536b9b6bed3cc4d684a70d468493775e7d1d48; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 0794c5809fa6322e8b43b70601700fd6c48e69ea; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 5697a3b58722b15fcb06fb30368ce9f46458a95a; \>= c28b1fc70390df32e29991eedd52bd86e7aba080, \< 1dfe4b276c23189394afb42d114ee8a54cc3aff2; \>= 5.10.4, \< 5.10.275; Linux 5.11.

### Is there a fix for CVE-2026-99662?

Yes. Fixed in Linux 0452d6d24ee4d65226824bcbefaf187707b72ced, Linux 6ac370032a68a343be599d8476ded2c36b43b53a, Linux 21854ef8dc4e9398d84e4129db52dad69622fd9b, Linux 32717a0763b2170eae5693fe4afbeecaa168ffdc, Linux 11536b9b6bed3cc4d684a70d468493775e7d1d48, Linux 0794c5809fa6322e8b43b70601700fd6c48e69ea, Linux 5697a3b58722b15fcb06fb30368ce9f46458a95a, Linux 1dfe4b276c23189394afb42d114ee8a54cc3aff2, Linux 5.10.275. Upgrade Linux to 5.10.275 or later.

### How do I check if I'm affected by CVE-2026-99662?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0452d6d24ee4d65226824bcbefaf187707b72ced>
- other: <https://git.kernel.org/stable/c/6ac370032a68a343be599d8476ded2c36b43b53a>
- other: <https://git.kernel.org/stable/c/21854ef8dc4e9398d84e4129db52dad69622fd9b>
- other: <https://git.kernel.org/stable/c/32717a0763b2170eae5693fe4afbeecaa168ffdc>
- other: <https://git.kernel.org/stable/c/11536b9b6bed3cc4d684a70d468493775e7d1d48>
- other: <https://git.kernel.org/stable/c/0794c5809fa6322e8b43b70601700fd6c48e69ea>
- other: <https://git.kernel.org/stable/c/5697a3b58722b15fcb06fb30368ce9f46458a95a>
- other: <https://git.kernel.org/stable/c/1dfe4b276c23189394afb42d114ee8a54cc3aff2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99662>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99662> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99662>
