CVE-2025-38258

MEDIUM

Linux Kernel - Memory Corruption

Title source: llm

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 4.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (7)

linux/linux_kernel < 6.6.96
linux/linux_kernel
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 6.6.96linux
linux/Kernel < 6.12.36linux
linux/Kernel < 6.15.5linux

Timeline

Published Jul 09, 2025
Tracked Since Feb 18, 2026