CVE-2025-38258: mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
Vulnerability summary
CVE-2025-38258 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.8% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 29 · Related 27Timeline
- 09-07-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu120 products
- linux< 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < 490a43d07f1663d827e802720d30cbc0494e4f81 | ≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < c5d5b0047b0c0f304608f3824139f7bd34c48413 | ≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1 | ≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < 4f489fe6afb395dbc79840efa3c05440b760d883 | 6.3
- linux_kernel≥ 6.3, < 6.6.96 | ≥ 6.7, < 6.12.36 | ≥ 6.13, < 6.15.5 | 6.16:rc1 | 6.16:rc2 | 6.16:rc3
Debian1 product
- linux< 6.12.37-1
3 vendors · 123 products