{"schema_version":"1.9.0","id":"CVE-2024-38577","published":"2024-06-19T13:37:35.797Z","modified":"2026-08-12T03:51:44.289564679Z","related":["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"],"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.","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/cve-osv-conversion/osv-output/CVE-2024-38577.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"5.10.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.167"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.93"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.8.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.9.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38577.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}