CVE-2025-40229
N/A
N/A
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 < ff8dcf621a4172f4a6d42cbbb25d21659d3ac300 | affected |
| Linux | Linux | ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832 < 7071537159be845a5c4ed5fb7d3db25aa4bd04a3 | affected |
| Linux | Linux | 6.15 | affected |
| Linux | Linux | 0 < 6.15 | unaffected |
| Linux | Linux | 6.17.6 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/ff8dcf621a4172f4a6d42cbbb25d21659d3ac300
- https://git.kernel.org/stable/c/7071537159be845a5c4ed5fb7d3db25aa4bd04a3
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.