CVE-2025-40229

published 4 Dec 2025 · updated 11 May 2026

mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7071537159be845a5c4ed5fb7d3db25aa4bd04a3 and Kernel ff8dcf621a4172f4a6d42cbbb25d21659d3ac300.

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme Currently, damon_destroy_scheme() only cleans up the filter list but leaves ops_filter untouched, which could lead to memory leaks when a scheme is destroyed. This patch ensures both filter and ops_filter are properly freed in damon_destroy_scheme(), preventing potential memory leaks.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 <7071537159be845a5c4ed5fb7d3db25aa4bd04a3, >=ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 <ff8dcf621a4172f4a6d42cbbb25d21659d3ac3007071537159be845a5c4ed5fb7d3db25aa4bd04a3, ff8dcf621a4172f4a6d42cbbb25d21659d3ac300

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40229 severity on Zeptric[![CVE-2025-40229](https://zeptric.io/badge/cve/CVE-2025-40229.svg)](https://zeptric.io/cve/CVE-2025-40229)