CVE-2025-40227: mm/damon/sysfs: dealloc commit test ctx always

Published Dec 4, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/sysfs: dealloc commit test ctx always

The damonctx 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 Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Deallocate the DAMON test context after every successful online DAMON parameters commit, not only when the test fails.

Event History

Dec 4, 2025
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
Description
Data Sourced
via NVD·04:16 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-40227?

CVE-2025-40227 has been classified with a high severity due to potential memory leaks affecting system stability.

2

How do I fix CVE-2025-40227?

To mitigate CVE-2025-40227, update your Linux kernel to the latest version where the vulnerability has been patched.

3

What versions of the Linux kernel are affected by CVE-2025-40227?

CVE-2025-40227 affects specific versions of the Linux kernel prior to the fix being applied in the latest patches.

4

What impact does CVE-2025-40227 have on system performance?

CVE-2025-40227 can lead to increased memory usage and degraded performance due to the memory leak caused by the vulnerability.

5

Is CVE-2025-40227 being actively exploited?

As of now, there is no public information indicating active exploitation of CVE-2025-40227 in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203