CVE-2025-40229 — mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme
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_de…
Published: 2025-12-04 · CVSS: Unscored
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7