CVE-2025-40358riscv: stacktrace: Disable KASAN checks for non-current tasks
- 7.1HighCVSS base score
- 0.15%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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]
Timeline
ID reserved
By Linux
- 8 months later
· 8 months later
Published
- 8 months later
· 8 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Deferred | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.15% · top 96% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 5d8544e2d0075a5f3c9a2cf27152354d54360da1 – < ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f
- affected 5d8544e2d0075a5f3c9a2cf27152354d54360da1 – < f34ba22989da61186f30a40b6a82e0b3337b96fc
- affected 5d8544e2d0075a5f3c9a2cf27152354d54360da1 – < 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2
- affected 5d8544e2d0075a5f3c9a2cf27152354d54360da1 – < 2c8d2b53866fb229b438296526ef0fa5a990e5e5
- affected 5d8544e2d0075a5f3c9a2cf27152354d54360da1 – < 060ea84a484e852b52b938f234bf9b5503a6c910
- affected 4.15
- unaffected < 4.15
- unaffected 6.1.167 – ≤ 6.1.*
- unaffected 6.6.117 – ≤ 6.6.*
- unaffected 6.12.58 – ≤ 6.12.*
- unaffected 6.17.8 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f (opens in a new tab)
- https://git.kernel.org/stable/c/f34ba22989da61186f30a40b6a82e0b3337b96fc (opens in a new tab)
- https://git.kernel.org/stable/c/27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2 (opens in a new tab)
- https://git.kernel.org/stable/c/2c8d2b53866fb229b438296526ef0fa5a990e5e5 (opens in a new tab)
- https://git.kernel.org/stable/c/060ea84a484e852b52b938f234bf9b5503a6c910 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-203735 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40358)Record last updated .