<?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://db.gcve.eu</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>Fri, 04 Dec 2026 18:41:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139665 — RDMA/core: Fix swapped list_add_tail() arguments in ib_add_sub_device()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139665</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;RDMA/core: Fix swapped list_add_tail() arguments in ib_add_sub_device()&lt;/p&gt;
&lt;p&gt;ib_add_sub_device() links a new sub-device into its parent&amp;#39;s sub-device
list with:&lt;/p&gt;
&lt;p&gt;list_add_tail(&amp;amp;parent-&amp;gt;subdev_list_head, &amp;amp;sub-&amp;gt;subdev_list);&lt;/p&gt;
&lt;p&gt;list_add_tail(new, head) expects the node to insert as the first
argument and the list head as the second, so the call above does the
opposite of what was intended: it treats the parent&amp;#39;s list head as the
new node and the sub-device&amp;#39;s node as the list head.&lt;/p&gt;
&lt;p&gt;Because _ib_alloc_device() initialises subdev_list to a self-referencing
empty head, the misplaced insertion does not crash, but it corrupts the
parent-&amp;gt;subdev_list_head list.  After adding two or more sub-devices,
only the last one is reachable through the parent&amp;#39;s head, and
ib_del_sub_device_and_put()&amp;#39;s list_del() on &amp;amp;sub-&amp;gt;subdev_list rewrites
the head pointers, potentially severing earlier sub-devices from the
chain.  During parent teardown, the reverse iteration over
subdev_list_head then skips the orphaned sub-devices, so their
del_sub_dev() callbacks are never invoked and ib_device_put() on the
parent is never paired, leaking both the HW sub-devices and a refcount.&lt;/p&gt;
&lt;p&gt;Swap the arguments to match the documented intent: insert the
sub-device node into the parent&amp;#39;s list head.&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;RDMA/core: Fix swapped list_add_tail() arguments in ib_add_sub_device()&lt;/p&gt;
&lt;p&gt;ib_add_sub_device() links a new sub-device into its parent&amp;#39;s sub-device
list with:&lt;/p&gt;
&lt;p&gt;list_add_tail(&amp;amp;parent-&amp;gt;subdev_list_head, &amp;amp;sub-&amp;gt;subdev_list);&lt;/p&gt;
&lt;p&gt;list_add_tail(new, head) expects the node to insert as the first
argument and the list head as the second, so the call above does the
opposite of what was intended: it treats the parent&amp;#39;s list head as the
new node and the sub-device&amp;#39;s node as the list head.&lt;/p&gt;
&lt;p&gt;Because _ib_alloc_device() initialises subdev_list to a self-referencing
empty head, the misplaced insertion does not crash, but it corrupts the
parent-&amp;gt;subdev_list_head list.  After adding two or more sub-devices,
only the last one is reachable through the parent&amp;#39;s head, and
ib_del_sub_device_and_put()&amp;#39;s list_del() on &amp;amp;sub-&amp;gt;subdev_list rewrites
the head pointers, potentially severing earlier sub-devices from the
chain.  During parent teardown, the reverse iteration over
subdev_list_head then skips the orphaned sub-devices, so their
del_sub_dev() callbacks are never invoked and ib_device_put() on the
parent is never paired, leaking both the HW sub-devices and a refcount.&lt;/p&gt;
&lt;p&gt;Swap the arguments to match the documented intent: insert the
sub-device node into the parent&amp;#39;s list head.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139665</guid>
    </item>
  </channel>
</rss>
