Out-of-bounds write in Linux kernel GUP-fast when nr_pages is zero
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 9 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 5.10.4 before 5.10.275 and from 5.11 is affected. The GUP-fast page table walk still starts when nr_pages is zero, so it can write past the caller's page array. A local user with low privileges can trigger it, because OrangeFS can pass a zero page count derived from a userspace-supplied length.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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 now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Linux kernel fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2. Red Hat fixes Red Hat Enterprise Linux 8 and 10 in RHSA-2026:104851, RHSA-2026:104852 and RHSA-2026:105695. Red Hat lists no fix plan available for Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Red Hat 3 advisories
- RHSA-2026:105695 Released 2026-12-01 · Red Hat rating Criticalkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-264.22.1.el10_3, kernel-64k-debug-devel-matched-6.12.0-264.22.1.el10_3, kernel-64k-devel-6.12.0-264.22.1.el10_3 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-264.22.1.el10_3, kernel-64k-6.12.0-264.22.1.el10_3, kernel-64k-core-6.12.0-264.22.1.el10_3 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-264.22.1.el10_3, libperf-6.12.0-264.22.1.el10_3
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-264.22.1.el10_3, kernel-rt-64k-6.12.0-264.22.1.el10_3, kernel-rt-64k-core-6.12.0-264.22.1.el10_3 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-264.22.1.el10_3, kernel-rt-core-6.12.0-264.22.1.el10_3, kernel-rt-debug-6.12.0-264.22.1.el10_3 +9
- RHSA-2026:104852 Released 2026-11-30 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.191.1.el8_10, kernel-4.18.0-553.191.1.el8_10, kernel-abi-stablelists-4.18.0-553.191.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.191.1.el8_10
- RHSA-2026:104851 Released 2026-11-30 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.191.1.rt7.532.el8_10, kernel-rt-core-4.18.0-553.191.1.rt7.532.el8_10, kernel-rt-debug-4.18.0-553.191.1.rt7.532.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.191.1.rt7.532.el8_10, kernel-rt-core-4.18.0-553.191.1.rt7.532.el8_10, kernel-rt-debug-4.18.0-553.191.1.rt7.532.el8_10 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:104852 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:104852 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2026:104851 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2026:104851 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:105695 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:105695 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99662
- 2026-11-20 Alias added: GHSA-79rr-gj93-w5g7
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 Fix available: Linux/Linux@0452d6d24ee4d65226824bcbefaf187707b72ced, Linux/Linux@21854ef8dc4e9398d84e4129db52dad69622fd9b, Linux/Linux@32717a0763b2170eae5693fe4afbeecaa168ffdc +5 · CNA
- 2026-11-23 4 new references · CNA
- 2026-11-30 Fix available: Red Hat Enterprise Linux NFV (v. 8), Red Hat Enterprise Linux RT (v. 8) · Red Hat
- 2026-11-30 Fix available: RHSA-2026:104851 · Red Hat
- 2026-11-30 Fix available: RHSA-2026:104852 · Red Hat
- 2026-11-30 Fix available: Red Hat Enterprise Linux BaseOS (v. 8), Red Hat Enterprise Linux CRB (v. 8) · Red Hat
- 2026-12-01 Fix available: RHSA-2026:105695 · Red Hat
- 2026-12-01 Fix available: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10), Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) +2 · Red Hat
References
Other 8
- 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
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99662 · CVE Program
- CVE-2026-99662 · NVD
- FIRST EPSS
- GHSA-79rr-gj93-w5g7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99662 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences