What’s Vulnerable › Vulnerabilities
CVE-2025-40227: mm/damon/sysfs: dealloc commit test ctx always
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-04 · updated 2026-10-19
Description
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 products
- Linux kernel: 6.15 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/139e7a572af0b45f558b5e502121a768dc328ba8
- https://git.kernel.org/stable/c/ba236520ae53418859f4b7c7de3c71478d3c0b5a
Get alerted when CVE-2025-40227 or the next vulnerability affects your stack