Skip to main content

Linux Kernel CVE-2024-38576

HIGH
Classic Buffer Overflow (CWE-120)
2024-06-19 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.0
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local low-privilege shell access
  2. Delivery
    Wait for or induce system clock anomaly
  3. Exploit
    Trigger RCU CPU stall detection path
  4. Execution
    Cause abnormally large jiffies difference in print_cpu_stall_info()
  5. Persist
    Overflow fixed-size kernel buffer via unbounded sprintf()
  6. Impact
    Corrupt 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Aug 04, 2026 - 11:58 cvss changed CVSS 7.0

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.

v1 Aug 04, 2026 - 11:57 cvss changed CVSS 7.0

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

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.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 12:05 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 11:58 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 11:57 vuln.today
v1 - CVSS changed
CVSS changed
Aug 04, 2026 - 11:23 NVD
7.1 (HIGH) 7.0 (HIGH)
CVE Published
Jun 19, 2024 - 14:15 cve.org
HIGH 7.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Ubiquitous
Linux kernel runs virtually all cloud, server, container, and embedded production environments
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy