CVE-2025-40227 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's DAMON (Data Access Monitoring) subsystem. The issue arises in the sysfs interface, where the context used for testing online DAMON parameter commits is only deallocated if the test fails. As a result, memory is leaked for each successful commit. This vulnerability affects Linux kernel versions 6.15 and later.
The vulnerability has been addressed in the official Linux Git repository. Users can download the patched version from the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/139e7a572af0b45f558b5e502121a768dc328ba8 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ba236520ae53418859f4b7c7de3c71478d3c0b5a | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | >= 6.15, < 6.15.0-rc1 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | New CVE Received | kernel.org |
Volerion