7.1
HIGH
CVE-2024-38576
Linux Kernel RCU Buffer Overflow Vulnerability
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.

INFO

Published Date :

June 19, 2024, 2:15 p.m.

Last Modified :

April 1, 2025, 6:25 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.2

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-38576 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38576 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-38576 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 01, 2025

    Action Type Old Value New Value
    Added CWE CWE-120
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.0 up to (excluding) 6.1.93
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/3758f7d9917bd7ef0482c4184c0ad673b4c4e069 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/3758f7d9917bd7ef0482c4184c0ad673b4c4e069 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9351e1338539cb7f319ffc1210fa9b2aa27384b5 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/9351e1338539cb7f319ffc1210fa9b2aa27384b5 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/afb39909bfb5c08111f99e21bf5be7505f59ff1c Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/afb39909bfb5c08111f99e21bf5be7505f59ff1c Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e2228ed3fe7aa838fba87c79a76fb1ad9ea47138 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/e2228ed3fe7aa838fba87c79a76fb1ad9ea47138 Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/3758f7d9917bd7ef0482c4184c0ad673b4c4e069
    Added Reference https://git.kernel.org/stable/c/4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257
    Added Reference https://git.kernel.org/stable/c/9351e1338539cb7f319ffc1210fa9b2aa27384b5
    Added Reference https://git.kernel.org/stable/c/afb39909bfb5c08111f99e21bf5be7505f59ff1c
    Added Reference https://git.kernel.org/stable/c/e2228ed3fe7aa838fba87c79a76fb1ad9ea47138
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 07, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 25, 2024

    Action Type Old Value New Value
    Removed CWE CISA-ADP CWE-121
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 03, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-121
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 19, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference kernel.org https://git.kernel.org/stable/c/e2228ed3fe7aa838fba87c79a76fb1ad9ea47138 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/afb39909bfb5c08111f99e21bf5be7505f59ff1c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9351e1338539cb7f319ffc1210fa9b2aa27384b5 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/3758f7d9917bd7ef0482c4184c0ad673b4c4e069 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38576 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 14, 2025 1:19