CVE-2024-38576Linux Kernel
High 7.0
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 42
- CVSS 3.1
- 7.0
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 21
- Auth required
- Yes
- Published
- Jun 19, 2024
- Updated
- Aug 4, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch