mm/damon/sysfs: dealloc repeat_call_control if damon_call() fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b9dadf026a9fb681ed32a0646adc10ab485bf3b1, Kernel 6.19.13, Kernel 0655f5cf1735508394ef8af98ddcfab3ac1c1cc5 and 2 more.
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].
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=04a06b139ec08aa63d7377f6d3e5218f8ddb1c5d <b9dadf026a9fb681ed32a0646adc10ab485bf3b1, >=6.19 <6.19.13, =6.17, =7.0, >=04a06b139ec08aa63d7377f6d3e5218f8ddb1c5d <0655f5cf1735508394ef8af98ddcfab3ac1c1cc5, >=6.17.1 <6.18.23, >=04a06b139ec08aa63d7377f6d3e5218f8ddb1c5d <0199390a6b92fc21860e1b858abf525c7e73b956 | b9dadf026a9fb681ed32a0646adc10ab485bf3b1, 6.19.13, 0655f5cf1735508394ef8af98ddcfab3ac1c1cc5, 6.18.23, 0199390a6b92fc21860e1b858abf525c7e73b956 |
| linux-kernel: Kernel | >=6.17.0 <6.18.23, >=6.19.0 <6.19.13 | 6.18.23, 6.19.13 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket