CVE-2025-38258

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38258
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38258.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38258
Downstream
Related
Published
2025-07-09T11:15:28Z
Modified
2025-07-25T16:46:29.078155Z
Summary
[none]
Details

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.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.37-1

Affected versions

6.*

6.12.35-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}