In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-scheme: cleanup access_pattern subdirs on scheme dir setup failure When a DAMOS-scheme DAMON sysfs directory setup fails after setup of access_pattern/ directory, subdirectories of access_pattern/ directory are not cleaned up. As a result, DAMON sysfs interface is nearly broken until the system reboots, and the memory for the unremoved directory is leaked. Cleanup the directories under such failures.
https://git.kernel.org/stable/c/e9711bd0e64812c694a228cf58c9e6032decee54
https://git.kernel.org/stable/c/ae8ac0066b48ed957bdcab58f0d3543549c57a29
https://git.kernel.org/stable/c/725d4fdaa01bd1161782081f419e1568cc7432e0
https://git.kernel.org/stable/c/392b3d9d595f34877dd745b470c711e8ebcd225c
https://git.kernel.org/stable/c/16236b0b4a08fa3e326cf1373ef789dabdc2e30d