CVE-2026-31653

mm/damon/sysfs: dealloc repeat_call_control if damon_call() fails

State
Published
Severity
Not scored
Published
Apr 24, 2026
Updated
May 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

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

mm/damon/sysfs: dealloc repeat_call_control if damon_call() fails

damon_call() for repeat_call_control of DAMON_SYSFS could fail if somehow the kdamond is stopped before the damon_call(). It could happen, for example, when te damon context was made for monitroing of a virtual address processes, and the process is terminated immediately, before the damon_call() invocation. In the case, the dyanmically allocated repeat_call_control is not deallocated and leaked.

Fix the leak by deallocating the repeat_call_control under the damon_call() failure.

This issue is discovered by sashiko [1].

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 04a06b139ec08aa63d7377f6d3e5218f8ddb1c5d to before b9dadf026a9fb681ed32a0646adc10ab485bf3b1Affected
  • 04a06b139ec08aa63d7377f6d3e5218f8ddb1c5d to before 0655f5cf1735508394ef8af98ddcfab3ac1c1cc5Affected
  • 04a06b139ec08aa63d7377f6d3e5218f8ddb1c5d to before 0199390a6b92fc21860e1b858abf525c7e73b956Affected
LinuxLinux
  • 6.17Affected
  • before 6.17Not affected
  • 6.18.23 through 6.18.*Not affected
  • 6.19.13 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.