{"id":24693,"date":"2026-09-16T20:32:39","date_gmt":"2026-09-16T12:32:39","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90005"},"modified":"2026-09-16T20:32:39","modified_gmt":"2026-09-16T12:32:39","slug":"cve-2026-90005","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-90005","title":{"rendered":"CVE-2026-90005 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsamples\/damon\/wsse: h"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>samples\/damon\/wsse: handle damon_start() failure<\/p>\n<p>Patch series &#8220;samples\/damon: handle damon_{start,stop}() failures&#8221;.<\/p>\n<p>All DAMON sample modules are not correctly handling failures from<br \/>\ndamon_start().  Among those, mtier also has an additional problem for<br \/>\nhandling of damon_stop() failures.  wsse and prcl also have a problem in<br \/>\ntheir damon_call() failure handling.  As a result, memory leaks, next<br \/>\nDAMON operation disruptions, and use-after-free can happen.  Fix those.<\/p>\n<p>Note that only the damon_start() failure caused issues can reliably be<br \/>\nreproduced.  Reproducing those issues require the admin permission,<br \/>\nthough.<\/p>\n<p>This patch (of 6):<\/p>\n<p>damon_sample_wsse_start() callers assume it will clean up resources when<br \/>\nit fails.  And the function does the cleanup for context buildup failures.<br \/>\nHowever, it is not doing the cleanup for damon_start() failure.  As a<br \/>\nresult, when damon_start() fails, it leaks the memory for DAMON context.<br \/>\nFree the context in case of the failure to fix the issues.<\/p>\n<p>Note that the issue can reliably be reproduced because the module calls<br \/>\ndamon_start() in the exclusive mode.  For example,<\/p>\n<p>    $ sudo damo start<br \/>\n    $ echo $$ | sudo tee \/sys\/module\/damon_sample_wsse\/parameters\/target_pid<br \/>\n    $ echo Y | sudo tee \/sys\/module\/damon_sample_wsse\/parameters\/enabled<br \/>\n    $ sudo cat \/proc\/allocinfo | grep damon_new_ctx<\/p>\n<p>Because the first command is running another DAMON instance, the third<br \/>\ncommand fails the damon_start() call because the new DAMON instance cannot<br \/>\nexclusively run.  And without this fix, by repeating the third and the<br \/>\nfourth commands above, we can show the memory consumption is only<br \/>\nincreasing due to the leaks.  It requires the sudo permission though.<\/p>\n<p>The issue was discovered [1] by Sashiko.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>samples\/damon\/wsse: handle damon_start() failure<\/p>\n<p>Patch series &#8220;samples\/damon: handle damon_{start,stop}() failures&#8221;.<\/p>\n<p>All DAMON sa<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24693","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}