| Name | CVE-2025-40227 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| linux (PTS) | bullseye | 5.10.223-1 | fixed |
| bullseye (security) | 5.10.244-1 | fixed |
| bookworm | 6.1.148-1 | fixed |
| bookworm (security) | 6.1.158-1 | fixed |
| trixie | 6.12.57-1 | fixed |
| trixie (security) | 6.12.48-1 | fixed |
| forky | 6.17.9-1 | fixed |
| sid | 6.17.10-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| linux | source | bullseye | (not affected) | | | |
| linux | source | bookworm | (not affected) | | | |
| linux | source | trixie | (not affected) | | | |
| linux | source | (unstable) | 6.17.6-1 | | | |
Notes
[trixie] - linux <not-affected> (Vulnerable code not present)
[bookworm] - linux <not-affected> (Vulnerable code not present)
[bullseye] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/139e7a572af0b45f558b5e502121a768dc328ba8 (6.18-rc3)