CVE-2024-38576
Last modified
CVE-2024-38576 is a high-severity vulnerability rated 7/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: rcu: Fix buffer overflow in print_cpu_stall_info() The rcuc-starvation output from print_cpu_stall_info() might overflow the buffer if there is a huge difference in jiffies difference. The situation might seem improbable, but computers sometimes get very confused about time, which can result in full-sized integers, and, in this case, buffer overflow. Also, the unsigned jiffies difference is printed using %ld, which is normally for signed integers. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: rcu: Fix buffer overflow in print_cpu_stall_info() The rcuc-starvation output from print_cpu_stall_info() might overflow the buffer if there is a huge difference in jiffies difference. The situation might seem improbable, but computers sometimes get very confused about time, which can result in full-sized integers, and, in this case, buffer overflow. Also, the unsigned jiffies difference is printed using %ld, which is normally for signed integers. This is intentional for debugging purposes, but it is not obvious from the code. This commit therefore changes sprintf() to snprintf() and adds a clarifying comment about intention of %ld format. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.0, < 6.1.93 |
| Linux | Linux Kernel | >= 6.2, < 6.6.33 |
| Linux | Linux Kernel | >= 6.7, < 6.8.12 |
| Linux | Linux Kernel | >= 6.9, < 6.9.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-38576?
How severe is CVE-2024-38576?
How do I fix CVE-2024-38576?
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-38570In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-38571In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38572In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-38573In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2024-38574In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38575In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38577In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-38578In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-38579In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-3858It was possible to mutate a JavaScript object so that the JI…7.5
- CVE-2024-38580In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-38581In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-38576?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
