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 opsfilter in damondestroyscheme
Currently, damondestroyscheme() only cleans up the filter list but leaves opsfilter untouched, which could lead to memory leaks when a scheme is destroyed.
This patch ensures both filter and opsfilter are properly freed in damondestroyscheme(), preventing potential memory leaks.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40229?
CVE-2025-40229 is considered to have a medium severity level due to the potential for memory leaks in the Linux kernel.
How do I fix CVE-2025-40229?
To fix CVE-2025-40229, users should update to the latest version of the Linux kernel that includes the security patches addressing this vulnerability.
What systems are affected by CVE-2025-40229?
CVE-2025-40229 affects systems running vulnerable versions of the Linux kernel.
What types of attacks could exploit CVE-2025-40229?
CVE-2025-40229 could potentially be exploited to cause memory leaks, affecting system stability and performance.
When was CVE-2025-40229 published?
CVE-2025-40229 was published in the year 2025.