Skip to main content

Linux Kernel EUVDEUVD-2026-40969

| CVE-2026-53335 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-01 Linux GHSA-wxxm-77v6-p8hq
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege shell access
  2. Delivery
    Exhaust or pressure system memory
  3. Exploit
    Write to DAMON LRU Sort sysfs enable path
  4. Execution
    damon_ctx allocation returns NULL
  5. Persist
    damon_commit_ctx() dereferences NULL pointer
  6. Impact
    Kernel panic causes system crash (DoS)

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

Local system access with low privileges (PR:L per CVSS) is required to write to the DAMON LRU Sort sysfs control interface. The vulnerability is only reachable when the DAMON_LRU_SORT feature is compiled into the kernel (CONFIG_DAMON_LRU_SORT=y). Crucially, triggering the NULL dereference also requires that the damon_ctx memory allocation fails, which in practice demands significant memory pressure or exhaustion on the target system at the moment the sysfs write occurs. This limits opportunistic exploitation: an attacker must be able to both write to the DAMON sysfs interface and induce or time an allocation failure. Exploitation is further constrained by: requiring a local shell session (not remotely exploitable per AV:L), the non-default nature of DAMON_LRU_SORT being actively managed via sysfs, and the requirement for concurrent memory pressure.

Impact

The CVSS 3.1 score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately characterizes the realistic risk: local access, low complexity once reachable, low privilege, but impact limited entirely to availability. EPSS at 0.17% (6th percentile) is consistent with a low-exploitation-likelihood kernel memory management edge case. The vulnerability is not listed in CISA KEV, confirming no observed active exploitation at time of analysis. The 'RCE' tag from VulnDB should be disregarded - it directly conflicts with the NVD CVSS C:N/I:N metrics and the description, which describes only a kernel crash. Real-world priority is LOW for most environments: exploitation requires local access and a specific low-memory condition to trigger allocation failure, which limits opportunistic attack scenarios. Kernel patching remains the correct response but this does not warrant emergency change windows.

Exploit ScenarioDerived

A local user with low-privilege shell access writes to the DAMON LRU Sort sysfs enable interface on a system under memory pressure, causing the damon_ctx allocation to fail and return NULL. The kernel then dereferences the NULL pointer inside damon_commit_ctx(), triggering a kernel oops or panic that crashes or hangs the system. No public proof-of-concept exploit code has been identified 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 – Jul 23, 2026

NULL pointer dereference in the Linux kernel's DAMON LRU Sort subsystem crashes the kernel when damon_ctx allocation fails under memory pressure. Affected are Linux kernel versions through 6.18 and 7.0.x before 7.0.13, where damon_lru_sort_enabled_store() omits a NULL check before passing the allocation result to damon_commit_ctx(). A local attacker with low privileges can trigger a kernel panic, causing a denial of service. No active exploitation is confirmed (not in CISA KEV), and EPSS sits at 0.17% (6th percentile), reflecting negligible observed exploitation activity.

RemediationAI

The primary fix is to upgrade to patched kernel versions: Linux 6.18.36, 7.0.13, or 7.1. Upstream fix commits are available at https://git.kernel.org/stable/c/ab04340b5ae5d52c1d46b750538febcde9d889e7 (6.18 branch), https://git.kernel.org/stable/c/daab1996431a71f43219dcac48ecc9ad2aad3f1c (7.0 branch), and https://git.kernel.org/stable/c/6d48f15659395bf1381114f01be91bc68e0be46a (7.1 branch). Distribution vendors (RHEL, Debian, Ubuntu, SUSE) should be monitored for backported stable patches. As a compensating control on systems where kernel upgrade is not immediately feasible, the DAMON_LRU_SORT feature can be disabled by ensuring the CONFIG_DAMON_LRU_SORT kernel option is not compiled in, or by restricting write access to the relevant sysfs path (typically under /sys/kernel/mm/damon/) to prevent unprivileged users from triggering the code path. Restricting sysfs access does not eliminate the bug but reduces the attack surface to root-only interaction.

Affected VersionsENISA

Linux patch: 7.1
Linux 6.18
Linux c4a8e662c839ac0003e4781aa324cb2d68ed9cb1 <6d48f15659395bf1381114f01be91bc68e0be46a
Linux patch: 7.0.13
Linux c4a8e662c839ac0003e4781aa324cb2d68ed9cb1 <daab1996431a71f43219dcac48ecc9ad2aad3f1c
Linux patch: 6.18.36
Linux patch: 0
Linux c4a8e662c839ac0003e4781aa324cb2d68ed9cb1 <ab04340b5ae5d52c1d46b750538febcde9d889e7

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 affected code is in mm/damon/lru_sort - the DAMON (Data Access Monitor) LRU-sort module within the Linux kernel memory management subsystem. DAMON_LRU_SORT uses a damon_ctx object to drive a kdamond kernel thread for LRU-based page sorting. The root cause is CWE-476 (NULL Pointer Dereference): damon_lru_sort_enabled_store() calls the damon_ctx allocator but does not verify the return value before forwarding the pointer to damon_commit_ctx(). Under memory pressure causing an allocation failure, ctx is NULL and the dereference causes a kernel oops or panic. The CPE is cpe:2.3:a:linux:linux, and the vulnerability was introduced in the DAMON LRU Sort feature path, not the core DAMON framework. The 'RCE' tag present in source metadata appears to be a tagging artifact - the CVSS vector explicitly shows C:N/I:N, and the description is unambiguously a DoS-only NULL dereference.

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 5.5 MEDIUM

Local sysfs write requires low privilege; NULL deref causes kernel crash only, so C:N/I:N; AC:L once local access exists despite needing memory pressure.

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

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
Jul 23, 2026 - 21:38 NVD
5.5 (MEDIUM)
Patch available
Jul 01, 2026 - 15:16 EUVD
CVE Published
Jul 01, 2026 - 13:32 nvd
MEDIUM 5.5
CVE Published
Jul 01, 2026 - 13:32 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/lru_sort: handle ctx allocation failure

DAMON_LRU_SORT allocates the damon_ctx object for its kdamond in its init function. damon_lru_sort_enabled_store() wrongly assumes the allocation will always succeed once tried. If the damon_ctx allocation was failed, therefore, code execution reaches to damon_commit_ctx() while 'ctx' is NULL. As a result, it dereferences the NULL 'ctx' pointer. Avoid the NULL dereference by returning -ENOMEM if 'ctx' is NULL.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel deployed across virtually all servers, containers, and embedded systems
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).

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
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
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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