Skip to main content

Linux Kernel CVE-2026-31459

| EUVDEUVD-2026-24798 MEDIUM
Memory Leak (CWE-401)
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-6c8g-q98p-w229
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 system access
  2. Delivery
    Identify DAMON_SYSFS control interface
  3. Exploit
    Write malformed config to trigger allocation failure
  4. Execution
    Leak param_ctx via early return
  5. Persist
    Repeat to exhaust heap memory
  6. Impact
    Trigger OOM killer

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires a local authenticated user account (PR:L) with permissions to access and write to DAMON_SYSFS control files under /sys/kernel/debug/damon/ or equivalent sysfs paths. The user must execute a deliberate sequence of control operations that specifically triggers damon_sysfs_new_test_ctx() to fail during memory allocation - accidental or normal usage patterns do not trigger the leak. The DAMON_SYSFS subsystem must be compiled into the kernel and enabled (CONFIG_DAMON_SYSFS=y) at build time. This is not a default-configuration vulnerability; systems with DAMON_SYSFS disabled are unaffected. No remote exploitation is possible (AV:L enforces local-only access). Kernel address space layout randomization (ASLR) and SELinux/AppArmor policies may provide additional practical barriers by restricting sysfs access to unprivileged users.

Impact

This vulnerability presents low real-world risk despite a CVSS score of 5.5. The EPSS score of 0.02% (4th percentile) indicates very low probability of exploitation in the wild. Exploitation requires local access (AV:L), low privilege (PR:L - authenticated user or privileged user), and no user interaction (UI:N), limiting attack surface to legitimate local users with system access. The impact is denial of service via memory exhaustion (A:H), not confidentiality or integrity breach. No KEV status is provided, indicating no confirmed active exploitation. The attack requires deliberate malicious sequence of sysfs control operations, not passive or accidental triggering. This is a code quality issue that poses risk primarily in long-running systems where repeated exploitation could degrade performance, but exploitation requires local presence and intentional action. The very low EPSS score suggests this is not a practical exploitation target compared to higher-impact vulnerabilities.

Exploit ScenarioDerived

An authenticated local user with access to sysfs writes a sequence of commands to DAMON_SYSFS control interfaces that triggers damon_sysfs_new_test_ctx() failure, such as memory allocation pressure or invalid configuration parameters. The failed function returns early, bypassing cleanup code, leaving param_ctx allocated but unreferenced in kernel memory. Repeated exploitation causes cumulative memory leaks, eventually exhausting available system memory and triggering out-of-memory (OOM) conditions, causing system slowdown or forced termination of processes.

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

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

Alert me

AnalysisAIv1 – May 06, 2026

Memory leak in Linux kernel DAMON subsystem allows local authenticated users to exhaust system memory via failed allocation in damon_sysfs_new_test_ctx(), causing denial of service. The vulnerability affects kernel versions 6.17.6 through 7.0-rc1 when DAMON_SYSFS is enabled. A privileged user can trigger the leak by making specific control sequences that cause early function returns, bypassing cleanup code and leaving param_ctx unfreed.

RemediationAI

Apply stable kernel patch versions 6.18.21, 6.19.11, or 7.0 as appropriate for your kernel series, available from https://git.kernel.org/stable/ via commits 7fe000eb32904758a85e62f6ea9483f89d5dabfc, e9de9f3ce06b133a348006668bc8d25c6e504867, or f76f0a964bc3d7b7e253b43c669c41356bc54e71. The fix adds explicit param_ctx cleanup in the error path of damon_sysfs_commit_input() before the early return statement. For systems unable to immediately upgrade, restrict access to DAMON_SYSFS control interfaces by limiting file permissions on /sys/kernel/debug/damon/ to trusted administrators only, or disable the DAMON_SYSFS subsystem entirely via kernel configuration (CONFIG_DAMON_SYSFS=n) if the feature is not required. Note that disabling DAMON_SYSFS requires kernel recompilation or boot-time reconfiguration.

Affected VersionsENISA

Linux f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f <e9de9f3ce06b133a348006668bc8d25c6e504867
Linux patch: 6.18.21
Linux patch: 6.19.11
Linux f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f <7fe000eb32904758a85e62f6ea9483f89d5dabfc
Linux patch: 0
Linux f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f <f76f0a964bc3d7b7e253b43c669c41356bc54e71
Linux 5b3609d9b9650bdea0bfdf643e0ce57e1aed67fc
Linux 6.18
Linux patch: 7.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 DAMON (Data Access Monitoring) subsystem in the Linux kernel includes a sysfs interface (DAMON_SYSFS) for userspace interaction. The vulnerable code path involves damon_sysfs_commit_input() calling damon_sysfs_new_test_ctx(), which can fail during memory allocation. The root cause is a CWE-401 (Missing Release of Memory after Effective Lifetime) issue where an early return statement in the error path skips the cleanup label that would normally deallocate param_ctx. This is a classic resource leak vulnerability in kernel memory management where allocation failure handling fails to release previously allocated data structures before returning to the caller.

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

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

5
CVSS changed
May 06, 2026 - 19:52 NVD
5.5 (MEDIUM)
Patch released
Apr 23, 2026 - 16:17 nvd
Patch available
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
N/A
CVE Published
Apr 22, 2026 - 14:16 nvd
MEDIUM 5.5

DescriptionNVD

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

mm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure

Patch series "mm/damon/sysfs: fix memory leak and NULL dereference issues", v4.

DAMON_SYSFS can leak memory under allocation failure, and do NULL pointer dereference when a privileged user make wrong sequences of control. Fix those.

This patch (of 3):

When damon_sysfs_new_test_ctx() fails in damon_sysfs_commit_input(), param_ctx is leaked because the early return skips the cleanup at the out label. Destroy param_ctx before returning.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
6 sources
Confidence: High

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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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

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

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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