CVE Catalog

CVE-2025-40358

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel for RISC-V, KASAN falsely reported an out-of-bounds error when unwinding the stack of a non-current task. The issue was fixed by disabling KASAN checks for such tasks, similar to a previous x86 patch.

Risk Assessment

False KASAN alarms can mask real vulnerabilities or hinder debugging, leading to unpredictable system behavior.

Recommendation

Apply the kernel patch containing the fix for RISC-V.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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]

Vulnerability data from NVD (NIST) · CISA KEV · EPSS