{"id":"CVE-2025-40229","summary":"mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme\n\nCurrently, damon_destroy_scheme() only cleans up the filter list but\nleaves ops_filter untouched, which could lead to memory leaks when a\nscheme is destroyed.\n\nThis patch ensures both filter and ops_filter are properly freed in\ndamon_destroy_scheme(), preventing potential memory leaks.","modified":"2026-04-02T12:48:19.872549Z","published":"2025-12-04T15:31:20.548Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40229.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7071537159be845a5c4ed5fb7d3db25aa4bd04a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff8dcf621a4172f4a6d42cbbb25d21659d3ac300"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40229.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40229"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832"},{"fixed":"ff8dcf621a4172f4a6d42cbbb25d21659d3ac300"},{"fixed":"7071537159be845a5c4ed5fb7d3db25aa4bd04a3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40229.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.17.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40229.json"}}],"schema_version":"1.7.5"}