CVE-2025-40358
riscv: stacktrace: Disable KASAN checks for non-current tasks
Reported by linux · Published December 16, 2025
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]
EPSS 0.15% · 4.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.18, 6.17.8, 6.12.58, 6.6.117 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5d8544e2d0075a5f3c9a2cf27152354d54360da1, 5d8544e2d0075a5f3c9a2cf27152354d54360da1, 5d8544e2d0075a5f3c9a2cf27152354d54360da1 |
| Linux | Linux | 4.15, 0, 6.1.167 |
| linux | linux_kernel | 4.15, 4.15, 4.15 |
| Linux | Linux | 5d8544e2d0075a5f3c9a2cf27152354d54360da1, 4.15, 0 |
Timeline
- Dec 16, 2025 CVE Published
- Dec 17, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (205 in total, the first dated here)
- Mar 29, 2026 Security Advisory (211 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40358
vulnetix vdb fixes CVE-2025-40358
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40358/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart