Skip to main content

Linux Kernel CVE-2026-64297

| EUVDEUVD-2026-49009 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-25 Linux GHSA-5c7j-4454-42wh
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Acquire CAP_SYS_MODULE capability on target system
  2. Delivery
    Induce memory pressure to cause OOM condition
  3. Exploit
    Submit compressed kernel module for loading
  4. Execution
    kvrealloc() fails, return value unchecked
  5. Persist
    ZERO_SIZE_PTR dereferenced in module page array
  6. Impact
    Kernel oops triggers system crash or hang

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the attacker must hold CAP_SYS_MODULE or equivalent privilege to initiate kernel module loading - this is not available to unprivileged users on default-hardened Linux systems; (2) the target kernel must be running an unpatched version between the introducing commit b1ae6dc41eaa and the respective branch fix commits; and (3) memory allocation must fail during module decompression, requiring the system to be under sufficient memory pressure to cause kvrealloc() to return -ENOMEM. Exploitation is further limited to the compressed module loading path - systems that only load uncompressed modules are not exposed via this specific code path. Systems with Secure Boot enforcement that prevents unsigned module loading add an additional barrier. The combination of local access, elevated capability, and OOM-trigger dependency substantially limits real-world exploitability beyond the raw CVSS score suggests.

Impact

The official CVSS 5.5 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) characterizes this as a local, low-complexity, low-privilege denial-of-service. However, independent assessment suggests the complexity and privilege requirements are understated: triggering the allocation failure requires memory pressure conditions (raising effective complexity), and loading kernel modules typically requires CAP_SYS_MODULE, which is a high-privilege capability not available to ordinary unprivileged users on hardened systems - making PR:L generous. The pure availability-only impact (A:H, C:N, I:N) confirms there is no data disclosure or integrity risk. EPSS at 0.21% (12th percentile) and absence from CISA KEV and no public POC all align: this is a real kernel stability bug but a low exploitation-priority item for most organizations. The primary risk is insider threat or container escape scenarios on systems where CAP_SYS_MODULE is delegated. High-volume cloud environments running unpatched kernels with compressed module loading enabled represent the realistic exposure.

Exploit ScenarioDerived

A local user holding CAP_SYS_MODULE (or running as root on a system with module loading permitted) submits a compressed kernel module for loading while the system is under memory pressure. The kvrealloc() call inside module_extend_max_pages() fails silently, and the subsequent ZERO_SIZE_PTR dereference triggers a kernel oops, crashing or hanging the affected system. No public exploit code has been identified for this vulnerability at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 12, 2026

Null pointer dereference in the Linux kernel module decompression path crashes the kernel when a local user loads a compressed module under memory pressure. The flaw exists across multiple stable kernel branches and was introduced at commit b1ae6dc41eaa; patches are now available for all affected stable trees. No active exploitation confirmed (not in CISA KEV), and EPSS at 0.21% (12th percentile) reflects very low exploitation probability, consistent with the local-only, condition-dependent attack surface.

RemediationAI

The primary fix is to upgrade to a patched stable kernel release: 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4, or any 7.2-rc1+ build. Patch commits are available at https://git.kernel.org/stable/c/e7f174715f9f0cbcb9e87b52e4fc4ef149baac98 and related stable-tree commits linked in references. As a compensating control where immediate kernel upgrade is not possible, administrators can restrict module loading via the sysctl kernel.modules_disabled=1 (note: this is a one-way latch and prevents all subsequent module loading until reboot, which may impact device drivers and filesystems). Alternatively, MAC frameworks such as SELinux or AppArmor can be configured to deny module loading to non-root contexts, removing the attack surface without fully disabling module functionality. Restricting CAP_SYS_MODULE in container runtimes (e.g., removing it from Kubernetes pod security policies or Docker capabilities) is the most practical mitigation for cloud workloads. No patch version should be inferred beyond those listed above.

Affected VersionsENISA

Linux b1ae6dc41eaaa98bb75671e0f3665bfda248c3e7 <e7f174715f9f0cbcb9e87b52e4fc4ef149baac98
Linux patch: 7.1.4
Linux b1ae6dc41eaaa98bb75671e0f3665bfda248c3e7 <168072baf9ad516d5a06046514c7fea4c0671990
Linux patch: 6.18.39
Linux b1ae6dc41eaaa98bb75671e0f3665bfda248c3e7 <afcc0515bbdd28d509a2b5870faaa89b137f5d53
Linux 5.17
Linux patch: 6.1.178
Linux b1ae6dc41eaaa98bb75671e0f3665bfda248c3e7 <786d2d84416a9a1c1a47b71a68d679d886284be2
Linux patch: 6.6.145
Linux patch: 6.12.96
Linux patch: 7.2-rc1
Linux b1ae6dc41eaaa98bb75671e0f3665bfda248c3e7 <a82e170637e050a803b4f37542371ef216bf66d2
Linux b1ae6dc41eaaa98bb75671e0f3665bfda248c3e7 <e7da02659c229f73492fb1ed87ceda4090153aaa
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the kernel module loading subsystem, specifically the decompression path. The function module_extend_max_pages() calls kvrealloc() internally and returns -ENOMEM on allocation failure, but its callers never check this return value. When the initial allocation fails, info->pages remains NULL and info->max_pages stays at 0. Subsequent calls to module_get_next_page() attempt to grow the array by calling module_extend_max_pages(info, 0), which in turn calls kvrealloc(NULL, 0). Linux's kvrealloc() returns ZERO_SIZE_PTR (a non-NULL sentinel, typically 0x10) for zero-size allocations rather than NULL, causing the caller to treat the failed allocation as successful. Dereferencing ZERO_SIZE_PTR then triggers a kernel oops. The root cause is CWE-476 (NULL Pointer Dereference), though more precisely it is a ZERO_SIZE_PTR dereference - a well-known Linux memory safety footgun. Affected CPEs: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.1 MEDIUM

Module loading requires CAP_SYS_MODULE (PR:H); triggering the allocation failure demands deliberate memory pressure (AC:H); impact is availability-only with no scope change.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 4.4 MEDIUM
AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 12, 2026 - 15:07 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:49 nvd
MEDIUM 5.5
CVE Published
Jul 25, 2026 - 08:49 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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.]

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Ubiquitous
core OS kernel powering virtually all Linux servers and cloud infrastructure
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy