Skip to main content

Linux Kernel EUVDEUVD-2026-32406

| CVE-2026-46025 MEDIUM
Race Condition (CWE-362)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-rhpm-rxf4-q3hf
4.7
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
  2. Delivery
    Initiate DAMON monitoring session via sysfs
  3. Exploit
    Invoke damon_call() API during kdamond teardown window
  4. Execution
    Win race between request registration and kdamond pointer unset
  5. Persist
    Trigger indefinite block in calling kernel thread
  6. Impact
    Cause availability denial (deadlock or memory leak)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

Exploitation requires local system access with at least low-privilege permissions sufficient to interact with the DAMON subsystem API (e.g., via /sys/kernel/mm/damon/ sysfs entries or kernel module interfaces). The DAMON subsystem must be compiled into the kernel (CONFIG_DAMON) and actively running a kdamond monitoring context. The race window is inherently narrow - the attacker must invoke damon_call() within the brief interval after kdamond_fn() cancels pending requests but before it clears damon_ctx->kdamond - making reliable triggering difficult (AC:H per CVSS). The memory leak variant additionally requires the damon_call() request to be issued in repeat mode with the dealloc_on_cancel flag set. Exploitation is not possible remotely, not possible without local shell or equivalent access, and is not triggered by default kernel operation without an active DAMON monitoring session.

Impact

Real-world risk is low despite the kernel-level impact. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) correctly reflects local access, high attack complexity, and low privilege requirements - all of which materially constrain exploitability. EPSS at 0.02% (4th percentile) independently corroborates that automated or widespread exploitation is not observed. The vulnerability is not listed in CISA KEV, and no public exploit code has been identified. The high attack complexity stems from the need to win a narrow race window between two kernel control paths, making reliable triggering difficult even with local access. Impact is limited to availability (deadlock or memory leak); there is no confidentiality or integrity impact per the CVSS vector, which is consistent with the description. One metadata discrepancy warrants attention: the input tags include 'Information Disclosure,' which conflicts with both the CVSS C:N metric and the description (which describes only deadlock and memory leak, not data exposure) - this tag appears to be a metadata classification error and should not influence risk posture. This vulnerability is primarily a kernel stability and reliability concern for deployments that actively use the DAMON API, rather than a privilege escalation or data exposure risk.

Exploit ScenarioDerived

A local low-privileged process on a system using DAMON monitoring (e.g., via the sysfs interface) issues a damon_call() invocation at the precise moment a kdamond monitoring thread is completing its final iteration and beginning its teardown sequence. The call registers a new request after the kdamond has cancelled the pending queue but before it clears the damon_ctx->kdamond pointer - causing the calling thread to enter an indefinite wait on a completion event that will never fire, effectively deadlocking that kernel thread. No public 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.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 16, 2026

Deadlock and memory leak in the Linux kernel DAMON subsystem arise from a race condition between damon_call() request registration and kdamond_fn() thread exit, affecting systems using the Data Access MONitor (DAMON) API. A local low-privileged process can trigger the race at precisely the moment a kdamond thread is terminating - causing the calling thread to wait indefinitely for a handler that has already exited, resulting in a kernel-level availability denial. No active exploitation is confirmed (EPSS 0.02%, not in CISA KEV), and the high attack complexity required to win the race significantly constrains real-world risk.

RemediationAI

The primary remediation is to upgrade to a patched Linux kernel version: 6.18.27, 7.0.4, or 7.1-rc1 or later, as the fix has been backported to multiple stable trees. The patch introduces a new damon_ctx field (call_controls_obsolete), protected by the same call_controls_lock mutex used for request registration, which allows damon_call() to detect an in-progress kdamond termination and abort before registering a request that will never be handled. Patch commits are available directly at the kernel.org stable tree URLs referenced above. For systems that cannot be immediately patched, a practical compensating control is to avoid invoking DAMON userspace APIs (e.g., via DAMON sysfs interface under /sys/kernel/mm/damon/) during periods when kdamond threads are expected to stop - for example, disabling DAMON monitoring before system shutdown or workload termination sequences. There is no known in-kernel configuration knob to disable this specific race path without disabling DAMON entirely. Disabling DAMON (by not loading or configuring any DAMON contexts) is an effective workaround for deployments that do not require memory access monitoring, with the trade-off of losing DAMON-based memory management benefits. Upstream vendor advisory is tracked under EUVD-2026-32406.

