{"id":"CVE-2025-40227","aliases":["CVE-2025-40227"],"related":[],"kind":"vulnerability","state":"published","title":"mm/damon/sysfs: dealloc commit test ctx always","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/sysfs: dealloc commit test ctx always\n\nThe damon_ctx for testing online DAMON parameters commit inputs is\ndeallocated only when the test fails.  This means memory is leaked for\nevery successful online DAMON parameters commit.  Fix the leak by always\ndeallocating it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/sysfs: dealloc commit test ctx always\n\nThe damon_ctx for testing online DAMON parameters commit inputs is\ndeallocated only when the test fails.  This means memory is leaked for\nevery successful online DAMON parameters commit.  Fix the leak by always\ndeallocating it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmm/damon/sysfs: desasigna siempre el contexto de prueba de commit\n\nEl 'damon_ctx' para probar las entradas de commit de parámetros DAMON en línea es desasignado solo cuando la prueba falla. Esto significa que se fuga memoria por cada commit exitoso de parámetros DAMON en línea. Se corrige la fuga desasignándolo siempre.","source":"nvd"}],"published":"2025-12-04T15:31:18.839Z","modified":"2026-10-19T19:10:00.130Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4c9ea539ad59ec60676930dacee02b7adde2e0c0","fixed":"ba236520ae53418859f4b7c7de3c71478d3c0b5a","status":"affected"},{"type":"git","introduced":"4c9ea539ad59ec60676930dacee02b7adde2e0c0","fixed":"139e7a572af0b45f558b5e502121a768dc328ba8","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/ba236520ae53418859f4b7c7de3c71478d3c0b5a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/139e7a572af0b45f558b5e502121a768dc328ba8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40227","url":"https://www.cve.org/CVERecord?id=CVE-2025-40227","licence":"CVE Terms of Use","modified":"2026-05-11T21:45:15.231Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40227","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40227","licence":"Public domain","modified":"2026-10-19T19:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:08.264Z","epss":{"score":0.00262,"percentile":0.11017,"date":"2026-11-30T12:00:22.000Z"}}