Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-99662: high-severity vulnerability (CVSS 7.8) in Linux Linux.
What happened
Original description from the source: 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 ]
Why it matters
High severity, CVSS 7.8.
Affected products and versions
Linux Linux >= bcb0f647c1fae9496e6ce499618a8da003c56088, < 0452d6d24ee4d65226824bcbefaf187707b72ced; Linux Linux >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 6ac370032a68a343be599d8476ded2c36b43b53a; Linux Linux >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 21854ef8dc4e9398d84e4129db52dad69622fd9b; Linux Linux >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 32717a0763b2170eae5693fe4afbeecaa168ffdc; Linux Linux >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 11536b9b6bed3cc4d684a70d468493775e7d1d48; Linux Linux >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 0794c5809fa6322e8b43b70601700fd6c48e69ea; Linux Linux >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 5697a3b58722b15fcb06fb30368ce9f46458a95a; Linux Linux >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 1dfe4b276c23189394afb42d114ee8a54cc3aff2; Linux Linux >= 5.10.4, < 5.10.275; Linux Linux 5.11; Linux Linux < 5.11; Linux Linux 5.10.275 (fixed in 5.10.275)
| Product | Versions | Fixed in |
|---|---|---|
| Linux Linux | >= bcb0f647c1fae9496e6ce499618a8da003c56088, < 0452d6d24ee4d65226824bcbefaf187707b72ced | — |
| Linux Linux | >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 6ac370032a68a343be599d8476ded2c36b43b53a | — |
| Linux Linux | >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 21854ef8dc4e9398d84e4129db52dad69622fd9b | — |
| Linux Linux | >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 32717a0763b2170eae5693fe4afbeecaa168ffdc | — |
| Linux Linux | >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 11536b9b6bed3cc4d684a70d468493775e7d1d48 | — |
| Linux Linux | >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 0794c5809fa6322e8b43b70601700fd6c48e69ea | — |
| Linux Linux | >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 5697a3b58722b15fcb06fb30368ce9f46458a95a | — |
| Linux Linux | >= c28b1fc70390df32e29991eedd52bd86e7aba080, < 1dfe4b276c23189394afb42d114ee8a54cc3aff2 | — |
| Linux Linux | >= 5.10.4, < 5.10.275 | — |
| Linux Linux | 5.11 | — |
| Linux Linux | < 5.11 | — |
| Linux Linux | 5.10.275 | 5.10.275 |
| Linux Linux | 5.15.226 | 5.15.226 |
| Linux Linux | 6.1.193 | 6.1.193 |
| Linux Linux | 6.6.163 | 6.6.163 |
| Linux Linux | 6.12.118 | 6.12.118 |
| Linux Linux | 6.18.64 | 6.18.64 |
| Linux Linux | 7.3.5 | 7.3.5 |
| Linux Linux | 7.4-rc2 | 7.4-rc2 |
Action recommended by the source
Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2.
Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.118, 6.18.64, 6.6.163, 7.3.5, 7.4-rc2
Sources and references
- https://git.kernel.org/stable/c/11536b9b6bed3cc4d684a70d468493775e7d1d48 — CVE Program
- https://git.kernel.org/stable/c/0794c5809fa6322e8b43b70601700fd6c48e69ea — CVE Program
- https://git.kernel.org/stable/c/5697a3b58722b15fcb06fb30368ce9f46458a95a — CVE Program
- https://git.kernel.org/stable/c/1dfe4b276c23189394afb42d114ee8a54cc3aff2 — CVE Program
- https://git.kernel.org/stable/c/0452d6d24ee4d65226824bcbefaf187707b72ced — CVE Program
- https://git.kernel.org/stable/c/6ac370032a68a343be599d8476ded2c36b43b53a — CVE Program
- https://git.kernel.org/stable/c/21854ef8dc4e9398d84e4129db52dad69622fd9b — CVE Program
- https://git.kernel.org/stable/c/32717a0763b2170eae5693fe4afbeecaa168ffdc — CVE Program
Relevant change history
Published
Preliminary advisory published.