VDB

CVE-2024-38577

CVE-2024-38577 PUBLISHED CVSS 7 HIGH

rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow

Reported by linux · Published June 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux6.1.94-99.176.amzn2023
bpftoolAmazon Linux6.1.94-99.176.amzn2023
python3-perfAmazon Linux6.1.94-99.176.amzn2023
kernel-livepatch-6.1.94-99.176Amazon Linux1.0-0.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.94-99.176.amzn2023
kernel-tools-develAmazon Linux6.1.94-99.176.amzn2023
kernel-toolsAmazon Linux6.1.94-99.176.amzn2023

Risk scores

CVSS 3.1
7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxedf3775f0ad66879796f594983163f672c4bf1a2, edf3775f0ad66879796f594983163f672c4bf1a2, edf3775f0ad66879796f594983163f672c4bf1a2
LinuxLinux5.8, 0, 5.10.226
amazon:2023kernel-modules-extra0
amazon:2023bpftool0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.94-99.1760
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools-devel0
amazon:2023kernel-tools0
linuxlinux_kernel5.8, 5.8, 5.8
amazon:2023perf0
amazon:2023kernel-devel0
amazon:2023kernel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-headers0
LinuxLinux*, *, *
amazon:2023kernel-libbpf0

Timeline

  • Jun 19, 2024 CVE Published
  • Jun 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (17 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (328 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (251 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38577
vulnetix vdb fixes CVE-2024-38577

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38577/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›