<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:30:32.165418+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-143057</id>
    <title>CVE-2026-143057 — gpio: shared: fix a race in shared desc release path</title>
    <updated>2026-12-04T19:30:32.167883+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>gpio: shared: fix a race in shared desc release path</p>
<p>gpiod_shared_put() races with concurrent calls to
devm_gpiod_shared_get() like so:</p>
<p>CPU 0 (unbind / probe failure)      CPU 1 (concurrent proxy probe)
==============================      ==============================
gpiod_shared_put()
  kref_put(&amp;entry-&gt;ref, ...)
    refcount_dec_and_test() // -&gt; 0
                                    devm_gpiod_shared_get()
                                      mutex_lock(&amp;entry-&gt;lock);
                                      if (entry-&gt;shared_desc) {
                                        kref_get(&amp;entry-&gt;ref); // on 0!
                                        shared_desc = entry-&gt;shared_desc;
                                      }
                                      mutex_unlock(&amp;entry-&gt;lock);
    gpio_shared_release()
      mutex_lock(&amp;entry-&gt;lock);
      kfree(shared_desc);
      entry-&gt;shared_desc = NULL;
      mutex_unlock(&amp;entry-&gt;lock);
                                      // uses freed shared_desc</p>
<p>Because gpiod_shared_put() decrements entry-&gt;ref without holding
entry-&gt;lock and gpio_shared_release() only acquires entry-&gt;lock after the
reference count has already reached zero, a concurrent call to
devm_gpiod_shared_get() can acquire entry-&gt;lock in the intermediate window
and observe a non-NULL entry-&gt;shared_desc. This can result in a
use-after-free and a double-free when the second consumer releases its
refere…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-143057"/>
  </entry>
</feed>
