CVE-2026-90005

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/09/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> samples/damon/wsse: handle damon_start() failure<br /> <br /> Patch series "samples/damon: handle damon_{start,stop}() failures".<br /> <br /> All DAMON sample modules are not correctly handling failures from<br /> damon_start(). Among those, mtier also has an additional problem for<br /> handling of damon_stop() failures. wsse and prcl also have a problem in<br /> their damon_call() failure handling. As a result, memory leaks, next<br /> DAMON operation disruptions, and use-after-free can happen. Fix those.<br /> <br /> Note that only the damon_start() failure caused issues can reliably be<br /> reproduced. Reproducing those issues require the admin permission,<br /> though.<br /> <br /> <br /> This patch (of 6):<br /> <br /> damon_sample_wsse_start() callers assume it will clean up resources when<br /> it fails. And the function does the cleanup for context buildup failures.<br /> However, it is not doing the cleanup for damon_start() failure. As a<br /> result, when damon_start() fails, it leaks the memory for DAMON context. <br /> Free the context in case of the failure to fix the issues.<br /> <br /> Note that the issue can reliably be reproduced because the module calls<br /> damon_start() in the exclusive mode. For example,<br /> <br /> $ sudo damo start<br /> $ echo $$ | sudo tee /sys/module/damon_sample_wsse/parameters/target_pid<br /> $ echo Y | sudo tee /sys/module/damon_sample_wsse/parameters/enabled<br /> $ sudo cat /proc/allocinfo | grep damon_new_ctx<br /> <br /> Because the first command is running another DAMON instance, the third<br /> command fails the damon_start() call because the new DAMON instance cannot<br /> exclusively run. And without this fix, by repeating the third and the<br /> fourth commands above, we can show the memory consumption is only<br /> increasing due to the leaks. It requires the sudo permission though.<br /> <br /> The issue was discovered [1] by Sashiko.

Impact