CVE-2024-50270
Last modified
CVE-2024-50270 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: avoid overflow in damon_feed_loop_next_input() damon_feed_loop_next_input() is inefficient and fragile to overflows. Specifically, 'score_goal_diff_bp' calculation can overflow when 'score' is high. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: avoid overflow in damon_feed_loop_next_input() damon_feed_loop_next_input() is inefficient and fragile to overflows. Specifically, 'score_goal_diff_bp' calculation can overflow when 'score' is high. The calculation is actually unnecessary at all because 'goal' is a constant of value 10,000. Calculation of 'compensation' is again fragile to overflow. Final calculation of return value for under-achiving case is again fragile to overflow when the current score is under-achieving the target. Add two corner cases handling at the beginning of the function to make the body easier to read, and rewrite the body of the function to avoid overflows and the unnecessary bp value calcuation.
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.8, < 6.11.8 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50270?
How severe is CVE-2024-50270?
How do I fix CVE-2024-50270?
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-50264In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50265In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50266In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50267In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50268In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-50269In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50271In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50272In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50273In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50274In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50275In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-50276In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-50270?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
