CVE-2026-23217CWE-667

CVE-2026-23217

Medium · published February 18, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
0.9
In the wild
Unconfirmed
What it is

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

riscv: trace: fix snapshot deadlock with sbi ecall

If sbi_ecall.c's functions are traceable,

echo "__sbi_ecall:snapshot" > /sys/kernel/tracing/set_ftrace_filter

may get the kernel into a deadlock.

(Functions in sbi_ecall.c are excluded from tracing if

CONFIG_RISCV_ALTERNATIVE_EARLY is set.)

__sbi_ecall triggers a snapshot of the ringbuffer. The snapshot code

raises an IPI interrupt, which results in another call to __sbi_ecall

and another snapshot...

All it takes to get into this endless loop is one initial __sbi_ecall.

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 sbi_ecall.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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00102 · 0.9th percentile
Weakness
CWE-667 · Improper Locking
Published
2026-02-18T20:18Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 6.10.10, < 6.116.11
linux/linux_kernel≥ 6.11.1, < 6.18.106.18.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 18 FEB 14:21Z
    riscv: trace: fix snapshot deadlock with sbi ecall
    cvelistv5