CVE-2025-38258

MEDIUM

Linux Kernel - Memory Corruption

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 6.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (5)
linux/Kernel 6.13.0 - 6.15.5linux
linux/Kernel 6.3.0 - 6.6.96linux
linux/Kernel 6.7.0 - 6.12.36linux
linux/linux_kernel 6.16 rc1 (3 CPE variants)
linux/linux_kernel 6.3 - 6.6.96
Published Jul 09, 2025
Tracked Since Feb 18, 2026