Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99662

mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-12-04 03:24 UTC

Statance checks for CVE-2026-99662. Connected servers are checked automatically against the fixed versions their distribution or package ecosystem has published for it, including app dependency lockfiles. Check my servers ↗
Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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 ]

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: bcb0f647c1fae9496e6ce499618a8da003c56088 to < 0452d6d24ee4d65226824bcbefaf187707b72ced; affected: c28b1fc70390df32e29991eedd52bd86e7aba080 to < 6ac370032a68a343be599d8476ded2c36b43b53a; affected: c28b1fc70390df32e29991eedd52bd86e7aba080 to < 21854ef8dc4e9398d84e4129db52dad69622fd9b; affected: c28b1fc70390df32e29991eedd52bd86e7aba080 to < 32717a0763b2170eae5693fe4afbeecaa168ffdc; affected: c28b1fc70390df32e29991eedd52bd86e7aba080 to < 11536b9b6bed3cc4d684a70d468493775e7d1d48; affected: c28b1fc70390df32e29991eedd52bd86e7aba080 to < 0794c5809fa6322e8b43b70601700fd6c48e69ea; affected: c28b1fc70390df32e29991eedd52bd86e7aba080 to < 5697a3b58722b15fcb06fb30368ce9f46458a95a; affected: c28b1fc70390df32e29991eedd52bd86e7aba080 to < 1dfe4b276c23189394afb42d114ee8a54cc3aff2; affected: 5.10.4 to < 5.10.275See vendor advisory
LinuxLinuxaffected: 5.11; unaffected: 0 to < 5.11; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed