CVE-2025-40227Published Dec 4, 2025 · Dec 4Updated Oct 28
mm/damon/sysfs: dealloc commit test ctx always
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel leaks a DAMON test context after every successful online DAMON parameters commit. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels that use online DAMON parameters commits should check whether their kernel is affected; affected versions are not specified.