CVE-2026-99661
mm/gup: check for overflow when converting nr_pages to bytes in GUP-fast
Description
In the Linux kernel, the following vulnerability has been resolved: mm/gup: check for overflow when converting nr_pages to bytes in GUP-fast The overflow check in gup_fast_fallback() only covers the addition to start. The preceding nr_pages << PAGE_SHIFT can already have truncated the length on 32bit. Users such as RapidIO's rio_dma_transfer() can derive such page counts from a 64-bit userspace length. Let's just check_shl_overflow() to reject any such overflow with -EOVERFLOW early.
INFO
Published Date :
Nov. 20, 2026, 6:18 a.m.
Last Modified :
Nov. 23, 2026, 8:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to include overflow checks.
- Apply patches that fix the gup_fast_fallback function.
- Reject overflows with -EOVERFLOW early.
- Ensure nr_pages conversion to bytes is safe.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99661.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99661 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99661
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99661 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99661 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99661.json">CVE-2026-99661</a> Added Reference https://git.kernel.org/stable/c/4609adbe69a1604a015def7458bda9b3bf332400 Added Reference https://git.kernel.org/stable/c/6e97f285bc3f914047d57267f735cd999a2b8c8e Added Reference https://git.kernel.org/stable/c/b087093ed2b817ad56c9db1ab104e85c2cea8c29 Added Reference https://git.kernel.org/stable/c/b83b181b1232f950c2c8789d8d877f776c56cd27 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 20, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: mm/gup: check for overflow when converting nr_pages to bytes in GUP-fast The overflow check in gup_fast_fallback() only covers the addition to start. The preceding nr_pages << PAGE_SHIFT can already have truncated the length on 32bit. Users such as RapidIO's rio_dma_transfer() can derive such page counts from a 64-bit userspace length. Let's just check_shl_overflow() to reject any such overflow with -EOVERFLOW early. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99661.json">CVE-2026-99661</a> Added Reference https://git.kernel.org/stable/c/063cd7c398fb837d811a72e19a6f71df9f104d9b Added Reference https://git.kernel.org/stable/c/21a3888d3d2f87b7f15ccea1f0befd57346fe899 Added Reference https://git.kernel.org/stable/c/666516c935a353eda4dd43fbbd063d39b7f743bb Added Reference https://git.kernel.org/stable/c/89eed2a8f389d09d75d90633d879e0f5825f9376