CVE-2024-38577
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra | Amazon Linux | 6.1.94-99.176.amzn2023 |
| bpftool | Amazon Linux | 6.1.94-99.176.amzn2023 |
| python3-perf | Amazon Linux | 6.1.94-99.176.amzn2023 |
| kernel-livepatch-6.1.94-99.176 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.94-99.176.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.94-99.176.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.94-99.176.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | edf3775f0ad66879796f594983163f672c4bf1a2, edf3775f0ad66879796f594983163f672c4bf1a2, edf3775f0ad66879796f594983163f672c4bf1a2 |
| Linux | Linux | 5.8, 0, 5.10.226 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.94-99.176 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| linux | linux_kernel | 5.8, 5.8, 5.8 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| Linux | Linux | *, *, * |
| amazon:2023 | kernel-libbpf | 0 |
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