Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99662

published high CVSS 3.1 · 7.8

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

Published
20 Nov 2026, 05:50:13 UTC
Updated
23 Nov 2026, 08:05:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbcb0f647c1fae9496e6ce499618a8da003c56088 to < 0452d6d24ee4d65226824bcbefaf187707b72ced · c28b1fc70390df32e29991eedd52bd86e7aba080 to < 6ac370032a68a343be599d8476ded2c36b43b53a · c28b1fc70390df32e29991eedd52bd86e7aba080 to < 21854ef8dc4e9398d84e4129db52dad69622fd9b · c28b1fc70390df32e29991eedd52bd86e7aba080 to < 32717a0763b2170eae5693fe4afbeecaa168ffdc · c28b1fc70390df32e29991eedd52bd86e7aba080 to < 11536b9b6bed3cc4d684a70d468493775e7d1d48 · c28b1fc70390df32e29991eedd52bd86e7aba080 to < 0794c5809fa6322e8b43b70601700fd6c48e69ea · c28b1fc70390df32e29991eedd52bd86e7aba080 to < 5697a3b58722b15fcb06fb30368ce9f46458a95a · c28b1fc70390df32e29991eedd52bd86e7aba080 to < 1dfe4b276c23189394afb42d114ee8a54cc3aff2 · 5.10.4 to < 5.10.275 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 libperf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 perf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 rtla Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 rv Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 8 bpftool Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.191.1.rt7.532.el8_10 ALSA-2026:104851
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852
AlmaLinux 8 perf Advisory build 4.18.0-553.191.1.el8_10 ALSA-2026:104852

Package entries are limited to the first 100 builds and 100 linked advisories.

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 ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - A zero page count reaches gup_fast_fallback from amdxdna_get_ubuf, called by amdxdna_drm_create_bo_ioctl with a userspace amdxdna_drm_va_entry whose len is 0. That length is an ioctl argument, not a field carried by a remote protocol message. AC:L - The attacker mmaps and faults the VA named by that zero-length entry. gup_fast_pte_range is a do-while, so with start equal to end it still stores pages[*nr] for each present PTE until a hole; the attacker creates that mapping and no race or independent hardware fault is required. PR:L - AMDXDNA_CREATE_BO is registered with ioctl flags 0, so drm_ioctl_permit requires neither CAP_SYS_ADMIN nor DRM master, and accel_open checks no capability. can_do_mlock() is true under the default 8MB RLIMIT_MEMLOCK, so an unprivileged opener of the accel node reaches the pin. UI:N - The attacker faults their own anonymous mapping and issues AMDXDNA_CREATE_BO themselves. No other user has to mount media or take any action. S:U - The overflow writes through ubuf->pages in the kernel heap of the calling task. It stays inside the host kernel and does not cross a guest/host or IOMMU boundary. C:H - ubuf->pages is kvmalloc'd for the sum of the VA lengths, so a zero-length entry makes pin_user_pages_fast write struct page pointers at &ubuf->pages[start] past that object; gup_fast_fallback then calls __get_user_pages with nr_pages-nr_pinned underflowed from 0 and keeps storing pointers. That heap corruption can disclose neighboring kernel memory. I:H - gup_fast_pte_range assigns pages[*nr] = page in its do-while before comparing addr with end, so a zero-length pin still writes, and the underflowed __gup_longterm_locked count then extends the store across the rest of the attacker's VMA. A:H - The stores past the kvmalloc'd ubuf->pages array corrupt adjacent slab memory and crash the kernel. gup_fast performs the first of those stores with local IRQs disabled.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bcb0f647c1fae9496e6ce499618a8da003c56088 to < 0452d6d24ee4d65226824bcbefaf187707b72ced (affected · git)c28b1fc70390df32e29991eedd52bd86e7aba080 to < 6ac370032a68a343be599d8476ded2c36b43b53a (affected · git)c28b1fc70390df32e29991eedd52bd86e7aba080 to < 21854ef8dc4e9398d84e4129db52dad69622fd9b (affected · git)c28b1fc70390df32e29991eedd52bd86e7aba080 to < 32717a0763b2170eae5693fe4afbeecaa168ffdc (affected · git)c28b1fc70390df32e29991eedd52bd86e7aba080 to < 11536b9b6bed3cc4d684a70d468493775e7d1d48 (affected · git)c28b1fc70390df32e29991eedd52bd86e7aba080 to < 0794c5809fa6322e8b43b70601700fd6c48e69ea (affected · git)c28b1fc70390df32e29991eedd52bd86e7aba080 to < 5697a3b58722b15fcb06fb30368ce9f46458a95a (affected · git)c28b1fc70390df32e29991eedd52bd86e7aba080 to < 1dfe4b276c23189394afb42d114ee8a54cc3aff2 (affected · git)5.10.4 to < 5.10.275 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.11 (affected)0 to < 5.11 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
477a95d0aebf1ada070ba460a43d131b09067283a8eea14d150181d497e5eeae
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected