In the Linux kernel, the following vulnerability has been resolved:
mm/damon/sysfs-schemes: free old damonsysfsschemefilter->memcgpath on write
memcgpathstore() assigns a newly allocated memory buffer to filter->memcgpath, without deallocating the previously allocated and assigned memory buffer. As a result, users can leak kernel memory by continuously writing a data to memcgpath DAMOS sysfs file. Fix the leak by deallocating the previously set memory buffer.