Skip to main content
ISO/IEC 27001:2022 · Cert #2967/NET27A

Linux kernel GUP-fast out-of-bounds write CVE-2026-99662 (CVSS 7.8)

A Linux kernel mm/gup bug lets GUP-fast write past the page array when nr_pages is 0. Fixed in 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2.

Security advisory card: Linux kernel GUP-fast out-of-bounds write CVE-2026-99662 (CVSS 7.8). Severity High, CVSS 7.8. CVE-2026-99662.

Advisory at a glance

CVE
CVE-2026-99662
Severity
Severity: High CVSS v3.1 7.8
Attack vector
Local
Privileges required: low
Exploitation evidence
Not listed in the CISA KEV catalog (record checked Nov 22, 2026)
Absence from KEV is not proof that a flaw is not exploited.
Last reviewed

Advisory summary

The Linux kernel CNA published CVE-2026-99662 on 2026-11-20 and updated it on 2026-11-22. The record's title is "mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast". The affected file is mm/gup.c.

When nr_pages is 0, GUP-fast still enters its page table walk. It can then write past the caller's page array. An older end <= start check caught empty ranges, but it was replaced with an overflow check.

Callers such as OrangeFS can pass a zero page count derived from a length supplied by userspace. The fix returns zero for nr_pages == 0 before the walk starts, as GUP-slow already does.

The record states that the fix was generated by an LLM and sent by Chris Mason in private.

Severity and attack conditions

The kernel CNA rates the flaw CVSS 3.1 7.8 (High), vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. NVD lists no CVSS 4.0 score. The CNA's scoring notes describe one concrete path:

  • A zero page count reaches gup_fast_fallback from amdxdna_get_ubuf. It is called by amdxdna_drm_create_bo_ioctl with a userspace amdxdna_drm_va_entry whose len is 0. The length is an ioctl argument, not a field carried by a remote protocol message.
  • The attacker maps and faults the memory named by that zero-length entry. No race or independent hardware fault is required.
  • AMDXDNA_CREATE_BO needs neither CAP_SYS_ADMIN nor DRM master. Under the default 8MB RLIMIT_MEMLOCK, an unprivileged user who can open the accel device node reaches the pin.
  • The overflow writes struct page pointers past the kernel heap array ubuf->pages. The CNA says this heap corruption can disclose nearby kernel memory, corrupt adjacent slab memory and crash the kernel.
  • The write stays inside the host kernel. It does not cross a guest/host or IOMMU boundary.

CISA KEV status

CVE-2026-99662 is not listed in the CISA KEV catalog (catalog version 2026.11.20). The CVE record does not mention any attacks. It is not known to be exploited.

Affected and fixed versions

The kernel CNA gives the following data for the stable tree.

Kernel versionStatus
Versions before 5.11, except the range belowNot affected
5.10.4 up to (not including) 5.11Affected
5.11 and later (unless listed as fixed below)Affected
6.12.x from 6.12.118Fixed
6.18.x from 6.18.64Fixed
7.3.x from 7.3.5Fixed
7.4-rc2 and later (mainline fix)Fixed
Introduced by commitFixed by commit
c28b1fc70390df32e29991eedd52bd86e7aba08011536b9b6bed3cc4d684a70d468493775e7d1d48
c28b1fc70390df32e29991eedd52bd86e7aba0800794c5809fa6322e8b43b70601700fd6c48e69ea
c28b1fc70390df32e29991eedd52bd86e7aba0805697a3b58722b15fcb06fb30368ce9f46458a95a
c28b1fc70390df32e29991eedd52bd86e7aba0801dfe4b276c23189394afb42d114ee8a54cc3aff2
bcb0f647c1fae9496e6ce499618a8da003c56088No fixing commit listed

The record lists no fixed release for 5.10.x and no workaround.

Terms explained

  • GUP (get_user_pages): kernel functions that look up and pin the physical pages behind a user memory range.
  • GUP-fast and GUP-slow: the fast path and the regular path of these functions.
  • Pinning: holding pages in memory so a driver can use them, for example for device access.
  • Out-of-bounds write: data written past the end of an allocated buffer.
  • ioctl: a system call that sends a driver-specific command to a device file.
  • Accel device node: the device file for a compute accelerator driver such as amdxdna.
  • RLIMIT_MEMLOCK: the per-process limit on how much memory may be locked.
  • CVSS vector: AV:L local attack vector; AC:L low attack complexity; PR:L low privileges; UI:N no user interaction; S:U scope unchanged; C:H, I:H, A:H high impact on confidentiality, integrity and availability.

What This Means for IT Teams

Linux systems running kernel 5.11 or later, or 5.10.4 and later 5.10.x releases, are in scope until they run a fixed release. The scored path uses the amdxdna accelerator driver; the record also names OrangeFS as a caller that can pass a zero page count.

Fixed releases in the record are 6.12.118, 6.18.64 and 7.3.5 in their series, and 7.4-rc2 in mainline. Other series, including 5.10.x, have no fixed release listed. Keeping an inventory of kernel versions across hosts supports patch management for this kind of update.

A successful attack needs local code execution as an unprivileged user. No user interaction is needed. The CVE is not in CISA KEV.

NVD cross-check

The NVD record has status "Received", so NVD has not analysed it yet. It was published on 2026-11-20 and last modified on 2026-11-22. NVD shows the kernel CNA's CVSS 3.1 score of 7.8 with the same vector. NVD lists no CWE. The description, affected-version data and the four stable commit references match the CVE record. No discrepancies were found.

Related coverage: Linux kernel 32-bit unmap_mapping_range flaw CVE-2026-99654 (CVSS 7.8).

Sources

  1. CVE-2026-99662: mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast (opens in a new tab) CVE Program (Linux kernel CNA record) Published Nov 20, 2026 Accessed Nov 22, 2026 cve.org
  2. NVD CVE API 2.0 record for CVE-2026-99662 (opens in a new tab) NIST National Vulnerability Database (NVD) Published Nov 20, 2026 Accessed Nov 22, 2026 nvd.nist.gov
  3. CISA Known Exploited Vulnerabilities Catalog (JSON feed) (opens in a new tab) Cybersecurity and Infrastructure Security Agency (CISA) Published Nov 20, 2026 Accessed Nov 22, 2026 cisa.gov

Topics

How we research, review and correct articles: Editorial Standards, Ethics & Corrections Policy. Found an error? Tell us.

Networking Pulse · https://networkingpulse.com/news/security/linux-kernel-gup-fast-zero-nr-pages-out-of-bounds-write-cve-2026-99662/

Cybersecurity & Compliance

Need help checking your exposure to this advisory?

Talk to our team about the devices and versions in your network and how to plan the update.