<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 28 Sep 2026 19:51:06 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23217 — riscv: trace: fix snapshot deadlock with sbi ecall</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-23217</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;riscv: trace: fix snapshot deadlock with sbi ecall&lt;/p&gt;
&lt;p&gt;If sbi_ecall.c&amp;#39;s functions are traceable,&lt;/p&gt;
&lt;p&gt;echo &amp;#34;__sbi_ecall:snapshot&amp;#34; &amp;gt; /sys/kernel/tracing/set_ftrace_filter&lt;/p&gt;
&lt;p&gt;may get the kernel into a deadlock.&lt;/p&gt;
&lt;p&gt;(Functions in sbi_ecall.c are excluded from tracing if
CONFIG_RISCV_ALTERNATIVE_EARLY is set.)&lt;/p&gt;
&lt;p&gt;__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...&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Always exclude the sbi_ecall.c functions from tracing to fix the
potential deadlock.&lt;/p&gt;
&lt;p&gt;sbi ecalls can easiliy be logged via trace events, excluding ecall
functions from function tracing is not a big limitation.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;riscv: trace: fix snapshot deadlock with sbi ecall&lt;/p&gt;
&lt;p&gt;If sbi_ecall.c&amp;#39;s functions are traceable,&lt;/p&gt;
&lt;p&gt;echo &amp;#34;__sbi_ecall:snapshot&amp;#34; &amp;gt; /sys/kernel/tracing/set_ftrace_filter&lt;/p&gt;
&lt;p&gt;may get the kernel into a deadlock.&lt;/p&gt;
&lt;p&gt;(Functions in sbi_ecall.c are excluded from tracing if
CONFIG_RISCV_ALTERNATIVE_EARLY is set.)&lt;/p&gt;
&lt;p&gt;__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...&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Always exclude the sbi_ecall.c functions from tracing to fix the
potential deadlock.&lt;/p&gt;
&lt;p&gt;sbi ecalls can easiliy be logged via trace events, excluding ecall
functions from function tracing is not a big limitation.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-23217</guid>
    </item>
  </channel>
</rss>
