CVE-2025-40358

Linux Kernel - Denial of Service via Stacktrace KASAN Check Bypass

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: riscv: stacktrace: Disable KASAN checks for non-current tasks Unwinding the stack of a task other than current, KASAN would report "BUG: KASAN: out-of-bounds in walk_stackframe+0x41c/0x460" There is a same issue on x86 and has been resolved by the commit 84936118bdf3 ("x86/unwind: Disable KASAN checks for non-current tasks") The solution could be applied to RISC-V too. This patch also can solve the issue: https://seclists.org/oss-sec/2025/q4/23 [[email protected]: clean up checkpatch issues]

Scores

EPSS 0.0003
EPSS Percentile 9.0%

Details

Status published
Products (17)
linux/Kernel 4.15.0 - 6.1.167linux
linux/Kernel 4.15.0 - 6.6.117linux
linux/Kernel 6.13.0 - 6.17.8linux
linux/Kernel 6.2.0 - 6.6.117linux
linux/Kernel 6.7.0 - 6.12.58linux
Linux/Linux < 4.15
Linux/Linux 4.15
Linux/Linux 5d8544e2d0075a5f3c9a2cf27152354d54360da1 - 060ea84a484e852b52b938f234bf9b5503a6c910
Linux/Linux 5d8544e2d0075a5f3c9a2cf27152354d54360da1 - 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2
Linux/Linux 5d8544e2d0075a5f3c9a2cf27152354d54360da1 - 2c8d2b53866fb229b438296526ef0fa5a990e5e5
... and 7 more
Published Dec 16, 2025
Tracked Since Feb 18, 2026