Bug 2577583 (CVE-2026-99662) - CVE-2026-99662 kernel: kernel: Out-of-bounds write in GUP-fast via zero page count
Summary: CVE-2026-99662 kernel: kernel: Out-of-bounds write in GUP-fast via zero page ...
Keywords:
Status: NEW
Alias: CVE-2026-99662
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-20 06:02 UTC by OSIDB Bzimport
Modified: 2026-11-20 06:52 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-20 06:02:14 UTC
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 ]


Note You need to log in before you can comment on or make changes to this bug.