Affected VersionsENISA

Linux patch: 0
Linux patch: 6.18.27
Linux patch: 7.1-rc1
Linux 42b7491af14cbba2393329ce43d508a957bd94fa <55da81663b9642dd046b26dd6f1baddbcf337c1e
Linux 42b7491af14cbba2393329ce43d508a957bd94fa <e6a053a6f4b5048746c49432a5cc5b79fe4695fe
Linux 6.14
Linux patch: 7.0.4
Linux 42b7491af14cbba2393329ce43d508a957bd94fa <2691332ad88b57179c38653e2cd613d5820a52cf

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 subsystem (mm/damon/) used for monitoring memory access patterns, leveraged by features such as DAMOS (DAMON-based Operation Schemes). The vulnerability exists because damon_call() request registration and the damon_ctx->kdamond pointer unset are protected by two different mutexes. This synchronization gap creates a TOCTOU (Time-of-Check Time-of-Use) window: damon_call() first enqueues a new request, then reads damon_ctx->kdamond to confirm the kdamond thread is still running. However, the kdamond may have already cancelled all pending requests and be in the process of unsetting damon_ctx->kdamond under a separate lock. The result is a newly registered request that will never be serviced, causing an infinite block. A secondary variant affects repeat-mode requests with dealloc_on_cancel set - these avoid the deadlock path but leak the request allocation. CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization) precisely describes this root cause: two control paths operating on shared state with insufficient lock coupling. Affected products per CPE are cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*, spanning kernel versions from the introducing commit 42b7491af14cbba2393329ce43d508a957bd94fa through the stable branches fixed in 6.18.27, 7.0.4, and 7.1-rc1.

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

Local access and low privilege required to reach DAMON APIs; high complexity reflects the narrow race window; only availability is affected via deadlock.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
CVSS changed
Jun 16, 2026 - 16:07 NVD
4.7 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

mm/damon/core: fix damon_call() vs kdamond_fn() exit race

Patch series "mm/damon/core: fix damon_call()/damos_walk() vs kdmond exit race".

damon_call() and damos_walk() can leak memory and/or deadlock when they race with kdamond terminations. Fix those.

This patch (of 2);

When kdamond_fn() main loop is finished, the function cancels all remaining damon_call() requests and unset the damon_ctx->kdamond so that API callers and API functions themselves can know the context is terminated. damon_call() adds the caller's request to the queue first. After that, it shows if the kdamond of the damon_ctx is still running (damon_ctx->kdamond is set). Only if the kdamond is running, damon_call() starts waiting for the kdamond's handling of the newly added request.

The damon_call() requests registration and damon_ctx->kdamond unset are protected by different mutexes, though. Hence, damon_call() could race with damon_ctx->kdamond unset, and result in deadlocks.

For example, let's suppose kdamond successfully finished the damon_call() requests cancelling. Right after that, damon_call() is called for the context. It registers the new request, and shows the context is still running, because damon_ctx->kdamond unset is not yet done. Hence the damon_call() caller starts waiting for the handling of the request. However, the kdamond is already on the termination steps, so it never handles the new request. As a result, the damon_call() caller threads infinitely waits.

Fix this by introducing another damon_ctx field, namely call_controls_obsolete. It is protected by the damon_ctx->call_controls_lock, which protects damon_call() requests registration. Initialize (unset) it in kdamond_fn() before letting damon_start() returns and set it just before the cancelling of remaining damon_call() requests is executed. damon_call() reads the obsolete field under the lock and avoids adding a new request.

After this change, only requests that are guaranteed to be handled or cancelled are registered. Hence the after-registration DAMON context termination check is no longer needed. Remove it together.

Note that the deadlock will not happen when damon_call() is called for repeat mode request. In tis case, damon_call() returns instead of waiting for the handling when the request registration succeeds and it shows the kdamond is running. However, if the request also has dealloc_on_cancel, the request memory would be leaked.

The issue is found by sashiko [1].

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
4 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.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

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

Attack Technique

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

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Vendor StatusVendor

SUSE

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

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