{"id":"CVE-2025-40358","published":"2025-12-16T13:39:57Z","modified":"2026-08-05T12:09:53Z","title":"riscv: stacktrace: Disable KASAN checks for non-current tasks","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: stacktrace: Disable KASAN checks for non-current tasks\n\nUnwinding the stack of a task other than current, KASAN would report\n\"BUG: KASAN: out-of-bounds in walk_stackframe+0x41c/0x460\"\n\nThere is a same issue on x86 and has been resolved by the commit\n84936118bdf3 (\"x86/unwind: Disable KASAN checks for non-current tasks\")\nThe solution could be applied to RISC-V too.\n\nThis patch also can solve the issue:\nhttps://seclists.org/oss-sec/2025/q4/23\n\n[pjw@kernel.org: clean up checkpatch issues]","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00161,"percentile":0.05276,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f","tags":[]},{"url":"https://git.kernel.org/stable/c/f34ba22989da61186f30a40b6a82e0b3337b96fc","tags":[]},{"url":"https://git.kernel.org/stable/c/27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2","tags":[]},{"url":"https://git.kernel.org/stable/c/2c8d2b53866fb229b438296526ef0fa5a990e5e5","tags":[]},{"url":"https://git.kernel.org/stable/c/060ea84a484e852b52b938f234bf9b5503a6c910","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":1.06},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f",">= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < f34ba22989da61186f30a40b6a82e0b3337b96fc",">= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2",">= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 2c8d2b53866fb229b438296526ef0fa5a990e5e5",">= 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 060ea84a484e852b52b938f234bf9b5503a6c910"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"euvd":{"id":"EUVD-2025-203735","exploited":false,"provenance":"source"}}