<?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://cve.radiocsirt.org</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>Sat, 03 Oct 2026 06:21:30 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-43319 — spi: spidev: fix lock inversion between spi_lock and buf_lock</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-43319</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;spi: spidev: fix lock inversion between spi_lock and buf_lock&lt;/p&gt;
&lt;p&gt;The spidev driver previously used two mutexes, spi_lock and buf_lock,
but acquired them in different orders depending on the code path:&lt;/p&gt;
&lt;p&gt;write()/read(): buf_lock -&amp;gt; spi_lock
  ioctl():       spi_lock -&amp;gt; buf_lock&lt;/p&gt;
&lt;p&gt;This AB-BA locking pattern triggers lockdep warnings and can
cause real deadlocks:&lt;/p&gt;
&lt;p&gt;WARNING: possible circular locking dependency detected
  spidev_ioctl() -&amp;gt; mutex_lock(&amp;amp;spidev-&amp;gt;buf_lock)
  spidev_sync_write() -&amp;gt; mutex_lock(&amp;amp;spidev-&amp;gt;spi_lock)
  *** DEADLOCK ***&lt;/p&gt;
&lt;p&gt;The issue is reproducible with a simple userspace program that
performs write() and SPI_IOC_WR_MAX_SPEED_HZ ioctl() calls from
separate threads on the same spidev file descriptor.&lt;/p&gt;
&lt;p&gt;Fix this by simplifying the locking model and removing the lock
inversion entirely. spidev_sync() no longer performs any locking,
and all callers serialize access using spi_lock.&lt;/p&gt;
&lt;p&gt;buf_lock is removed since its functionality is fully covered by
spi_lock, eliminating the possibility of lock ordering issues.&lt;/p&gt;
&lt;p&gt;This removes the lock inversion and prevents deadlocks without
changing userspace ABI or behaviour.&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;spi: spidev: fix lock inversion between spi_lock and buf_lock&lt;/p&gt;
&lt;p&gt;The spidev driver previously used two mutexes, spi_lock and buf_lock,
but acquired them in different orders depending on the code path:&lt;/p&gt;
&lt;p&gt;write()/read(): buf_lock -&amp;gt; spi_lock
  ioctl():       spi_lock -&amp;gt; buf_lock&lt;/p&gt;
&lt;p&gt;This AB-BA locking pattern triggers lockdep warnings and can
cause real deadlocks:&lt;/p&gt;
&lt;p&gt;WARNING: possible circular locking dependency detected
  spidev_ioctl() -&amp;gt; mutex_lock(&amp;amp;spidev-&amp;gt;buf_lock)
  spidev_sync_write() -&amp;gt; mutex_lock(&amp;amp;spidev-&amp;gt;spi_lock)
  *** DEADLOCK ***&lt;/p&gt;
&lt;p&gt;The issue is reproducible with a simple userspace program that
performs write() and SPI_IOC_WR_MAX_SPEED_HZ ioctl() calls from
separate threads on the same spidev file descriptor.&lt;/p&gt;
&lt;p&gt;Fix this by simplifying the locking model and removing the lock
inversion entirely. spidev_sync() no longer performs any locking,
and all callers serialize access using spi_lock.&lt;/p&gt;
&lt;p&gt;buf_lock is removed since its functionality is fully covered by
spi_lock, eliminating the possibility of lock ordering issues.&lt;/p&gt;
&lt;p&gt;This removes the lock inversion and prevents deadlocks without
changing userspace ABI or behaviour.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-43319</guid>
    </item>
  </channel>
</rss>
