CVE-2025-38258
mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| Linux Linux |
≥ 7ee161f18b5da5170b5d6a51aace49d312099128; < 490a43d07f1663d827e802720d30cbc0494e4f81 (affected, git) ≥ 7ee161f18b5da5170b5d6a51aace49d312099128; < c5d5b0047b0c0f304608f3824139f7bd34c48413 (affected, git) ≥ 7ee161f18b5da5170b5d6a51aace49d312099128; < 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1 (affected, git) ≥ 7ee161f18b5da5170b5d6a51aace49d312099128; < 4f489fe6afb395dbc79840efa3c05440b760d883 (affected, git) Other versions: unaffected |
CNA: Linux |
| Linux Linux |
6.3 (affected) ≥ 0; < 6.3 (unaffected, semver) ≥ 6.6.96; ≤ 6.6.* (unaffected, semver) ≥ 6.12.36; ≤ 6.12.* (unaffected, semver) ≥ 6.15.5; ≤ 6.15.* (unaffected, semver) ≥ 6.16; ≤ * (unaffected, original_commit_for_fix) Other versions: affected |
CNA: Linux |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
No CVSS assessment reported. An unscored record is not a low-severity determination.
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://git.kernel.org/stable/c/490a43d07f1663d827e802720d30cbc0494e4f81CNA: Linux
- https://git.kernel.org/stable/c/c5d5b0047b0c0f304608f3824139f7bd34c48413CNA: Linux
- https://git.kernel.org/stable/c/4a158ac0538dd5695eeaa00aa0720d711f3e4ef1CNA: Linux
- https://git.kernel.org/stable/c/4f489fe6afb395dbc79840efa3c05440b760d883CNA: Linux
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.