{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40358","id":"CVE-2025-40358","title":"riscv: stacktrace: Disable KASAN checks for non-current tasks","description":"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\")\nTh","descriptionLong":"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]","published":"2025-12-16T13:39:57.847Z","updated":"2026-10-28T02:30:56.906204151Z","reserved":"2025-04-16T07:20:57.187Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f","status":"affected","versionType":"git"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"f34ba22989da61186f30a40b6a82e0b3337b96fc","status":"affected","versionType":"git"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2","status":"affected","versionType":"git"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"2c8d2b53866fb229b438296526ef0fa5a990e5e5","status":"affected","versionType":"git"},{"version":"5d8544e2d0075a5f3c9a2cf27152354d54360da1","lessThan":"060ea84a484e852b52b938f234bf9b5503a6c910","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.15","status":"affected"},{"version":"0","lessThan":"4.15","status":"unaffected","versionType":"semver"},{"version":"6.1.167","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.117","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.58","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.8","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f34ba22989da61186f30a40b6a82e0b3337b96fc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2c8d2b53866fb229b438296526ef0fa5a990e5e5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/060ea84a484e852b52b938f234bf9b5503a6c910","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40358.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40358","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00161,"epssPercentile":0.05327,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40358","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40358","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40358","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40358","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}