{"id":"CVE-2024-38576","aliases":["CVE-2024-38576"],"related":[],"kind":"vulnerability","state":"published","title":"rcu: Fix buffer overflow in print_cpu_stall_info()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrcu: Fix buffer overflow in print_cpu_stall_info()\n\nThe rcuc-starvation output from print_cpu_stall_info() might overflow the\nbuffer if there is a huge difference in jiffies difference.  The situation\nmight seem improbable, but computers sometimes get very confused about\ntime, which can result in full-sized integers, and, in this case,\nbuffer overflow.\n\nAlso, the unsigned jiffies difference is printed using %ld, which is\nnormally for signed integers.  This is intentional for debugging purposes,\nbut it is not obvious from the code.\n\nThis commit therefore changes sprintf() to snprintf() and adds a\nclarifying comment about intention of %ld format.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrcu: Fix buffer overflow in print_cpu_stall_info()\n\nThe rcuc-starvation output from print_cpu_stall_info() might overflow the\nbuffer if there is a huge difference in jiffies difference.  The situation\nmight seem improbable, but computers sometimes get very confused about\ntime, which can result in full-sized integers, and, in this case,\nbuffer overflow.\n\nAlso, the unsigned jiffies difference is printed using %ld, which is\nnormally for signed integers.  This is intentional for debugging purposes,\nbut it is not obvious from the code.\n\nThis commit therefore changes sprintf() to snprintf() and adds a\nclarifying comment about intention of %ld format.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: rcu: corrige el desbordamiento del búfer en print_cpu_stall_info() La salida rcuc-starvation de print_cpu_stall_info() podría desbordar el búfer si hay una gran diferencia en santiamén. La situación puede parecer improbable, pero las computadoras a veces se confunden mucho con el tiempo, lo que puede resultar en números enteros de tamaño completo y, en este caso, en un desbordamiento del búfer. Además, la diferencia de santiamén sin signo se imprime usando %ld, que normalmente es para enteros con signo. Esto es intencional con fines de depuración, pero no es obvio en el código. Por lo tanto, esta confirmación cambia sprintf() a snprintf() y agrega un comentario aclaratorio sobre la intención del formato %ld. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE.","source":"nvd"}],"published":"2024-06-19T13:37:35.142Z","modified":"2026-08-05T11:32:53.593Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"git","introduced":"245a62982502255314b63dd2c4daaedd1cd595a6","fixed":"e2228ed3fe7aa838fba87c79a76fb1ad9ea47138","status":"affected"},{"type":"git","introduced":"245a62982502255314b63dd2c4daaedd1cd595a6","fixed":"afb39909bfb5c08111f99e21bf5be7505f59ff1c","status":"affected"},{"type":"git","introduced":"245a62982502255314b63dd2c4daaedd1cd595a6","fixed":"9351e1338539cb7f319ffc1210fa9b2aa27384b5","status":"affected"},{"type":"git","introduced":"245a62982502255314b63dd2c4daaedd1cd595a6","fixed":"4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257","status":"affected"},{"type":"git","introduced":"245a62982502255314b63dd2c4daaedd1cd595a6","fixed":"3758f7d9917bd7ef0482c4184c0ad673b4c4e069","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.12","lastAffected":"6.8.*","status":"unaffected"},{"type":"semver","introduced":"6.9.3","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.8.12"},{"status":"affected","introduced":"6.9","fixed":"6.9.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e2228ed3fe7aa838fba87c79a76fb1ad9ea47138","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afb39909bfb5c08111f99e21bf5be7505f59ff1c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9351e1338539cb7f319ffc1210fa9b2aa27384b5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c3e2ef4d8ddd313c8ce3ac30505940bea8d6257","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3758f7d9917bd7ef0482c4184c0ad673b4c4e069","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-20T15:40:30.043Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38576","url":"https://www.cve.org/CVERecord?id=CVE-2024-38576","licence":"CVE Terms of Use","modified":"2026-08-05T11:32:53.593Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38576","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38576","licence":"Public domain","modified":"2026-08-04T11:18:46.070Z"}],"updatedAt":"2026-11-25T22:58:42.023Z","epss":{"score":0.00256,"percentile":0.1838,"date":"2026-12-01T12:00:22.000Z"}}