<?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-10-02T01:49:10.416517+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-74513</id>
    <title>CVE-2026-74513 — dibs: fix use-after-free of dmb_node in loopback attach/detach/unregister</title>
    <updated>2026-10-02T01:49:10.418725+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>dibs: fix use-after-free of dmb_node in loopback attach/detach/unregister</p>
<p>dibs_lo_attach_dmb(), dibs_lo_detach_dmb() and dibs_lo_unregister_dmb()
look up the dmb_node under dmb_ht_lock, drop the lock and only then
operate on the node's refcount. Nothing keeps the node alive across
that window: __dibs_lo_unregister_dmb() removes the node from the hash
table under the write lock and immediately frees it.</p>
<p>A concurrent final put can therefore free the node between the lookup
and the refcount operation:</p>
<p>CPU0 (attach)                     CPU1 (owner unregisters)</p>
<p>read_lock_bh(&amp;dmb_ht_lock)
find dmb_node (refcnt == 1)
read_unlock_bh(&amp;dmb_ht_lock)
                                  refcount_dec_and_test() 1 -&gt; 0
                                  write_lock_bh(&amp;dmb_ht_lock)
                                  hash_del(&amp;dmb_node-&gt;list)
                                  write_unlock_bh(&amp;dmb_ht_lock)
                                  kfree(dmb_node)
refcount_inc_not_zero(&amp;dmb_node-&gt;refcnt)  &lt;-- use-after-free</p>
<p>The same window exists for the refcount_dec_and_test() calls in the
detach and unregister paths.</p>
<p>Close the race structurally by making hash table membership and the
refcount transitions atomic with respect to each other:</p>
<p>- Perform the final refcount_dec_and_test() and hash_del() in a single
  dmb_ht_lock write-side critical section, in both the unregister and
  the detach path. Freeing the node still happens af…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-74513"/>
  </entry>
</feed>
