{"id":"CVE-2025-40229","aliases":["CVE-2025-40229"],"related":[],"kind":"vulnerability","state":"published","title":"mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmm/damon/core: soluciona una posible fuga de memoria al limpiar ops_filter en damon_destroy_scheme\n\nActualmente, damon_destroy_scheme() solo limpia la lista de filtros pero deja ops_filter intacto, lo que podría provocar fugas de memoria cuando se destruye un esquema.\n\nEste parche garantiza que tanto filter como ops_filter se liberen correctamente en damon_destroy_scheme(), evitando posibles fugas de memoria.","source":"nvd"}],"published":"2025-12-04T15:31:20.548Z","modified":"2026-10-19T19:10:00.130Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832","fixed":"ff8dcf621a4172f4a6d42cbbb25d21659d3ac300","status":"affected"},{"type":"git","introduced":"ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832","fixed":"7071537159be845a5c4ed5fb7d3db25aa4bd04a3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.17.6","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ff8dcf621a4172f4a6d42cbbb25d21659d3ac300","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7071537159be845a5c4ed5fb7d3db25aa4bd04a3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40229","url":"https://www.cve.org/CVERecord?id=CVE-2025-40229","licence":"CVE Terms of Use","modified":"2026-05-11T21:45:17.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40229","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40229","licence":"Public domain","modified":"2026-10-19T19:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:08.265Z","epss":{"score":0.00198,"percentile":0.10073,"date":"2026-12-01T12:00:22.000Z"}}