<?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>Tue, 06 Oct 2026 20:26:08 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47523 — IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-47523</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;IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr&lt;/p&gt;
&lt;p&gt;This buffer is currently allocated in hfi1_init():&lt;/p&gt;
&lt;p&gt;if (reinit)
		ret = init_after_reset(dd);
	else
		ret = loadtime_init(dd);
	if (ret)
		goto done;&lt;/p&gt;
&lt;p&gt;/* allocate dummy tail memory for all receive contexts */
	dd-&amp;gt;rcvhdrtail_dummy_kvaddr = dma_alloc_coherent(&amp;amp;dd-&amp;gt;pcidev-&amp;gt;dev,
							 sizeof(u64),
							 &amp;amp;dd-&amp;gt;rcvhdrtail_dummy_dma,
							 GFP_KERNEL);&lt;/p&gt;
&lt;p&gt;if (!dd-&amp;gt;rcvhdrtail_dummy_kvaddr) {
		dd_dev_err(dd, &amp;#34;cannot allocate dummy tail memory\n&amp;#34;);
		ret = -ENOMEM;
		goto done;
	}&lt;/p&gt;
&lt;p&gt;The reinit triggered path will overwrite the old allocation and leak it.&lt;/p&gt;
&lt;p&gt;Fix by moving the allocation to hfi1_alloc_devdata() and the deallocation
to hfi1_free_devdata().&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;IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr&lt;/p&gt;
&lt;p&gt;This buffer is currently allocated in hfi1_init():&lt;/p&gt;
&lt;p&gt;if (reinit)
		ret = init_after_reset(dd);
	else
		ret = loadtime_init(dd);
	if (ret)
		goto done;&lt;/p&gt;
&lt;p&gt;/* allocate dummy tail memory for all receive contexts */
	dd-&amp;gt;rcvhdrtail_dummy_kvaddr = dma_alloc_coherent(&amp;amp;dd-&amp;gt;pcidev-&amp;gt;dev,
							 sizeof(u64),
							 &amp;amp;dd-&amp;gt;rcvhdrtail_dummy_dma,
							 GFP_KERNEL);&lt;/p&gt;
&lt;p&gt;if (!dd-&amp;gt;rcvhdrtail_dummy_kvaddr) {
		dd_dev_err(dd, &amp;#34;cannot allocate dummy tail memory\n&amp;#34;);
		ret = -ENOMEM;
		goto done;
	}&lt;/p&gt;
&lt;p&gt;The reinit triggered path will overwrite the old allocation and leak it.&lt;/p&gt;
&lt;p&gt;Fix by moving the allocation to hfi1_alloc_devdata() and the deallocation
to hfi1_free_devdata().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-47523</guid>
    </item>
  </channel>
</rss>
