Skip to main content

Linux Kernel EUVDEUVD-2026-25545

| CVE-2026-31652 HIGH
Use After Free (CWE-416)
2026-04-24 Linux GHSA-jp52-g472-3cpx
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local privileged shell
  2. Delivery
    Access DAMON stat 'enabled' control
  3. Exploit
    Trigger damon_call() failure on start
  4. Execution
    Re-write 'Y' to leak damon_ctx
  5. Persist
    Repeat to exhaust memory or race kdamond
  6. Impact
    Denial of service or use-after-free

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Requires local access to a host running a vulnerable kernel with the DAMON stat module present, and the ability to write to DAMON's 'enabled' control (typically root/CAP_SYS_ADMIN-equivalent on default configurations). The specific trigger is: damon_call() inside damon_stat_start() must FAIL, after which the user re-enables the feature by writing 'Y' to 'enabled' - that re-invocation is what leaks the previously allocated damon_ctx, and reaching the use-after-free additionally requires the kdamond thread to still be running (not yet terminated) when the ctx would be freed. Limiting factors: exploitation is local only (AV:L), needs privileged access to the DAMON interface, depends on a damon_call() failure that does not occur in normal operation, and the UAF requires winning a race against kdamond termination - so realistic impact is a slow memory leak rather than reliable memory corruption.

Impact

The signals are consistent and point to LOW real-world priority despite the 7.8 CVSS. The vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H requires local access with some privilege (PR:L) and no user interaction, but exploitation depends on reaching the DAMON control interface, which typically demands root/CAP_ADMIN-level access on default systems, and on damon_call() actually failing - an uncommon precondition. EPSS is 0.02% (4th percentile), the CVE is NOT on CISA KEV, and no POC is referenced, so there is no evidence of active or automatable exploitation. The C:H/I:H/A:H rating appears optimistic for the described defect, which manifests primarily as a memory leak; the use-after-free that could justify high confidentiality/integrity impact requires winning a narrow race against kdamond termination, which the patch prevents. Net: this is a defense-in-depth kernel hardening fix, not an urgent externally-exploitable threat.

Exploit ScenarioDerived

A local user with sufficient privilege to control the DAMON stat interface writes 'Y' to 'enabled' under conditions where damon_call() fails, then writes 'Y' again; each cycle leaks a damon_ctx, and in the pre-fix race window a not-yet-terminated kdamond could dereference freed memory. Repeated over time this exhausts kernel memory (denial of service) or, in the worst race case, produces a use-after-free. No public exploit is identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Jul 24, 2026

Memory leak (with latent use-after-free risk) in the Linux kernel's DAMON monitoring subsystem (mm/damon/stat) allows a local, privileged user to leak damon_ctx objects and potentially trigger use-after-free by repeatedly toggling the DAMON_STAT 'enabled' control after a damon_call() failure. Affected are kernels on the 6.17-6.19 line prior to the stable fixes; the flaw is classified CWE-416 (Use After Free). There is no public exploit identified at time of analysis, and EPSS is negligible (0.02%, 4th percentile).

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 6.18.23, 6.19.13, or 7.0 (or later), or apply the corresponding upstream commits (447f8870b484..., 16c92e9bf55f..., 4c04c6b47c36...) available at git.kernel.org. Track your distribution's advisory (Red Hat and SUSE builds are expected to carry the backport) and reboot into the patched kernel. If immediate patching is not possible, a targeted compensating control is to disable or avoid enabling the DAMON stat feature - do not write 'Y' to the DAMON_STAT 'enabled' control - which prevents the leak path entirely at the cost of losing DAMON access-monitoring statistics; additionally, restrict access to DAMON's sysfs/debugfs control interfaces to trusted root-only contexts so unprivileged or containerized workloads cannot toggle it. These mitigations only reduce exposure and are not a substitute for the kernel update.

Affected VersionsENISA

Linux patch: 6.18.23
Linux patch: 0
Linux 6.17
Linux 405f61996d9d2e9d497cd9f6b66f41dc28d3d1d8 <447f8870b484f6596d7a7130e72bd0a3f1e037bb
Linux 405f61996d9d2e9d497cd9f6b66f41dc28d3d1d8 <16c92e9bf55fa049ddb5e894dc0623dacd46a620
Linux patch: 6.19.13
Linux 405f61996d9d2e9d497cd9f6b66f41dc28d3d1d8 <4c04c6b47c361612b1d70cec8f7a60b1482d1400
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

DAMON (Data Access MONitor) is a Linux kernel data-access monitoring framework; its 'stat' module (mm/damon/stat.c) exposes an 'enabled' sysfs-style toggle that, when set, calls damon_stat_start() to allocate a damon_ctx (damon_stat_context) and register it via damon_call(). The root cause is a resource/lifetime management error: on damon_call() failure the allocated damon_ctx is never freed, so re-enabling leaks it. Naively freeing it on failure is unsafe because the kdamond kernel thread may still hold and dereference the ctx, which is the CWE-416 use-after-free hazard the fix explicitly guards against by deferring deallocation until the kdamond has fully terminated (returning -EAGAIN otherwise). The CPE data lists only the generic cpe:2.3:a:linux:linux:*, so exact affected boundaries come from the commit/version metadata rather than CPE.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 1.9 LOW

DAMON control needs root-level local access (PR:H), the UAF needs winning a race against kdamond termination (AC:H), and the realistic impact is a memory leak (A:L, no C/I).

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Apr 27, 2026 - 20:22 NVD
7.8 (HIGH)
Patch released
Apr 27, 2026 - 20:16 nvd
Patch available
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:45 nvd
HIGH 7.8

DescriptionNVD

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

mm/damon/stat: deallocate damon_call() failure leaking damon_ctx

damon_stat_start() always allocates the module's damon_ctx object (damon_stat_context). Meanwhile, if damon_call() in the function fails, the damon_ctx object is not deallocated. Hence, if the damon_call() is failed, and the user writes Y to “enabled” again, the previously allocated damon_ctx object is leaked.

This cannot simply be fixed by deallocating the damon_ctx object when damon_call() fails. That's because damon_call() failure doesn't guarantee the kdamond main function, which accesses the damon_ctx object, is completely finished. In other words, if damon_stat_start() deallocates the damon_ctx object after damon_call() failure, the not-yet-terminated kdamond could access the freed memory (use-after-free).

Fix the leak while avoiding the use-after-free by keeping returning damon_stat_start() without deallocating the damon_ctx object after damon_call() failure, but deallocating it when the function is invoked again and the kdamond is completely terminated. If the kdamond is not yet terminated, simply return -EAGAIN, as the kdamond will soon be terminated.

The issue was discovered [1] by sashiko.

Executive ViewAI

Why It Matters

Linux server environments running kernel versions 6.17-6.19 contain a low-probability memory management vulnerability in the DAMON subsystem. Privileged system users could potentially exploit this to cause system crashes or instability; however, no public exploit has been identified at time of analysis, and real-world exploitation likelihood is negligible at 0.02% (EPSS). Vendors have released patches suitable for standard patch management deployment cycles.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel runs almost everywhere, though the DAMON_STAT feature is rarely enabled
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Low

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
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