<?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:31:11.544264+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-139584</id>
    <title>CVE-2026-139584 — IB/mad: fix UAF and double-free in RMPP receive reassembly</title>
    <updated>2026-12-04T19:31:11.546186+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>IB/mad: fix UAF and double-free in RMPP receive reassembly</p>
<p>mad_rmpp_recv.state is protected by two locks that do not exclude
each other: recv_timeout_handler() (port workqueue) uses agent-&gt;lock,
continue_rmpp() (CQ softirq) uses rmpp_recv-&gt;lock. Nothing serializes
the check-then-set sequence on the state word:</p>
<p>T1 (CQ softirq)              T2 (port workqueue)
  continue_rmpp()
    lock(rmpp_recv-&gt;lock)
    state == ACTIVE  [passes]
                               recv_timeout_handler()
                                 lock(agent-&gt;lock)
                                 state = TIMEOUT
                                 list_del(&amp;rmpp_recv-&gt;list)
                                 unlock(agent-&gt;lock)
                                 destroy_rmpp_recv()
                                   wait_for_completion()
                                   [blocks on T1's ref]
    state = COMPLETE
    unlock(rmpp_recv-&gt;lock)
    complete_rmpp()
      queue cleanup_work (+10s)
    deref()
                               [unblocks]
                               kfree(rmpp_recv)
                               ib_free_recv_mad(done_wc)</p>
<p>+10s: recv_cleanup_handler() runs lock/list_del/destroy on the
        freed rmpp_recv -&gt; UAF write and double free; nothing can
        cancel that cleanup_work anymore, the entry is already off
        agent-&gt;rmpp_list. done_wc is also returned to
        ib_mad_complete_recv() and freed agai…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139584"/>
  </entry>
</feed>
