CVE-2026-46008·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: fix damos_walk() vs kdamond_fn() exit race When kdamond_fn() main loop is finished, the function cancels remaining damos_walk() request and unset the damon_ctx->kdamond so that API callers and API functions themselves can show the context is terminated. damos_walk() 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, damos_walk() starts waiting for the kdamond's handling of the newly added request. The damos_walk() requests registration and damon_ctx->kdamond unset are protected by different mutexes, though. Hence, damos_walk() could race with damon_ctx->kdamond unset, and result in deadlocks. For example, let's suppose kdamond successfully finished the damow_walk() request cancelling. Right after that, damos_walk() 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 damos_walk() 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 damos_walk() caller thread infinitely waits. Fix this by introducing another damon_ctx field, namely walk_control_obsolete. It is protected by the damon_ctx->walk_control_lock, which protects damos_walk() request registration. Initialize (unset) it in kdamond_fn() before letting damon_start() returns and set it just before the cancelling of the remaining damos_walk() request is executed. damos_walk() 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. The issue is found by sashiko [1].
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.11% — higher than 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.14
Until: 7.0.4
Fixed in: 7.0.4
How to fix this CVE
Update your Linux kernel to version 7.0.4 or later to resolve a race condition in the DAMON memory monitoring subsystem that could cause system hangs. This vulnerability affects kernel versions 6.14 through 7.0.3 and requires a kernel upgrade followed by a system reboot to take effect.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if DAMON is enabled in your kernel config: grep CONFIG_DAMON /boot/config-$(uname -r) | grep -c '^CONFIG_DAMON=y'
- Monitor system logs for hung task warnings related to damos_walk: sudo dmesg | grep -i 'hung task\|damos_walk\|kdamond' | head -20
- Confirm the patch is applied by checking kernel release notes: cat /proc/version && uname -a
FAQ
What is CVE-2026-46008?
This vulnerability is a race condition in the Linux kernel's DAMON (Data Access Monitoring) subsystem where the damos_walk() function and kdamond_fn() termination process compete for control without proper synchronization, leading to potential deadlocks and infinite waits.
Is CVE-2026-46008 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, it can impact system stability for users relying on DAMON functionality.
What versions of Kernel are affected by CVE-2026-46008?
Linux kernel versions 6.14 through 7.0.3 are vulnerable. The issue is resolved in kernel 7.0.4 and later.
How do I check if my server is vulnerable to CVE-2026-46008?
Run 'uname -r' to see your kernel version. If it shows 6.14.x through 7.0.3, your system is vulnerable. Additionally, check if DAMON is enabled with: grep CONFIG_DAMON /boot/config-$(uname -r)
Does Defensia detect CVE-2026-46008?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-46008 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46008. Free for 1 server.
Get started free