CVE-2026-23217: riscv: trace: fix snapshot deadlock with sbi ecall

Published Feb 18, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

riscv: trace: fix snapshot deadlock with sbi ecall

If sbiecall.c's functions are traceable,

echo "sbiecall:snapshot" > /sys/kernel/tracing/setftracefilter

may get the kernel into a deadlock.

(Functions in sbiecall.c are excluded from tracing if CONFIGRISCVALTERNATIVEEARLY is set.)

sbiecall triggers a snapshot of the ringbuffer. The snapshot code raises an IPI interrupt, which results in another call to sbiecall and another snapshot...

All it takes to get into this endless loop is one initial sbiecall. On RISC-V systems without SSTC extension, the clock events in timer-riscv.c issue periodic sbi ecalls, making the problem easy to trigger.

Always exclude the sbiecall.c functions from tracing to fix the potential deadlock.

sbi ecalls can easiliy be logged via trace events, excluding ecall functions from function tracing is not a big limitation.

Affected Software

9 affected components
Linux Linux kernel
Linux Linux kernel>=6.10.10<6.11
Linux Linux kernel>=6.11.1<6.18.10
Linux Linux kernel=6.11
Linux Linux kernel=6.11-rc7
Linux Linux kernel=6.19-rc1
Linux Linux kernel=6.19-rc2
Linux Linux kernel=6.19-rc3
Linux Linux kernel=6.19-rc4

Event History

Feb 18, 2026
CVE Published
via MITRE·02:21 PM
Data Sourced
via MITRE·02:21 PM
Description
Data Sourced
via NVD·03:18 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-23217?

CVE-2026-23217 has a medium severity rating due to the potential for snapshot deadlocks during sbi calls.

2

How do I fix CVE-2026-23217?

To fix CVE-2026-23217, update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What systems are affected by CVE-2026-23217?

CVE-2026-23217 affects systems running vulnerable versions of the Linux kernel that utilize SBI ecall functionalities.

4

What are the potential impacts of CVE-2026-23217?

The potential impacts of CVE-2026-23217 include system deadlocks, leading to unresponsive states during SBI calls.

5

When was CVE-2026-23217 reported?

CVE-2026-23217 was reported as a vulnerability in the Linux kernel related to traceable SBI ecalls.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203