CVE-2025-40358: Linux kernel · riscv: stacktrace: Disable KASAN checks for non-current tasks
Source GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
The issue has been resolved in the Linux kernel source by disabling KASAN checks for non-current tasks on RISC-V, following the precedent set on x86. Users should monitor official Linux kernel advisories and update to the fixed kernel versions once available.
Description
A vulnerability in the Linux kernel's RISC-V architecture stacktrace handling has been resolved. The issue involved KASAN (Kernel Address Sanitizer) checks being performed on non-current tasks during stack unwinding, which caused out-of-bounds errors. This vulnerability could lead to a high impact on confidentiality and availability. A similar issue on the x86 architecture was previously fixed, and the same solution has been applied to RISC-V. No affected versions or patch links are explicitly provided in the data.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40358 (opens in a new tab)
- git.kernel.org/stable/c/060ea84a484e852b52b938f234bf9b5503a6c910 (opens in a new tab)
- git.kernel.org/stable/c/27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2 (opens in a new tab)
- git.kernel.org/stable/c/2c8d2b53866fb229b438296526ef0fa5a990e5e5 (opens in a new tab)
- git.kernel.org/stable/c/ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f (opens in a new tab)
- git.kernel.org/stable/c/f34ba22989da61186f30a40b6a82e0b3337b96fc (opens in a new tab)