CVE-2024-38576
rcu: Fix buffer overflow in print_cpu_stall_info()
Mitigation
- Upgrade Linux to 3758f7d9917bd7ef0482c4184c0ad673b4c4e069 or later.
Who should check
- Anyone running Linux >= 245a62982502255314b63dd2c4daaedd1cd595a6, < e2228ed3fe7aa838fba87c79a76fb1ad9ea47138; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < afb39909bfb5c08111f99e21bf5be7505f59ff1c; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 9351e1338539cb7f319ffc1210fa9b2aa27384b5; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 3758f7d9917bd7ef0482c4184c0ad673b4c4e069
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= 245a62982502255314b63dd2c4daaedd1cd595a6, < e2228ed3fe7aa838fba87c79a76fb1ad9ea47138; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < afb39909bfb5c08111f99e21bf5be7505f59ff1c; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 9351e1338539cb7f319ffc1210fa9b2aa27384b5; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 3758f7d9917bd7ef0482c4184c0ad673b4c4e069; Linux 6.0
- Fixed in
- Linux 9351e1338539cb7f319ffc1210fa9b2aa27384b5, Linux 4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257, Linux 3758f7d9917bd7ef0482c4184c0ad673b4c4e069
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-120
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 245a62982502255314b63dd2c4daaedd1cd595a6, < e2228ed3fe7aa838fba87c79a76fb1ad9ea47138; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < afb39909bfb5c08111f99e21bf5be7505f59ff1c; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 9351e1338539cb7f319ffc1210fa9b2aa27384b5; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 3758f7d9917bd7ef0482c4184c0ad673b4c4e069 | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-38576. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-38576.md Affected: Linux >= 245a62982502255314b63dd2c4daaedd1cd595a6, < e2228ed3fe7aa838fba87c79a76fb1ad9ea47138; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < afb39909bfb5c08111f99e21bf5be7505f59ff1c; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 9351e1338539cb7f319ffc1210fa9b2aa27384b5; >= 245a62982502255314b63dd… Fixed in: Linux 9351e1338539cb7f319ffc1210fa9b2aa27384b5, Linux 4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257, Linux 3758f7d9917bd7ef0482c4184c0ad673b4c4e069 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/e2228ed3fe7aa838fba87c79a76fb1ad9ea47138
- https://git.kernel.org/stable/c/afb39909bfb5c08111f99e21bf5be7505f59ff1c
- https://git.kernel.org/stable/c/9351e1338539cb7f319ffc1210fa9b2aa27384b5
- https://git.kernel.org/stable/c/4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257
- https://git.kernel.org/stable/c/3758f7d9917bd7ef0482c4184c0ad673b4c4e069
FAQ
Is CVE-2024-38576 being exploited?
There is no confirmed exploitation: CVE-2024-38576 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-38576?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-38576?
Linux >= 245a62982502255314b63dd2c4daaedd1cd595a6, < e2228ed3fe7aa838fba87c79a76fb1ad9ea47138; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < afb39909bfb5c08111f99e21bf5be7505f59ff1c; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 9351e1338539cb7f319ffc1210fa9b2aa27384b5; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257; >= 245a62982502255314b63dd2c4daaedd1cd595a6, < 3758f7d9917bd7ef0482c4184c0ad673b4c4e069; Linux 6.0.
Is there a fix for CVE-2024-38576?
Yes. Fixed in Linux 9351e1338539cb7f319ffc1210fa9b2aa27384b5, Linux 4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257, Linux 3758f7d9917bd7ef0482c4184c0ad673b4c4e069. Upgrade Linux to 3758f7d9917bd7ef0482c4184c0ad673b4c4e069 or later.
How do I check if I'm affected by CVE-2024-38576?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.