CVE-2024-57886
Last modified
CVE-2024-57886 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: fix new damon_target objects leaks on damon_commit_targets() Patch series "mm/damon/core: fix memory leaks and ignored inputs from damon_commit_ctx()". Due to two bugs in damon_commit_targets() and damon_commit_schemes(), which are called from damon_commit_ctx(), some user inputs can be ignored, and some mmeory objects can be leaked. Fix those. Note that only DAMON sysfs interface users are affected. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: fix new damon_target objects leaks on damon_commit_targets() Patch series "mm/damon/core: fix memory leaks and ignored inputs from damon_commit_ctx()". Due to two bugs in damon_commit_targets() and damon_commit_schemes(), which are called from damon_commit_ctx(), 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 DAMON_RECLAIM and DAMON_LRU_SORT are not using the buggy function in the way, so not affected. This patch (of 2): When new DAMON targets are added via damon_commit_targets(), the newly created targets are not deallocated when updating the internal data (damon_commit_target()) 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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.11, < 6.12.9 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-57886?
How severe is CVE-2024-57886?
How do I fix CVE-2024-57886?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-57880In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57881In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57882In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57883In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57884In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57885In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57887In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57888In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57889In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5789The Triton Lite theme for WordPress is vulnerable to Stored …5.4
- CVE-2024-57890In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57891In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-57886?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
