CVE-2026-99662

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

7.8 high EPSS 0.16%

Published 20 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99662

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99662 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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 ]

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.84% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from bcb0f647c1fae9496e6ce499618a8da003c56088, before 0452d6d24ee4d65226824bcbefaf187707b72ced
affected from c28b1fc70390df32e29991eedd52bd86e7aba080, before 6ac370032a68a343be599d8476ded2c36b43b53a
affected from c28b1fc70390df32e29991eedd52bd86e7aba080, before 21854ef8dc4e9398d84e4129db52dad69622fd9b
affected from c28b1fc70390df32e29991eedd52bd86e7aba080, before 32717a0763b2170eae5693fe4afbeecaa168ffdc
affected from c28b1fc70390df32e29991eedd52bd86e7aba080, before 11536b9b6bed3cc4d684a70d468493775e7d1d48
affected from c28b1fc70390df32e29991eedd52bd86e7aba080, before 0794c5809fa6322e8b43b70601700fd6c48e69ea
affected from c28b1fc70390df32e29991eedd52bd86e7aba080, before 5697a3b58722b15fcb06fb30368ce9f46458a95a
affected from c28b1fc70390df32e29991eedd52bd86e7aba080, before 1dfe4b276c23189394afb42d114ee8a54cc3aff2
affected from 5.10.4, before 5.10.275
Other versions: unaffected
Linux
affected 5.11
unaffected before 5.11
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99662 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99662

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99662
trivy image --scanners vuln IMAGE | grep CVE-2026-99662

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99662 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.