What’s Vulnerable › Vulnerabilities
CVE-2025-40229: mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-04 · updated 2026-10-19
Description
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 products
- Linux kernel: 6.15 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/7071537159be845a5c4ed5fb7d3db25aa4bd04a3
- https://git.kernel.org/stable/c/ff8dcf621a4172f4a6d42cbbb25d21659d3ac300
Get alerted when CVE-2025-40229 or the next vulnerability affects your stack