<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-03T07:14:54.614298+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/cve-2026-43319</id>
    <title>CVE-2026-43319 — spi: spidev: fix lock inversion between spi_lock and buf_lock</title>
    <updated>2026-10-03T07:14:54.633308+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>spi: spidev: fix lock inversion between spi_lock and buf_lock</p>
<p>The spidev driver previously used two mutexes, spi_lock and buf_lock,
but acquired them in different orders depending on the code path:</p>
<p>write()/read(): buf_lock -&gt; spi_lock
  ioctl():       spi_lock -&gt; buf_lock</p>
<p>This AB-BA locking pattern triggers lockdep warnings and can
cause real deadlocks:</p>
<p>WARNING: possible circular locking dependency detected
  spidev_ioctl() -&gt; mutex_lock(&amp;spidev-&gt;buf_lock)
  spidev_sync_write() -&gt; mutex_lock(&amp;spidev-&gt;spi_lock)
  *** DEADLOCK ***</p>
<p>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.</p>
<p>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.</p>
<p>buf_lock is removed since its functionality is fully covered by
spi_lock, eliminating the possibility of lock ordering issues.</p>
<p>This removes the lock inversion and prevents deadlocks without
changing userspace ABI or behaviour.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-43319"/>
  </entry>
</feed>
