5.5

CVE-2025-38258: mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write

Analyzed
AliasesUBUNTU-CVE-2025-38258DEBIAN-CVE-2025-38258
Published 09-07-2025Last modified 11-05-2026

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.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.17%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 29 · Related 27

Timeline

  1. 09-07-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

31 links
Show all 31 references