← CVE Intelligence

CVE-2025-40227

mm/damon/sysfs: dealloc commit test ctx always PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: dealloc commit test ctx always The damon_ctx for testing online DAMON parameters commit inputs is deallocated only when the test fails. This means memory is leaked for every successful online DAMON parameters commit. Fix the leak by always deallocating it.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 4c9ea539ad59ec60676930dacee02b7adde2e0c0 before ba236520ae53418859f4b7c7de3c71478d3c0b5a; affected 4c9ea539ad59ec60676930dacee02b7adde2e0c0 before 139e7a572af0b45f558b5e502121a768dc328ba8
Linux / Linuxaffected 6.15; unaffected 0 before 6.15; unaffected 6.17.6 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References