CVE-2025-40229

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

N/A
Published: December 4, 2025 at 03:31 PM UTC
Updated: October 19, 2026 at 07:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.15ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832
Vendor states this is fixed in 7071537159be845a5c4ed5fb7d3db25aa4bd04a3 (fixed)
Vendor states this is fixed in ff8dcf621a4172f4a6d42cbbb25d21659d3ac300 (fixed)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.17.6 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card