CVE-2025-40229

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 < ff8dcf621a4172f4a6d42cbbb25d21659d3ac300affected
LinuxLinuxab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 < 7071537159be845a5c4ed5fb7d3db25aa4bd04a3affected
LinuxLinux6.15affected
LinuxLinux0 < 6.15unaffected
LinuxLinux6.17.6 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References