<?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>Sun, 04 Oct 2026 11:17:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-50186 — net: explicitly clear the sk pointer, when pf-&gt;create fails</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-50186</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;net: explicitly clear the sk pointer, when pf-&amp;gt;create fails&lt;/p&gt;
&lt;p&gt;We have recently noticed the exact same KASAN splat as in commit
6cd4a78d962b (&amp;#34;net: do not leave a dangling sk pointer, when socket
creation fails&amp;#34;). The problem is that commit did not fully address the
problem, as some pf-&amp;gt;create implementations do not use sk_common_release
in their error paths.&lt;/p&gt;
&lt;p&gt;For example, we can use the same reproducer as in the above commit, but
changing ping to arping. arping uses AF_PACKET socket and if packet_create
fails, it will just sk_free the allocated sk object.&lt;/p&gt;
&lt;p&gt;While we could chase all the pf-&amp;gt;create implementations and make sure they
NULL the freed sk object on error from the socket, we can&amp;#39;t guarantee
future protocols will not make the same mistake.&lt;/p&gt;
&lt;p&gt;So it is easier to just explicitly NULL the sk pointer upon return from
pf-&amp;gt;create in __sock_create. We do know that pf-&amp;gt;create always releases the
allocated sk object on error, so if the pointer is not NULL, it is
definitely dangling.&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;net: explicitly clear the sk pointer, when pf-&amp;gt;create fails&lt;/p&gt;
&lt;p&gt;We have recently noticed the exact same KASAN splat as in commit
6cd4a78d962b (&amp;#34;net: do not leave a dangling sk pointer, when socket
creation fails&amp;#34;). The problem is that commit did not fully address the
problem, as some pf-&amp;gt;create implementations do not use sk_common_release
in their error paths.&lt;/p&gt;
&lt;p&gt;For example, we can use the same reproducer as in the above commit, but
changing ping to arping. arping uses AF_PACKET socket and if packet_create
fails, it will just sk_free the allocated sk object.&lt;/p&gt;
&lt;p&gt;While we could chase all the pf-&amp;gt;create implementations and make sure they
NULL the freed sk object on error from the socket, we can&amp;#39;t guarantee
future protocols will not make the same mistake.&lt;/p&gt;
&lt;p&gt;So it is easier to just explicitly NULL the sk pointer upon return from
pf-&amp;gt;create in __sock_create. We do know that pf-&amp;gt;create always releases the
allocated sk object on error, so if the pointer is not NULL, it is
definitely dangling.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-50186</guid>
    </item>
  </channel>
</rss>
