<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T19:51:07.308526+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-23217</id>
    <title>CVE-2026-23217 — riscv: trace: fix snapshot deadlock with sbi ecall</title>
    <updated>2026-09-28T19:51:07.311670+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>riscv: trace: fix snapshot deadlock with sbi ecall</p>
<p>If sbi_ecall.c's functions are traceable,</p>
<p>echo "__sbi_ecall:snapshot" &gt; /sys/kernel/tracing/set_ftrace_filter</p>
<p>may get the kernel into a deadlock.</p>
<p>(Functions in sbi_ecall.c are excluded from tracing if
CONFIG_RISCV_ALTERNATIVE_EARLY is set.)</p>
<p>__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...</p>
<p>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.</p>
<p>Always exclude the sbi_ecall.c functions from tracing to fix the
potential deadlock.</p>
<p>sbi ecalls can easiliy be logged via trace events, excluding ecall
functions from function tracing is not a big limitation.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-23217"/>
  </entry>
</feed>
