7.1

CVE-2025-40358: riscv: stacktrace: Disable KASAN checks for non-current tasks

Deferred
AliasesUBUNTU-CVE-2025-40358DEBIAN-CVE-2025-40358
Published 16-12-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-40358 is a high (CVSS 7.1) vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 17 · Related 15

Timeline

  1. 16-12-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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 [pjw@kernel.org: clean up checkpatch issues]

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.15% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu153 products
  • linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.170-1 | < 6.12.63-1 | < 6.17.8-1
Linux1 product
  • linux≥ 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < ef4d626ac59a56f8ec5cc09c1fef26f2923eec6f | ≥ 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < f34ba22989da61186f30a40b6a82e0b3337b96fc | ≥ 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 27379fcc15a10d3e3780fe79ba3fc7ed1ccd78e2 | ≥ 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 2c8d2b53866fb229b438296526ef0fa5a990e5e5 | ≥ 5d8544e2d0075a5f3c9a2cf27152354d54360da1, < 060ea84a484e852b52b938f234bf9b5503a6c910 | 4.15

3 vendors · 155 products

References

24 links
Show all 24 references