CVE-2025-38258: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write memcg_path_store() assigns a newly allocated memory buffer to filter->memcg_path, without deallocating the previously allocated and assigned memory buffer. As a result, users can leak kernel memory by continuously writing a data to memcg_path DAMOS sysfs file. Fix the leak by deallocating the previously set memory buffer.
Affected products
- Linux Linux Kernel: from 6.3, before 6.6.96 (fixed in 6.6.96); from 6.7, before 6.12.36 (fixed in 6.12.36); from 6.13, before 6.15.5 (fixed in 6.15.5); version 6.16 only
Published 2025-07-09. Last modified 2026-06-17.