{"id":"CVE-2024-38577","summary":"rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow\n\nThere is a possibility of buffer overflow in\nshow_rcu_tasks_trace_gp_kthread() if counters, passed\nto sprintf() are huge. Counter numbers, needed for this\nare unrealistically high, but buffer overflow is still\npossible.\n\nUse snprintf() with buffer size instead of sprintf().\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","modified":"2026-03-20T12:37:08.123402Z","published":"2024-06-19T13:37:35.797Z","related":["MGASA-2024-0263","MGASA-2024-0266","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38577.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08186d0c5fb64a1cc4b43e009314ee6b173ed222"},{"type":"WEB","url":"https://git.kernel.org/stable/c/17c43211d45f13d1badea3942b76bf16bcc49281"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1a240e138071b25944ded0f5b3e357aa99fabcb7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32d988f48ed287e676a29a15ac30701c35849aec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6593d857ce5b5b802fb73d8091ac9c84b92c1697"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af7b560c88fb420099e29890aa682b8a3efc8784"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc5645fddb0ce28492b15520306d092730dffa48"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38577.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38577"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"edf3775f0ad66879796f594983163f672c4bf1a2"},{"fixed":"17c43211d45f13d1badea3942b76bf16bcc49281"},{"fixed":"af7b560c88fb420099e29890aa682b8a3efc8784"},{"fixed":"08186d0c5fb64a1cc4b43e009314ee6b173ed222"},{"fixed":"32d988f48ed287e676a29a15ac30701c35849aec"},{"fixed":"6593d857ce5b5b802fb73d8091ac9c84b92c1697"},{"fixed":"1a240e138071b25944ded0f5b3e357aa99fabcb7"},{"fixed":"cc5645fddb0ce28492b15520306d092730dffa48"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38577.json"}}],"schema_version":"1.7.5"}