CVE-2025-38258

mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write

published July 9, 2025

CVSS
—
EPSS
0%
Percentile
5.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.5th percentile
Published
2025-07-09T10:42Z
EPSS history
Timeline
  • 09 JUL 10:42Z
    mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
    cvelistv5