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.
Metrics
Affected Vendors & Products
References
History
Thu, 10 Jul 2025 00:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Wed, 09 Jul 2025 10:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | 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. | |
Title | mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write | |
References |
|

Status: PUBLISHED
Assigner: Linux
Published: 2025-07-09T10:42:35.000Z
Updated: 2025-07-09T10:42:35.000Z
Reserved: 2025-04-16T04:51:23.997Z
Link: CVE-2025-38258

No data.

Status : Awaiting Analysis
Published: 2025-07-09T11:15:28.110
Modified: 2025-07-10T13:17:30.017
Link: CVE-2025-38258
