5.5

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

Modified
AliasesUBUNTU-CVE-2026-23217DEBIAN-CVE-2026-23217CGA-27rv-5xcp-jmg3
Published 18-02-2026Last modified 21-10-2026

Vulnerability summary

CVE-2026-23217 is a medium (CVSS 5.5) Improper Locking vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.2% of scored vulnerabilities.

Priority
Routine

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

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.14%
0%100%
Low · +0.05 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 5 · Related 4

Timeline

  1. 18-02-2026
    PublishedVulnerability first disclosed.
  2. 21-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.09% on 21-10-2026

21-10-202620-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

Affected systems

Version check

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

Ubuntu159 products
  • linuxAll versions (No fix recorded) | < 6.8.0-151.151
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
  • linux-aws-6.12< 6.12.77-r1 | < 6.12.78-r0 | < 6.12.77-r2 | < 6.12.80-r0
  • linux-azure-6.12< 6.12.78-r0 | < 6.12.77-r2 | < 6.12.80-r0 | < 6.12.77-r1
  • linux-gcp-6.12< 6.12.77-r1 | < 6.12.80-r0 | < 6.12.78-r0 | < 6.12.77-r2
  • linux-qemu-6.12< 6.12.80-r0 | < 6.12.77-r1 | < 6.12.78-r0 | < 6.12.77-r2
  • linux-vmware-6.12< 6.12.78-r0 | < 6.12.77-r2 | < 6.12.77-r1 | < 6.12.80-r0
Debian2 products
  • linuxAll versions (No fix recorded) | < 6.12.115-2 | < 6.18.10-1
  • linux-6.12< 6.12.115-2~deb12u1
Linux2 products
  • linux≥ 1ff95eb2bebda50c4c5406caaf201e0fcb24cc8f, < f8b8ec0ddde74066d4452a7a961da544f193e00f | ≥ 1ff95eb2bebda50c4c5406caaf201e0fcb24cc8f, < b1f8285bc8e3508c1fde23b5205f1270215d4984 | ≥ 1ff95eb2bebda50c4c5406caaf201e0fcb24cc8f, < b0d7f5f0c9f05f1b6d4ee7110f15bef9c11f9df0 | 82f134ddd4f5da11c277bd1aa02e2a733179725a | ≥ 6.10.10, < 6.11 | 6.11
  • linux_kernelEOL≥ 6.10.10, < 6.11 | ≥ 6.11.1, < 6.18.10 | 6.11 | 6.11:rc7 | 6.19:rc1 | 6.19:rc2 | 6.19:rc3 | 6.19:rc4

4 vendors · 168 products

References

10 links