{"id":"DEBIAN-CVE-2025-38258","details":"In the Linux kernel, the following vulnerability has been resolved:  mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter-\u003ememcg_path on write  memcg_path_store() assigns a newly allocated memory buffer to filter-\u003ememcg_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.","modified":"2026-09-01T20:05:48.237362429Z","published":"2025-07-09T11:15:28.110Z","upstream":["CVE-2025-38258"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-38258"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.37-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38258.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.37-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38258.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}