Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40227

mm/damon/sysfs: dealloc commit test ctx always

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4c9ea539ad59ec60676930dacee02b7adde2e0c0 to < ba236520ae53418859f4b7c7de3c71478d3c0b5aaffected
  • 4c9ea539ad59ec60676930dacee02b7adde2e0c0 to < 139e7a572af0b45f558b5e502121a768dc328ba8affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.17.6 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References