{"id":"CVE-2025-40358","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-12-16T14:15:47.753","lastModified":"2026-10-14T13:10:00.187","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: stacktrace: Disable KASAN checks for non-current tasks\n\nUnwinding the stack of a task other than current, KASAN would report\n\"BUG: KASAN: out-of-bounds in walk_stackframe+0x41c/0x460\"\n\nThere is a same issue on x86 and has been resolved by the commit\n84936118bdf3 (\"x86/unwind: Disable KASAN checks for non-current tasks\")\nThe solution could be applied to RISC-V too.\n\nThis patch also can solve the issue:\nhttps://seclists.org/oss-sec/2025/q4/23\n\n[pjw@kernel.org: clean up checkpatch issues]"},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nriscv: stacktrace: Deshabilitar las comprobaciones de KASAN para tareas no actuales\n\nAl desenrollar la pila de una tarea distinta de la actual, KASAN informaría 'BUG: KASAN: out-of-bounds in walk_stackframe+0x41c/0x460'\n\nExiste un problema similar en x86 y ha sido resuelto por el commit 84936118bdf3 ('x86/unwind: Deshabilitar las comprobaciones de KASAN para tareas no actuales')\nLa solución podría aplicarse a RISC-V también.\n\nEste parche también puede resolver el problema:\nhttps://seclists.org/oss-sec/2025/q4/23\n\n[pjw@kernel.org: limpiar problemas de checkpatch]"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["arch/riscv/kernel/stacktrace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f","versionType":"git","status":"affected"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"f34ba22989da61186f30a40b6a82e0b3337b96fc","versionType":"git","status":"affected"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2","versionType":"git","status":"affected"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"2c8d2b53866fb229b438296526ef0fa5a990e5e5","versionType":"git","status":"affected"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"060ea84a484e852b52b938f234bf9b5503a6c910","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["arch/riscv/kernel/stacktrace.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","versionType":"semver","status":"unaffected"},{"version":"6.1.167","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.117","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.58","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.17.8","lessThanOrEqual":"6.17.*","versionType":"semver","status":"unaffected"},{"version":"6.18","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}]},"references":[{"url":"https://git.kernel.org/stable/c/060ea84a484e852b52b938f234bf9b5503a6c910","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2c8d2b53866fb229b438296526ef0fa5a990e5e5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f34ba22989da61186f30a40b6a82e0b3337b96fc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}