Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

DEBIAN-CVE-2026-23012

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: remove call_control in inactive contexts If damon_call() is executed against a DAMON context that is not running, t...
Back to all
CVE

DEBIAN-CVE-2026-23012

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: remove call_control in inactive contexts If damon_call() is executed against a DAMON context that is not running, t...

In the Linux kernel, the following vulnerability has been resolved:  mm/damon/core: remove callcontrol in inactive contexts  If damoncall() is executed against a DAMON context that is not running, the function returns error while keeping the damoncallcontrol object linked to the context's callcontrols list.  Let's suppose the object is deallocated after the damoncall(), and yet another damoncall() is executed against the same context.  The function tries to add the new damoncallcontrol object to the callcontrols list, which still has the pointer to the previous damoncallcontrol object, which is deallocated.  As a result, use-after-free happens.  This can actually be triggered using the DAMON sysfs interface.  It is not easily exploitable since it requires the sysfs write permission and making a definitely weird file writes, though.  Please refer to the report for more details about the issue reproduction steps.  Fix the issue by making two changes.  Firstly, move the final kdamondcall() for cancelling all existing damoncall() requests from terminating DAMON context to be done before the ctx->kdamond reset.  This makes any code that sees NULL ctx->kdamond can safely assume the context may not access damoncall() requests anymore.  Secondly, let damoncall() to cleanup the damoncallcontrol objects that were added to the already-terminated DAMON context, before returning the error.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://security-tracker.debian.org/tracker/CVE-2026-23012

Severity

7.8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.8
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0
Fix Available
6.18.8-1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading