CVE-2025-40358

CVE-2025-40358

High · published December 16, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
3.8
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00150 · 3.8th percentile
Published
2025-12-16T19:15Z
References (5)
EPSS history
Timeline
  • 16 DEC 13:39Z
    riscv: stacktrace: Disable KASAN checks for non-current tasks
    cvelistv5