CVE-2024-38576

High

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.

Package Linux Kernel
Published 2024-06-19
Last modified 2025-04-01
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.1

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weakness type

CWE-120

CVE-2024-38576 is classified as CWE-120

See CWE-120 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 6.0 and later are affected. Fixed in 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10 and their respective stable series.

Affected from
≥ 6.0
Fixed in
✓ 6.1.93 6.1.x ✓ 6.6.33 6.6.x ✓ 6.8.12 6.8.x ✓ 6.9.3 6.9.x ✓ 6.10

Frequently asked questions

  • What is CVE-2024-38576?

    CVE-2024-38576 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 . It affects Linux kernel versions from 6.0 onward and has been patched in 6.1.93, 6.6.33, 6.8.12 and others. CVE-2024-38576 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-38576?

    CVE-2024-38576 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H .

  • Is there a patch available for CVE-2024-38576?

    Yes. CVE-2024-38576 has been patched. Fixed versions include 6.1.93, 6.6.33, 6.8.12 and others. If you are running Linux kernel 6.0 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-38576 actively exploited?

    No. CVE-2024-38576 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.