{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-38577","id":"CVE-2024-38577","title":"rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow","description":"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 spr","descriptionLong":"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.","published":"2024-06-19T13:37:35.797Z","updated":"2026-10-28T02:30:41.168708316Z","reserved":"2024-06-18T19:36:34.926Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"edf3775f0ad66879796f594983163f672c4bf1a2","lessThan":"17c43211d45f13d1badea3942b76bf16bcc49281","status":"affected","versionType":"git"},{"version":"edf3775f0ad66879796f594983163f672c4bf1a2","lessThan":"af7b560c88fb420099e29890aa682b8a3efc8784","status":"affected","versionType":"git"},{"version":"edf3775f0ad66879796f594983163f672c4bf1a2","lessThan":"08186d0c5fb64a1cc4b43e009314ee6b173ed222","status":"affected","versionType":"git"},{"version":"edf3775f0ad66879796f594983163f672c4bf1a2","lessThan":"32d988f48ed287e676a29a15ac30701c35849aec","status":"affected","versionType":"git"},{"version":"edf3775f0ad66879796f594983163f672c4bf1a2","lessThan":"6593d857ce5b5b802fb73d8091ac9c84b92c1697","status":"affected","versionType":"git"},{"version":"edf3775f0ad66879796f594983163f672c4bf1a2","lessThan":"1a240e138071b25944ded0f5b3e357aa99fabcb7","status":"affected","versionType":"git"},{"version":"edf3775f0ad66879796f594983163f672c4bf1a2","lessThan":"cc5645fddb0ce28492b15520306d092730dffa48","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.226","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.167","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.93","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.33","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.12","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9.3","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-120"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/17c43211d45f13d1badea3942b76bf16bcc49281","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/af7b560c88fb420099e29890aa682b8a3efc8784","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/08186d0c5fb64a1cc4b43e009314ee6b173ed222","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/32d988f48ed287e676a29a15ac30701c35849aec","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/6593d857ce5b5b802fb73d8091ac9c84b92c1697","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/1a240e138071b25944ded0f5b3e357aa99fabcb7","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/cc5645fddb0ce28492b15520306d092730dffa48","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38577.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38577","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00257,"epssPercentile":0.17596,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-38577","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38577","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-38577","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38577","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}