<?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://db.gcve.eu</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, 03 Nov 2026 03:08:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98595 — udp: remove a disconnected socket from the 4-tuple hash table</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98595</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;udp: remove a disconnected socket from the 4-tuple hash table&lt;/p&gt;
&lt;p&gt;A UDP socket bound to a specific address and port keeps its entry in the
4-tuple hash table after it is disconnected:&lt;/p&gt;
&lt;p&gt;sk binds to 127.0.0.1:21001
    sk connects to 127.0.0.2:20001	// filed in the 4-tuple table
    sk disconnects, connect(AF_UNSPEC)	// still filed, peer now 0.0.0.0:0&lt;/p&gt;
&lt;p&gt;__udp_disconnect() takes a socket out of that table only as a side effect
of -&amp;gt;rehash() or -&amp;gt;unhash(), and it skips -&amp;gt;rehash() when
SOCK_BINDADDR_LOCK is set and -&amp;gt;unhash() when SOCK_BINDPORT_LOCK is set.
commit 6996a2d2d0a6 (&amp;#34;udp: Unhash auto-bound connected sk from 4-tuple hash
table when disconnected.&amp;#34;) fixed the same end state for a wildcard-bound
socket, by a path this one does not take.&lt;/p&gt;
&lt;p&gt;The entry is counted whether or not anything hits it. hash4_cnt on the
hash2 slot stays raised for as long as the socket lives, so udp_has_hash4()
keeps sending every packet for that address and port through the 4-tuple
lookup first.&lt;/p&gt;
&lt;p&gt;On IPv6 it can also be hit. __udp_disconnect() does not clear sk_v6_daddr,
so udp_v6_rehash() files the entry under the peer the socket was connected
to with a zero dport, and inet6_match() compares that same
field: a datagram from the former peer with a zero source port matches,
and source port zero is accepted on receive. On IPv4 the peer is cleared,
so a match would need a zero source address as well, which the routing
layer rejects as m…&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;udp: remove a disconnected socket from the 4-tuple hash table&lt;/p&gt;
&lt;p&gt;A UDP socket bound to a specific address and port keeps its entry in the
4-tuple hash table after it is disconnected:&lt;/p&gt;
&lt;p&gt;sk binds to 127.0.0.1:21001
    sk connects to 127.0.0.2:20001	// filed in the 4-tuple table
    sk disconnects, connect(AF_UNSPEC)	// still filed, peer now 0.0.0.0:0&lt;/p&gt;
&lt;p&gt;__udp_disconnect() takes a socket out of that table only as a side effect
of -&amp;gt;rehash() or -&amp;gt;unhash(), and it skips -&amp;gt;rehash() when
SOCK_BINDADDR_LOCK is set and -&amp;gt;unhash() when SOCK_BINDPORT_LOCK is set.
commit 6996a2d2d0a6 (&amp;#34;udp: Unhash auto-bound connected sk from 4-tuple hash
table when disconnected.&amp;#34;) fixed the same end state for a wildcard-bound
socket, by a path this one does not take.&lt;/p&gt;
&lt;p&gt;The entry is counted whether or not anything hits it. hash4_cnt on the
hash2 slot stays raised for as long as the socket lives, so udp_has_hash4()
keeps sending every packet for that address and port through the 4-tuple
lookup first.&lt;/p&gt;
&lt;p&gt;On IPv6 it can also be hit. __udp_disconnect() does not clear sk_v6_daddr,
so udp_v6_rehash() files the entry under the peer the socket was connected
to with a zero dport, and inet6_match() compares that same
field: a datagram from the former peer with a zero source port matches,
and source port zero is accepted on receive. On IPv4 the peer is cleared,
so a match would need a zero source address as well, which the routing
layer rejects as m…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98595</guid>
    </item>
  </channel>
</rss>
