CVE-2025-40227

published 4 Dec 2025 · updated 11 May 2026

mm/damon/sysfs: dealloc commit test ctx always

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 139e7a572af0b45f558b5e502121a768dc328ba8 and Kernel ba236520ae53418859f4b7c7de3c71478d3c0b5a.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=4c9ea539ad59ec60676930dacee02b7adde2e0c0 <139e7a572af0b45f558b5e502121a768dc328ba8, >=4c9ea539ad59ec60676930dacee02b7adde2e0c0 <ba236520ae53418859f4b7c7de3c71478d3c0b5a139e7a572af0b45f558b5e502121a768dc328ba8, ba236520ae53418859f4b7c7de3c71478d3c0b5a

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40227 severity on Zeptric[![CVE-2025-40227](https://zeptric.io/badge/cve/CVE-2025-40227.svg)](https://zeptric.io/cve/CVE-2025-40227)