Skip to main content
VulnerabilityPublished Updated

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

Source GCVE Database

0
Compare
Authoritative record:CVE-2025-38258· Low

Not known to be exploited · CVSS 5.5 Low · fixed in c5d5b0047b0c0f304608f3824139f7bd34c48413 : update Linux kernel when convenient.

Data as of 13 Nov 2026, 20:42 UTC

CVSS 3.1 base score
5.5Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
Patch
Available – fixed in c5d5b0047b0c0f304608f3824139f7bd34c48413, 490a43d07f1663d827e802720d30cbc0494e4f81, 4f489fe6afb395dbc79840efa3c05440b760d883 +1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade Linux kernel to c5d5b0047b0c0f304608f3824139f7bd34c48413, 490a43d07f1663d827e802720d30cbc0494e4f81, 4f489fe6afb395dbc79840efa3c05440b760d883 or 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < c5d5b0047b0c0f304608f3824139f7bd34c48413
Fixed in
  • c5d5b0047b0c0f304608f3824139f7bd34c48413
LinuxLinuxAffected
  • ≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < 490a43d07f1663d827e802720d30cbc0494e4f81
Fixed in
  • 490a43d07f1663d827e802720d30cbc0494e4f81
LinuxLinuxAffected
  • ≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < 4f489fe6afb395dbc79840efa3c05440b760d883
Fixed in
  • 4f489fe6afb395dbc79840efa3c05440b760d883
LinuxLinuxAffected
  • ≥ 7ee161f18b5da5170b5d6a51aace49d312099128, < 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1
Fixed in
  • 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1
LinuxLinuxAffected
  • =6.3
Fixed in–

AI-suggested

A fix has been implemented in the Linux kernel to properly free the old memory buffer when writing to memcg_path, eliminating the memory leak. Users should update to the fixed kernel version once available. No other mitigation steps are indicated.

Description

CVE-2025-38258 is a medium severity vulnerability in the Linux kernel's memory management subsystem. It involves a memory leak caused by failure to free previously allocated memory when writing to the memcg_path sysfs file in the damon_sysfs_scheme_filter structure. This flaw allows local users with write access to the affected sysfs file to leak kernel memory by repeatedly writing data. The issue has been fixed by ensuring the old memory buffer is properly deallocated before assigning a new one.

References

Community reviews

Loading reviews…