Vulnerability in Linux
CVE-2025-40358
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 [pjw@kernel.org: clean up checkpatch issues]
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS: 0.001 (3.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 3rd percentile — 3.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000
Affected products
- Linux — versions 5d8544e2d0075a5f3c9a2cf27152354d54360da1, 4.15, 0
References
Frequently asked questions
- What is CVE-2025-40358?
- CVE-2025-40358 is a high-severity vulnerability in Linux. CVSS score: 7.1/10. Published 2025-12-16.
- How severe is CVE-2025-40358?
- High severity. CVSS v3 base score is 7.1 out of 10.