Description
In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: cleanup attrs subdirs on context dir setup failure When a context DAMON sysfs directory setup is failed after setup of attrs/ directory, subdirectories of attrs/ 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.
Product status
c951cd3b89010c7a4751b9d4ea074007e44851e6 (git) before db7dfe78fc81bdd2b532d77f340fe453f2360426
c951cd3b89010c7a4751b9d4ea074007e44851e6 (git) before 43964644348f6b1add3055c4a6cae8f77d892a6e
c951cd3b89010c7a4751b9d4ea074007e44851e6 (git) before 5651c0c391c0029541794f9c4c9597faecfd401f
c951cd3b89010c7a4751b9d4ea074007e44851e6 (git) before 78b4eb99751ebd37ceade78810bf94de80f7fb3a
c951cd3b89010c7a4751b9d4ea074007e44851e6 (git) before 9814cc832b88bd040fc2a1817c2b5469d0f7e862
5.18
Any version before 5.18
6.1.162 (semver)
6.6.122 (semver)
6.12.67 (semver)
6.18.7 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/db7dfe78fc81bdd2b532d77f340fe453f2360426
git.kernel.org/...c/43964644348f6b1add3055c4a6cae8f77d892a6e
git.kernel.org/...c/5651c0c391c0029541794f9c4c9597faecfd401f
git.kernel.org/...c/78b4eb99751ebd37ceade78810bf94de80f7fb3a
git.kernel.org/...c/9814cc832b88bd040fc2a1817c2b5469d0f7e862