CVE-2024-38577CWE-120

CVE-2024-38577

High · published June 19, 2024

CVSS v3.1
7.0
EPSS
0%
Percentile
16.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow

There is a possibility of buffer overflow in

show_rcu_tasks_trace_gp_kthread() if counters, passed

to sprintf() are huge. Counter numbers, needed for this

are unrealistically high, but buffer overflow is still

possible.

Use snprintf() with buffer size instead of sprintf().

Found by Linux Verification Center (linuxtesting.org) with SVACE.

The record
Technical detail
CVSS v3.1
7.0 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00257 · 16.4th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2024-06-19T18:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 5.8, < 5.10.2265.10.226
linux/linux_kernel≥ 5.11, < 5.15.1675.15.167
linux/linux_kernel≥ 5.16, < 6.1.936.1.93
linux/linux_kernel≥ 6.2, < 6.6.336.6.33
linux/linux_kernel≥ 6.7, < 6.8.126.8.12
linux/linux_kernel≥ 6.9, < 6.9.36.9.3
References (13)
EPSS history
Timeline
  • 19 JUN 13:37Z
    rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow
    cvelistv5