VDB

CVE-2026-23012

CVE-2026-23012 PUBLISHED

mm/damon/core: remove call_control in inactive contexts

Reported by linux · Published January 25, 2026

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, the function returns error while keeping the damon_call_control object linked to the context's call_controls list. Let's suppose the object is deallocated after the damon_call(), and yet another damon_call() is executed against the same context. The function tries to add the new damon_call_control object to the call_controls list, which still has the pointer to the previous damon_call_control 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 kdamond_call() for cancelling all existing damon_call() 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 damon_call() requests anymore. Secondly, let damon_call() to cleanup the damon_call_control objects that were added to the already-terminated DAMON context, before returning the error.

EPSS 0.18% · 7.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxf9132fbc2e83baf2c45a77043672a63a675c9394, 6.17, 23b061f421eef03647b512f3df48861706c87db3

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinux004ded6bee11b8ed463cdc54b89a4390f4b64f6d, 004ded6bee11b8ed463cdc54b89a4390f4b64f6d
LinuxLinux6.17, 0, 6.18.7
LinuxLinux6.19, 0, 6.18.7
linuxlinux_kernel6.17, 6.17

Timeline

  • Jan 25, 2026 CVE Published
  • Jan 25, 2026 PoC Published (2 in total, the first dated here)
  • Jan 26, 2026 EPSS Score (30 in total, the first dated here)
  • Jan 30, 2026 Security Advisory (116 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
  • May 11, 2026 CVE Updated
  • Oct 4, 2026 Distribution Patch (114 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23012
vulnetix vdb fixes CVE-2026-23012

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23012/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›