PoC Monitor
← All CVEs
CVE-2025-40358published 16 Dec 2025 13:39 UTCData: JSON · API

Linux

riscv: stacktrace: Disable KASAN checks for non-current tasks

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]

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f
  • >= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < f34ba22989da61186f30a40b6a82e0b3337b96fc
  • >= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2
  • >= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 2c8d2b53866fb229b438296526ef0fa5a990e5e5
  • >= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 060ea84a484e852b52b938f234bf9b5503a6c910

Fixed in ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f, f34ba22989da61186f30a40b6a82e0b3337b96fc, 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2, 2c8d2b53866fb229b438296526ef0fa5a990e5e5, 060ea84a484e852b52b938f234bf9b5503a6c910

Linux Linux
  • 4.15

Fixed in 0, 6.1.167, 6.6.117, 6.12.58, 6.17.8, 6.18

Mitigation

Upgrade Linux to ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f or f34ba22989da61186f30a40b6a82e0b3337b96fc or 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2 or 2c8d2b53866fb229b438296526ef0fa5a990e5e5 or 060ea84a484e852b52b938f234bf9b5503a6c910 or later.

Upgrade Linux to 0 or 6.1.167 or 6.6.117 or 6.12.58 or 6.17.8 or 6.18 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.