Linux Kernel
CVE-2024-38576
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local low-privilege shell access
-
DeliveryWait for or induce system clock anomaly
-
ExploitTrigger RCU CPU stall detection path
-
ExecutionCause abnormally large jiffies difference in print_cpu_stall_info()
-
PersistOverflow fixed-size kernel buffer via unbounded sprintf()
-
ImpactCorrupt adjacent kernel memory for privilege escalation
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a local shell session with at least low-privilege user credentials (PR:L per CVSS vector). The critical limiting condition is that the jiffies counter difference in the RCU stall reporting path must be abnormally large - a circumstance dependent on the system experiencing significant time anomalies such as virtualization clock skew, NTP step corrections, or hardware timer faults, rather than a condition the attacker can directly inject. This is reflected in the AC:H (High Attack Complexity) rating. The overflow is only triggered when the kernel's RCU CPU stall detection fires and invokes print_cpu_stall_info(), meaning the system must also be under conditions that generate RCU stalls. Remote exploitation is entirely excluded - the attack surface is confined to local kernel diagnostic code. Factors limiting exploitation: inability to directly control jiffies values from userspace, requirement for concurrent RCU stall detection, and absence of any identified technique for reliable memory layout control at the overflow site. |
| Impact | The CVSS 3.1 vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H scores 7.0, reflecting local access with low privilege requirements but high impact - consistent with a potential local privilege escalation path via kernel memory corruption. However, multiple signals significantly dampen real-world priority. EPSS at 0.25% (16th percentile) places this well below average exploitation probability across all CVEs. The vulnerability is not in CISA KEV, and no public exploit or proof-of-concept code has been identified. The AC:H rating is meaningful here: triggering the overflow requires an abnormally large jiffies difference, a condition an attacker cannot reliably control without external environmental factors such as time synchronization anomalies or hardware issues. This is a static-analysis-discovered code quality defect, not an observed exploitation vector. Risk priority should be moderate - apply during normal kernel update maintenance cycles rather than emergency patching, unless the environment runs untrusted local users on time-unstable systems. |
| Exploit ScenarioDerived | A local user with a low-privilege shell on a Linux system experiencing significant clock anomalies - such as a virtual machine with aggressive clock corrections or a bare-metal system with a faulty hardware timer - waits for or attempts to induce an RCU CPU stall condition. When print_cpu_stall_info() formats the stall diagnostic output with an abnormally large jiffies difference, the sprintf() call writes beyond the buffer boundary, potentially corrupting adjacent kernel memory structures. If memory layout permits controlled corruption, the attacker could escalate to kernel-level execution, though the high attack complexity makes reliable exploitation very difficult and no public exploit has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Aug 04, 2026
Buffer overflow in the Linux kernel's RCU subsystem diagnostic function print_cpu_stall_info() allows a local low-privileged attacker - under high-complexity timing conditions - to potentially corrupt kernel memory with high impact across confidentiality, integrity, and availability. Discovered by Linux Verification Center (linuxtesting.org) via static analysis (SVACE), this flaw is a code-correctness defect rather than an actively weaponized vulnerability: EPSS sits at 0.25% (16th percentile), it is absent from CISA KEV, and no public exploit code has been identified. Vendor patches have been applied across multiple kernel stable branches.
Earlier versions of this analysis (2)
Buffer overflow in the Linux kernel's RCU (Read-Copy-Update) subsystem exposes systems to potential kernel memory corruption when print_cpu_stall_info() is triggered under abnormal time-accounting conditions. Specifically, an unusually large jiffies delta - possible when a system becomes confused about elapsed time - causes the diagnostic output buffer to overflow due to unbounded use of sprintf(). The CVSS vector confirms local, low-privilege access with high attack complexity; EPSS is only 0.25% (16th percentile), not listed in CISA KEV, and no public exploit code has been identified at time of analysis.
Buffer overflow in the Linux kernel's RCU (Read-Copy-Update) subsystem exposes systems to potential kernel memory corruption via the print_cpu_stall_info() function. The root cause is an unbounded sprintf() call that writes rcuc-starvation diagnostic output into a fixed-size buffer; if the kernel's internal jiffies counter reflects an extreme time delta - possible when hardware or virtualization layers cause clock confusion - the formatted output overruns the buffer. With CVSS 7.0 (AV:L/AC:H/PR:L), an EPSS of 0.25% (16th percentile), no CISA KEV listing, and no public exploit code, this is a real but low-probability-of-exploitation kernel hardening fix rather than an actively targeted attack surface.
RemediationAI
The primary remediation is to apply kernel updates that incorporate the five upstream stable-tree patch commits referenced above. Distribution vendors including Red Hat, Ubuntu, Debian, and SUSE will backport these fixes into their kernel packages; users should apply the latest available kernel update from their distribution's security channel. Exact patched version numbers are not independently confirmed from the available NVD data - consult your distribution's security advisory for the precise fixed package version. As a compensating control where immediate patching is not possible, restrict local shell access by minimizing the number of unprivileged user accounts on affected systems, as exploitation requires at minimum low-privilege local access (PR:L). This does not eliminate the underlying flaw but reduces the attack surface. Note that the triggering condition (abnormal jiffies difference) is environmental and not directly injectable by an attacker in typical deployments, further limiting urgency.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is rooted in the RCU (Read-Copy-Update) synchronization subsystem's CPU stall reporting path, specifically in print_cpu_stall_info(). CWE-120 (Classic Buffer Overflow - unbounded copy into a fixed-size destination) describes the root cause: a sprintf() call writes rcuc-starvation diagnostic output into a statically sized buffer without length checking. When the system's jiffies counter difference (the kernel's monotonic tick counter, measured in timer interrupts) becomes abnormally large - due to clock confusion, NTP corrections, virtualization clock skew, or hardware timer anomalies - the formatted output can overflow the buffer boundary. A secondary issue is that the unsigned jiffies difference was printed with the %ld signed format specifier, which, while intentional for debugging readability, is technically undefined behavior and non-obvious. The fix replaces sprintf() with snprintf() (enforcing a bounded write) and adds a clarifying comment. Affected CPEs are expressed as the wildcard cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*, indicating broad kernel version coverage patched across five separate stable-tree commits.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Local-only attack surface via kernel diagnostic path; AC:H because abnormal jiffies condition is environmental and not attacker-controlled; PR:L since a local shell session is required.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
5DescriptionCVE.org
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.
Executive ViewAI
A buffer overflow in the Linux kernel's RCU subsystem requires local access and complex timing conditions to exploit; with no public exploit identified at time of analysis and minimal real-world risk indicators (0.3% EPSS), this represents a secondary-priority patch for systems with multi-user access.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB