<?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>Sun, 04 Oct 2026 21:03:23 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26741 — dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-26741</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;dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().&lt;/p&gt;
&lt;p&gt;syzkaller reported a warning [0] in inet_csk_destroy_sock() with no
repro.&lt;/p&gt;
&lt;p&gt;WARN_ON(inet_sk(sk)-&amp;gt;inet_num &amp;amp;&amp;amp; !inet_csk(sk)-&amp;gt;icsk_bind_hash);&lt;/p&gt;
&lt;p&gt;However, the syzkaller&amp;#39;s log hinted that connect() failed just before
the warning due to FAULT_INJECTION.  [1]&lt;/p&gt;
&lt;p&gt;When connect() is called for an unbound socket, we search for an
available ephemeral port.  If a bhash bucket exists for the port, we
call __inet_check_established() or __inet6_check_established() to check
if the bucket is reusable.&lt;/p&gt;
&lt;p&gt;If reusable, we add the socket into ehash and set inet_sk(sk)-&amp;gt;inet_num.&lt;/p&gt;
&lt;p&gt;Later, we look up the corresponding bhash2 bucket and try to allocate
it if it does not exist.&lt;/p&gt;
&lt;p&gt;Although it rarely occurs in real use, if the allocation fails, we must
revert the changes by check_established().  Otherwise, an unconnected
socket could illegally occupy an ehash entry.&lt;/p&gt;
&lt;p&gt;Note that we do not put tw back into ehash because sk might have
already responded to a packet for tw and it would be better to free
tw earlier under such memory presure.&lt;/p&gt;
&lt;p&gt;[0]:
WARNING: CPU: 0 PID: 350830 at net/ipv4/inet_connection_sock.c:1193 inet_csk_destroy_sock (net/ipv4/inet_connection_sock.c:1193)
Modules linked in:
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
RIP: 0010:inet_csk_destroy_sock (net/ipv4/inet_connection_…&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;dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().&lt;/p&gt;
&lt;p&gt;syzkaller reported a warning [0] in inet_csk_destroy_sock() with no
repro.&lt;/p&gt;
&lt;p&gt;WARN_ON(inet_sk(sk)-&amp;gt;inet_num &amp;amp;&amp;amp; !inet_csk(sk)-&amp;gt;icsk_bind_hash);&lt;/p&gt;
&lt;p&gt;However, the syzkaller&amp;#39;s log hinted that connect() failed just before
the warning due to FAULT_INJECTION.  [1]&lt;/p&gt;
&lt;p&gt;When connect() is called for an unbound socket, we search for an
available ephemeral port.  If a bhash bucket exists for the port, we
call __inet_check_established() or __inet6_check_established() to check
if the bucket is reusable.&lt;/p&gt;
&lt;p&gt;If reusable, we add the socket into ehash and set inet_sk(sk)-&amp;gt;inet_num.&lt;/p&gt;
&lt;p&gt;Later, we look up the corresponding bhash2 bucket and try to allocate
it if it does not exist.&lt;/p&gt;
&lt;p&gt;Although it rarely occurs in real use, if the allocation fails, we must
revert the changes by check_established().  Otherwise, an unconnected
socket could illegally occupy an ehash entry.&lt;/p&gt;
&lt;p&gt;Note that we do not put tw back into ehash because sk might have
already responded to a packet for tw and it would be better to free
tw earlier under such memory presure.&lt;/p&gt;
&lt;p&gt;[0]:
WARNING: CPU: 0 PID: 350830 at net/ipv4/inet_connection_sock.c:1193 inet_csk_destroy_sock (net/ipv4/inet_connection_sock.c:1193)
Modules linked in:
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
RIP: 0010:inet_csk_destroy_sock (net/ipv4/inet_connection_…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-26741</guid>
    </item>
  </channel>
</rss>
