<?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://cve.radiocsirt.org</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>Wed, 07 Oct 2026 20:53:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47012 — RDMA/siw: Fix a use after free in siw_alloc_mr</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-47012</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/siw: Fix a use after free in siw_alloc_mr&lt;/p&gt;
&lt;p&gt;Our code analyzer reported a UAF.&lt;/p&gt;
&lt;p&gt;In siw_alloc_mr(), it calls siw_mr_add_mem(mr,..). In the implementation of
siw_mr_add_mem(), mem is assigned to mr-&amp;gt;mem and then mem is freed via
kfree(mem) if xa_alloc_cyclic() failed. Here, mr-&amp;gt;mem still point to a
freed object. After, the execution continue up to the err_out branch of
siw_alloc_mr, and the freed mr-&amp;gt;mem is used in siw_mr_drop_mem(mr).&lt;/p&gt;
&lt;p&gt;My patch moves &amp;#34;mr-&amp;gt;mem = mem&amp;#34; behind the if (xa_alloc_cyclic(..)&amp;lt;0) {}
section, to avoid the uaf.&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/siw: Fix a use after free in siw_alloc_mr&lt;/p&gt;
&lt;p&gt;Our code analyzer reported a UAF.&lt;/p&gt;
&lt;p&gt;In siw_alloc_mr(), it calls siw_mr_add_mem(mr,..). In the implementation of
siw_mr_add_mem(), mem is assigned to mr-&amp;gt;mem and then mem is freed via
kfree(mem) if xa_alloc_cyclic() failed. Here, mr-&amp;gt;mem still point to a
freed object. After, the execution continue up to the err_out branch of
siw_alloc_mr, and the freed mr-&amp;gt;mem is used in siw_mr_drop_mem(mr).&lt;/p&gt;
&lt;p&gt;My patch moves &amp;#34;mr-&amp;gt;mem = mem&amp;#34; behind the if (xa_alloc_cyclic(..)&amp;lt;0) {}
section, to avoid the uaf.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-47012</guid>
    </item>
  </channel>
</rss>
