Back to CVE records
High 7.1Published Dec 16, 2025

CVE-2025-40358riscv: stacktrace: Disable KASAN checks for non-current tasks

Updated under an hour ago ()

Does this affect you?

It affects Linux. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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]

CVSS
7.1 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Deferred
Record last updated
Aug 5, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 5d8544e2d0075a5f3c9a2cf27152354d54360da1 before ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f; from 5d8544e2d0075a5f3c9a2cf27152354d54360da1 before f34ba22989da61186f30a40b6a82e0b3337b96fc; from 5d8544e2d0075a5f3c9a2cf27152354d54360da1 before 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2; 5d8544e2d0075a5f3c9a2cf27152354d54360da1 builds before 2c8d2b53866fb229b438296526ef0fa5a990e5e5; from 5d8544e2d0075a5f3c9a2cf27152354d54360da1 before 060ea84a484e852b52b938f234bf9b5503a6c910
CNA record

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.