CVE-2026-23217: Linux kernel · riscv: trace: fix snapshot deadlock with sbi ecall
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux@6.17.0-40.40?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws@6.17.0-1019.19?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure@6.17.0-1020.20?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp@6.17.0-1020.22?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle@6.17.0-1018.18?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability is fixed by excluding sbi_ecall.c functions from function tracing. This exclusion prevents the deadlock condition. Since sbi ecalls can still be logged via trace events, this mitigation does not significantly reduce tracing capabilities. Users should ensure their kernel versions include this fix or apply the exclusion manually if possible. Patch status is not explicitly stated; check vendor advisories for updated kernel versions containing this fix.
Description
A deadlock vulnerability in the Linux kernel's RISC-V trace subsystem was resolved. The issue occurs when tracing functions in sbi_ecall.c, which triggers an endless loop of snapshot calls causing a deadlock. This is particularly easy to trigger on RISC-V systems without the SSTC extension due to periodic SBI ecalls from the timer. The fix involves excluding sbi_ecall.c functions from function tracing.
References
- ubuntu.com/security/CVE-2026-23217 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-23217 (opens in a new tab)
- git.kernel.org/linus/b0d7f5f0c9f05f1b6d4ee7110f15bef9c11f9df0 (opens in a new tab)
- git.kernel.org/stable/c/b0d7f5f0c9f05f1b6d4ee7110f15bef9c11f9df0 (opens in a new tab)
- git.kernel.org/stable/c/b1f8285bc8e3508c1fde23b5205f1270215d4984 (opens in a new tab)