CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-64297

mediumCVSS 5.5covered by 2 sourcesfirst seen 2026-07-14
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.]

CSIRTS triage

Other
What
This vulnerability involves checking the return value of module_extend_max_pages() in the module decompression process.
Who is affected
Deployments using the module decompression feature.
Urgency
Remediation is important to ensure module integrity, with no current exploitation reported.
Action
Apply the patch for CVE-2026-64297.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch CVE-2026-64297

Get an email if CVE-2026-64297 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (2)

External references

NVD record for CVE-2026-64297

CVE.org record

Embed the live status

CVE-2026-64297 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-64297 status](https://www.csirts.com/badge/CVE-2026-64297)](https://www.csirts.com/cve/CVE-2026-64297)