<?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>Thu, 08 Oct 2026 00:38:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47467 — kunit: fix reference count leak in kfree_at_end</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-47467</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;kunit: fix reference count leak in kfree_at_end&lt;/p&gt;
&lt;p&gt;The reference counting issue happens in the normal path of
kfree_at_end(). When kunit_alloc_and_get_resource() is invoked, the
function forgets to handle the returned resource object, whose refcount
increased inside, causing a refcount leak.&lt;/p&gt;
&lt;p&gt;Fix this issue by calling kunit_alloc_resource() instead of
kunit_alloc_and_get_resource().&lt;/p&gt;
&lt;p&gt;Fixed the following when applying:
Shuah Khan &amp;lt;skhan@linuxfoundation.org&amp;gt;&lt;/p&gt;
&lt;p&gt;CHECK: Alignment should match open parenthesis
+	kunit_alloc_resource(test, NULL, kfree_res_free, GFP_KERNEL,
 				     (void *)to_free);&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;kunit: fix reference count leak in kfree_at_end&lt;/p&gt;
&lt;p&gt;The reference counting issue happens in the normal path of
kfree_at_end(). When kunit_alloc_and_get_resource() is invoked, the
function forgets to handle the returned resource object, whose refcount
increased inside, causing a refcount leak.&lt;/p&gt;
&lt;p&gt;Fix this issue by calling kunit_alloc_resource() instead of
kunit_alloc_and_get_resource().&lt;/p&gt;
&lt;p&gt;Fixed the following when applying:
Shuah Khan &amp;lt;skhan@linuxfoundation.org&amp;gt;&lt;/p&gt;
&lt;p&gt;CHECK: Alignment should match open parenthesis
+	kunit_alloc_resource(test, NULL, kfree_res_free, GFP_KERNEL,
 				     (void *)to_free);&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-47467</guid>
    </item>
  </channel>
</rss>
