CVE-2024-57886: mm/damon/core: fix new damon_target objects leaks on damon_commit_targets()

Published Jan 15, 2025
·
Updated

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

mm/damon/core: fix new damontarget objects leaks on damoncommittargets()

Patch series "mm/damon/core: fix memory leaks and ignored inputs from damoncommitctx()".

Due to two bugs in damoncommittargets() and damoncommitschemes(), which are called from damoncommitctx(), some user inputs can be ignored, and some mmeory objects can be leaked. Fix those.

Note that only DAMON sysfs interface users are affected. Other DAMON core API user modules that more focused more on simple and dedicated production usages, including DAMONRECLAIM and DAMONLRUSORT are not using the buggy function in the way, so not affected.

This patch (of 2):

When new DAMON targets are added via damoncommittargets(), the newly created targets are not deallocated when updating the internal data (damoncommittarget()) is failed. Worse yet, even if the setup is successfully done, the new target is not linked to the context. Hence, the new targets are always leaked regardless of the internal data setup failure. Fix the leaks.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

8 affected componentsFixes available
Linux Kernel
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1
Linux Linux kernel>=6.11<6.12.9
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5

Event History

Jan 15, 2025
CVE Published
via MITRE·01:05 PM
Data Sourced
via MITRE·01:05 PM
Description
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via NVD·01:15 PM
RemedySeverityWeaknessAffected Software
Mar 27, 2025
Data Sourced
via Launchpad·06:48 PM
Description
Apr 8, 2025
Data Sourced
via Ubuntu·06:51 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-57886?

The severity of CVE-2024-57886 has not been explicitly rated by MITRE, but vulnerabilities in the Linux kernel typically require immediate attention.

2

How do I fix CVE-2024-57886?

To fix CVE-2024-57886, update your Linux kernel to the latest version where this vulnerability is patched.

3

What does CVE-2024-57886 affect?

CVE-2024-57886 affects the memory management subsystem of the Linux kernel, specifically the DAMON (Data Access Monitoring) framework.

4

What are the potential risks of CVE-2024-57886?

The potential risks of CVE-2024-57886 include memory leaks which can lead to degraded performance or service interruptions.

5

When was CVE-2024-57886 announced?

CVE-2024-57886 was announced following the discovery of memory leak issues in the DAMON framework in the Linux kernel.

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