CVE-2025-38258mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
- 5.5MediumCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 16 months later
· 16 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 7ee161f18b5da5170b5d6a51aace49d312099128 – < 490a43d07f1663d827e802720d30cbc0494e4f81
- affected 7ee161f18b5da5170b5d6a51aace49d312099128 – < c5d5b0047b0c0f304608f3824139f7bd34c48413
- affected 7ee161f18b5da5170b5d6a51aace49d312099128 – < 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1
- affected 7ee161f18b5da5170b5d6a51aace49d312099128 – < 4f489fe6afb395dbc79840efa3c05440b760d883
- affected 6.3
- unaffected < 6.3
- unaffected 6.6.96 – ≤ 6.6.*
- unaffected 6.12.36 – ≤ 6.12.*
- unaffected 6.15.5 – ≤ 6.15.*
- unaffected 6.16 – ≤ *
References
References4
- https://git.kernel.org/stable/c/490a43d07f1663d827e802720d30cbc0494e4f81 (opens in a new tab)
- https://git.kernel.org/stable/c/c5d5b0047b0c0f304608f3824139f7bd34c48413 (opens in a new tab)
- https://git.kernel.org/stable/c/4a158ac0538dd5695eeaa00aa0720d711f3e4ef1 (opens in a new tab)
- https://git.kernel.org/stable/c/4f489fe6afb395dbc79840efa3c05440b760d883 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-20803 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-38258)Record last updated .