Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40229

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 to < ff8dcf621a4172f4a6d42cbbb25d21659d3ac300affected
  • ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 to < 7071537159be845a5c4ed5fb7d3db25aa4bd04a3affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.17.6 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References