CVE-2026-23012: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-23012 is a use-after-free (UAF) vulnerability in the Linux kernel's DAMON (Data Access Monitoring) subsystem, specifically in the mm/damon/core module. When damon_call() is invoked against an inactive DAMON context, it returns an error but leaves the damon_call_control object linked to the context's call_controls list; if that object is subsequently deallocated and damon_call() is called again, the kernel accesses freed memory. Affected versions include Linux kernel 6.17, 6.17.1 through 6.18.6, and 6.19-rc1 through 6.19-rc5. The vulnerability was published on January 25, 2026, with NVD initial analysis completed March 25, 2026, and carries a CVSS v3.1 base score of 7.8 (High) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is a use-after-free condition (CWE-416) in the damon_call() function within mm/damon/core. When called against a non-running DAMON context, the function fails to remove the damon_call_control object from the context's call_controls linked list before returning an error. If the caller deallocates this object and subsequently invokes damon_call() again on the same context, the kernel attempts to insert a new damon_call_control into a list that still holds a dangling pointer to the freed object, triggering the UAF. The vulnerability is triggerable via the DAMON sysfs interface (e.g., /sys/kernel/mm/damon/) by a local user with sysfs write permissions performing an unusual sequence of file writes. The fix involves two changes: moving kdamond_call() cancellation before the ctx->kdamond reset, and ensuring damon_call() cleans up damon_call_control objects added to already-terminated contexts before returning (Red Hat Bugzilla, kernel.org patch 1, kernel.org patch 2).

Impact

Successful exploitation can lead to memory corruption, enabling a local attacker with sysfs write permissions to achieve privilege escalation, information disclosure, or arbitrary code execution within the kernel context. The vulnerability affects confidentiality, integrity, and availability at a high level, as corrupted kernel memory can be leveraged to read sensitive kernel data, modify kernel structures, or crash the system. While exploitation requires local access and specific sysfs write permissions, a compromised low-privileged user account on an affected system could potentially escalate to root (Red Hat Advisory).

Exploitability

There is no public proof-of-concept exploit or evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for local access and sysfs write permissions, as well as the need to perform a specific, non-obvious sequence of file writes to the DAMON sysfs interface, making opportunistic exploitation unlikely. The EPSS score is approximately 0.018% (0.000180), reflecting very low probability of exploitation in the near term (Red Hat Advisory).

Exploitation steps

  1. Gain local access: Obtain a local user account on a vulnerable Linux system (kernel 6.17–6.18.6 or 6.19-rc1 through 6.19-rc5) with write permissions to the DAMON sysfs interface (e.g., /sys/kernel/mm/damon/).
  2. Initialize a DAMON context: Write to the appropriate DAMON sysfs files to create and configure a DAMON monitoring context without starting the kdamond thread, leaving the context in an inactive state.
  3. Trigger the first damon_call(): Perform a sysfs write operation that internally invokes damon_call() against the inactive context, causing it to return an error while leaving the damon_call_control object linked in the call_controls list.
  4. Deallocate the control object: Allow or trigger the deallocation of the damon_call_control object (e.g., by completing the sysfs operation that allocated it), leaving a dangling pointer in the list.
  5. Trigger the second damon_call(): Perform another sysfs write that invokes damon_call() on the same context, causing the kernel to access the freed memory and triggering the use-after-free condition.
  6. Exploit memory corruption: Leverage the UAF to achieve kernel memory read/write primitives, potentially enabling privilege escalation to root or arbitrary code execution in kernel space (Red Hat Bugzilla).

Indicators of compromise

  • Logs: Kernel oops or BUG messages in dmesg or /var/log/kern.log referencing mm/damon/core.c or damon_call; KASAN (Kernel Address Sanitizer) reports indicating use-after-free in DAMON-related functions.
  • File System / sysfs: Unusual or repeated writes to DAMON sysfs paths such as /sys/kernel/mm/damon/admin/kdamonds/*/contexts/*/operations or related control files by non-root users.
  • Process: Unexpected privilege escalation events from processes interacting with DAMON sysfs; processes with low privileges accessing /sys/kernel/mm/damon/ in an anomalous pattern.

Mitigation and workarounds

Update the Linux kernel to version 6.18.7 or later (stable branch), or 6.19-rc6 or later (development branch). Patches have been committed to the stable kernel tree at commits 23b061f421eef03647b512f3df48861706c87db3 (for the 6.18.x branch) and f9132fbc2e83baf2c45a77043672a63a675c9394 (kernel.org patch 1, kernel.org patch 2). As a workaround for systems that cannot be immediately patched, restrict sysfs write permissions on DAMON-related paths (e.g., /sys/kernel/mm/damon/) to trusted administrative users only, and monitor for unusual access patterns to these interfaces (Red Hat Advisory).

Community reactions

The vulnerability received standard tracking from Red Hat's Product Security team via Bugzilla, with an upstream kernel advisory referenced at the linux-cve-announce mailing list. No notable independent researcher commentary, media coverage, or significant social media discussion beyond automated CVE tracking posts has been identified for this vulnerability.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 6.18.8-1

Fixed

trixie

linux

Fixed

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116612HIGH7.8
  • Linux Debian logoLinux Debian
  • gstreamer-editing-services1.0
NoYesOct 26, 2026
CVE-2026-115909HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115907HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115910MEDIUM6.8
  • Python logoPython
  • social-auth-core
NoYesOct 26, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management