CVE-2026-64297: In the Linux kernel, the following vulnerability has been resolved: module: decompress: check return value of module_extend_max_pages() module_extend_max_pages() calls kvrealloc(
In the Linux kernel, the following vulnerability has been resolved:
module: decompress: check return value of module_extend_max_pages()
module_extend_max_pages() calls kvrealloc() internally and returns
-ENOMEM on allocation failure. The return value is never checked.
If the initial allocation fails, info->pages remains NULL and
info->max_pages remains 0. Subsequent calls to module_get_next_page()
will attempt to dynamically grow the array by calling
module_extend_max_pages(info, 0) since info->used_pages is 0. This
results in kvrealloc(NULL, 0) returning ZERO_SIZE_PTR, which is treated
as a success, leading to a dereference of ZERO_SIZE_PTR and a kernel
oops.
Fix: add the missing error check after module_extend_max_pages() and
return immediately on failure. This matches the pattern used by every
other kvrealloc() caller in the module loading path.
[Sami: Corrected the analysis in the commit message.]
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-64297
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-642970.21% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 11% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-64297 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
Recent advisories for In the Linux
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- high[UPDATE] [high] Linux Kernel: Multiple vulnerabilitiescert-bund · 2026-08-03
- high[UPDATE] [high] Linux Kernel: Multiple vulnerabilitiescert-bund · 2026-08-03
- medium[UPDATE] [medium] Linux Kernel: Multiple Vulnerabilitiescert-bund · 2026-08-03
- high[UPDATE] [high] Linux Kernel: Multiple Vulnerabilitiescert-bund · 2026-08-03
- medium[NEW] [medium] Linux Kernel: Multiple vulnerabilities allow denial of servicecert-bund · 2026-08-03
- medium[NEW] [medium] Linux Kernel: Multiple vulnerabilities allow Denial of Servicecert-bund · 2026-08-03
More from NVD Recent CVEs
- unknownCVE-2026-69075: FlowIntel is affected by a stored cross-site scripting vulnerability through multiple user-con…2026-08-03
- mediumCVE-2026-63563: Sharp and Toshiba Tec MFPs (multifunction printers) for a certain market have been shipped wit…2026-08-03
- lowCVE-2026-63545: Sharp and Toshiba Tec MFPs (multifunction printers) caches data internally when printing, and …2026-08-03
- mediumCVE-2026-62416: Network Scanner Tool and Network Scanner Tool Lite provided by Sharp Corporation, with the ini…2026-08-03
- mediumCVE-2026-60011: Sharp and Toshiba Tec MFPs (multifunction printers) fail to properly authorize requests to dir…2026-08-03