CVE-2024-38577
rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= edf3775f0ad66879796f594983163f672c4bf1a2, < 17c43211d45f13d1badea3942b76bf16bcc49281; >= edf3775f0ad66879796f594983163f672c4bf1a2, < af7b560c88fb420099e29890aa682b8a3efc8784; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 08186d0c5fb64a1cc4b43e009314ee6b173ed222; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 32d988f48ed287e676a29a15ac30701c35849aec; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 6593d857ce5b5b802fb73d8091ac9c84b92c1697; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 1a240e138071b25944ded0f5b3e357aa99fabcb7; >= edf3775f0ad66879796f594983163f672c4bf1a2, < cc5645fddb0ce28492b15520306d092730dffa48
- Anyone running Linux 5.8
Vulnerability facts
- Affected
- Linux >= edf3775f0ad66879796f594983163f672c4bf1a2, < 17c43211d45f13d1badea3942b76bf16bcc49281; >= edf3775f0ad66879796f594983163f672c4bf1a2, < af7b560c88fb420099e29890aa682b8a3efc8784; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 08186d0c5fb64a1cc4b43e009314ee6b173ed222; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 32d988f48ed287e676a29a15ac30701c35849aec; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 6593d857ce5b5b802fb73d8091ac9c84b92c1697; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 1a240e138071b25944ded0f5b3e357aa99fabcb7; >= edf3775f0ad66879796f594983163f672c4bf1a2, < cc5645fddb0ce28492b15520306d092730dffa48; Linux 5.8
- Fixed in
- Linux 17c43211d45f13d1badea3942b76bf16bcc49281, Linux 08186d0c5fb64a1cc4b43e009314ee6b173ed222, Linux 32d988f48ed287e676a29a15ac30701c35849aec, Linux 6593d857ce5b5b802fb73d8091ac9c84b92c1697, Linux 1a240e138071b25944ded0f5b3e357aa99fabcb7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-120
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= edf3775f0ad66879796f594983163f672c4bf1a2, < 17c43211d45f13d1badea3942b76bf16bcc49281; >= edf3775f0ad66879796f594983163f672c4bf1a2, < af7b560c88fb420099e29890aa682b8a3efc8784; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 08186d0c5fb64a1cc4b43e009314ee6b173ed222; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 32d988f48ed287e676a29a15ac30701c35849aec; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 6593d857ce5b5b802fb73d8091ac9c84b92c1697; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 1a240e138071b25944ded0f5b3e357aa99fabcb7; >= edf3775f0ad66879796f594983163f672c4bf1a2, < cc5645fddb0ce28492b15520306d092730dffa48 | — | cvelist |
| Linux | 5.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-38577. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-38577.md Affected: Linux >= edf3775f0ad66879796f594983163f672c4bf1a2, < 17c43211d45f13d1badea3942b76bf16bcc49281; >= edf3775f0ad66879796f594983163f672c4bf1a2, < af7b560c88fb420099e29890aa682b8a3efc8784; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 08186d0c5fb64a1cc4b43e009314ee6b173ed222; >= edf3775f0ad66879796f594… Fixed in: Linux 17c43211d45f13d1badea3942b76bf16bcc49281, Linux 08186d0c5fb64a1cc4b43e009314ee6b173ed222, Linux 32d988f48ed287e676a29a15ac30701c35849aec, Linux 6593d857ce5b5b802fb73d8091ac9c84b92c1697, Linux 1a240e138071b25944ded0f5b3e357aa99fabcb7 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/17c43211d45f13d1badea3942b76bf16bcc49281
- https://git.kernel.org/stable/c/af7b560c88fb420099e29890aa682b8a3efc8784
- https://git.kernel.org/stable/c/08186d0c5fb64a1cc4b43e009314ee6b173ed222
- https://git.kernel.org/stable/c/32d988f48ed287e676a29a15ac30701c35849aec
- https://git.kernel.org/stable/c/6593d857ce5b5b802fb73d8091ac9c84b92c1697
- https://git.kernel.org/stable/c/1a240e138071b25944ded0f5b3e357aa99fabcb7
- https://git.kernel.org/stable/c/cc5645fddb0ce28492b15520306d092730dffa48
FAQ
Is CVE-2024-38577 being exploited?
There is no confirmed exploitation: CVE-2024-38577 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-38577?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-38577?
Linux >= edf3775f0ad66879796f594983163f672c4bf1a2, < 17c43211d45f13d1badea3942b76bf16bcc49281; >= edf3775f0ad66879796f594983163f672c4bf1a2, < af7b560c88fb420099e29890aa682b8a3efc8784; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 08186d0c5fb64a1cc4b43e009314ee6b173ed222; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 32d988f48ed287e676a29a15ac30701c35849aec; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 6593d857ce5b5b802fb73d8091ac9c84b92c1697; >= edf3775f0ad66879796f594983163f672c4bf1a2, < 1a240e138071b25944ded0f5b3e357aa99fabcb7; >= edf3775f0ad66879796f594983163f672c4bf1a2, < cc5645fddb0ce28492b15520306d092730dffa48; Linux 5.8.
Is there a fix for CVE-2024-38577?
Yes. Fixed in Linux 17c43211d45f13d1badea3942b76bf16bcc49281, Linux 08186d0c5fb64a1cc4b43e009314ee6b173ed222, Linux 32d988f48ed287e676a29a15ac30701c35849aec, Linux 6593d857ce5b5b802fb73d8091ac9c84b92c1697, Linux 1a240e138071b25944ded0f5b3e357aa99fabcb7. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-38577?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.