<?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://vulnerability.circl.lu</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, 30 Sep 2026 02:03:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68117 — tipc: clear sock-&gt;sk on the failed-insert path in tipc_sk_create()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68117</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;tipc: clear sock-&amp;gt;sk on the failed-insert path in tipc_sk_create()&lt;/p&gt;
&lt;p&gt;When tipc_sk_create() fails to insert the new socket (tipc_sk_insert()
returns non-zero), its error path frees the sk with sk_free() but leaves
sock-&amp;gt;sk pointing at the freed object:&lt;/p&gt;
&lt;p&gt;if (tipc_sk_insert(tsk)) {
		sk_free(sk);
		pr_warn(&amp;#34;Socket create failed; port number exhausted\n&amp;#34;);
		return -EINVAL;
	}&lt;/p&gt;
&lt;p&gt;This is harmless for plain socket(): the syscall layer clears sock-&amp;gt;ops
before releasing, so tipc_release() is never called. It is not harmless
on the accept() path. tipc_accept() creates the pre-allocated child
socket with tipc_sk_create(net, new_sock, 0, kern); on failure it leaves
new_sock-&amp;gt;sk dangling and new_sock-&amp;gt;ops non-NULL, and do_accept() then
fput()s the new file, so __sock_release() -&amp;gt; tipc_release() runs
lock_sock(new_sock-&amp;gt;sk) on the freed sk -- a use-after-free write of the
sk_lock spinlock.&lt;/p&gt;
&lt;p&gt;tipc_release() already guards this exact &amp;#34;failed accept() releases a
pre-allocated child&amp;#34; case with &amp;#34;if (sk == NULL) return 0;&amp;#34;, but the
guard is bypassed because tipc_sk_create() left sock-&amp;gt;sk non-NULL
(dangling) rather than NULL.&lt;/p&gt;
&lt;p&gt;Clear sock-&amp;gt;sk on the failed-insert path so the existing tipc_release()
NULL check fires and the use-after-free is avoided.&lt;/p&gt;
&lt;p&gt;The tipc_sk_insert() failure is reached when the per-netns socket
rhashtable hits its max_size (tsk_rht_params.max_size = 1048576, ~2M
elements) -- i.e. once a netns holds ~2M TIPC s…&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;tipc: clear sock-&amp;gt;sk on the failed-insert path in tipc_sk_create()&lt;/p&gt;
&lt;p&gt;When tipc_sk_create() fails to insert the new socket (tipc_sk_insert()
returns non-zero), its error path frees the sk with sk_free() but leaves
sock-&amp;gt;sk pointing at the freed object:&lt;/p&gt;
&lt;p&gt;if (tipc_sk_insert(tsk)) {
		sk_free(sk);
		pr_warn(&amp;#34;Socket create failed; port number exhausted\n&amp;#34;);
		return -EINVAL;
	}&lt;/p&gt;
&lt;p&gt;This is harmless for plain socket(): the syscall layer clears sock-&amp;gt;ops
before releasing, so tipc_release() is never called. It is not harmless
on the accept() path. tipc_accept() creates the pre-allocated child
socket with tipc_sk_create(net, new_sock, 0, kern); on failure it leaves
new_sock-&amp;gt;sk dangling and new_sock-&amp;gt;ops non-NULL, and do_accept() then
fput()s the new file, so __sock_release() -&amp;gt; tipc_release() runs
lock_sock(new_sock-&amp;gt;sk) on the freed sk -- a use-after-free write of the
sk_lock spinlock.&lt;/p&gt;
&lt;p&gt;tipc_release() already guards this exact &amp;#34;failed accept() releases a
pre-allocated child&amp;#34; case with &amp;#34;if (sk == NULL) return 0;&amp;#34;, but the
guard is bypassed because tipc_sk_create() left sock-&amp;gt;sk non-NULL
(dangling) rather than NULL.&lt;/p&gt;
&lt;p&gt;Clear sock-&amp;gt;sk on the failed-insert path so the existing tipc_release()
NULL check fires and the use-after-free is avoided.&lt;/p&gt;
&lt;p&gt;The tipc_sk_insert() failure is reached when the per-netns socket
rhashtable hits its max_size (tsk_rht_params.max_size = 1048576, ~2M
elements) -- i.e. once a netns holds ~2M TIPC s…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68117</guid>
    </item>
  </channel>
</rss>
