<?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>Wed, 07 Oct 2026 10:29:32 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-44935 — sctp: Fix null-ptr-deref in reuseport_add_sock().</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-44935</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;sctp: Fix null-ptr-deref in reuseport_add_sock().&lt;/p&gt;
&lt;p&gt;syzbot reported a null-ptr-deref while accessing sk2-&amp;gt;sk_reuseport_cb in
reuseport_add_sock(). [0]&lt;/p&gt;
&lt;p&gt;The repro first creates a listener with SO_REUSEPORT.  Then, it creates
another listener on the same port and concurrently closes the first
listener.&lt;/p&gt;
&lt;p&gt;The second listen() calls reuseport_add_sock() with the first listener as
sk2, where sk2-&amp;gt;sk_reuseport_cb is not expected to be cleared concurrently,
but the close() does clear it by reuseport_detach_sock().&lt;/p&gt;
&lt;p&gt;The problem is SCTP does not properly synchronise reuseport_alloc(),
reuseport_add_sock(), and reuseport_detach_sock().&lt;/p&gt;
&lt;p&gt;The caller of reuseport_alloc() and reuseport_{add,detach}_sock() must
provide synchronisation for sockets that are classified into the same
reuseport group.&lt;/p&gt;
&lt;p&gt;Otherwise, such sockets form multiple identical reuseport groups, and
all groups except one would be silently dead.&lt;/p&gt;
&lt;p&gt;1. Two sockets call listen() concurrently
  2. No socket in the same group found in sctp_ep_hashtable[]
  3. Two sockets call reuseport_alloc() and form two reuseport groups
  4. Only one group hit first in __sctp_rcv_lookup_endpoint() receives
      incoming packets&lt;/p&gt;
&lt;p&gt;Also, the reported null-ptr-deref could occur.&lt;/p&gt;
&lt;p&gt;TCP/UDP guarantees that would not happen by holding the hash bucket lock.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s apply the locking strategy to __sctp_hash_endpoint() and
__sctp_unhash_endpoint().&lt;/p&gt;
&lt;p&gt;[0]:
Oops: general protection fault, p…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;sctp: Fix null-ptr-deref in reuseport_add_sock().&lt;/p&gt;
&lt;p&gt;syzbot reported a null-ptr-deref while accessing sk2-&amp;gt;sk_reuseport_cb in
reuseport_add_sock(). [0]&lt;/p&gt;
&lt;p&gt;The repro first creates a listener with SO_REUSEPORT.  Then, it creates
another listener on the same port and concurrently closes the first
listener.&lt;/p&gt;
&lt;p&gt;The second listen() calls reuseport_add_sock() with the first listener as
sk2, where sk2-&amp;gt;sk_reuseport_cb is not expected to be cleared concurrently,
but the close() does clear it by reuseport_detach_sock().&lt;/p&gt;
&lt;p&gt;The problem is SCTP does not properly synchronise reuseport_alloc(),
reuseport_add_sock(), and reuseport_detach_sock().&lt;/p&gt;
&lt;p&gt;The caller of reuseport_alloc() and reuseport_{add,detach}_sock() must
provide synchronisation for sockets that are classified into the same
reuseport group.&lt;/p&gt;
&lt;p&gt;Otherwise, such sockets form multiple identical reuseport groups, and
all groups except one would be silently dead.&lt;/p&gt;
&lt;p&gt;1. Two sockets call listen() concurrently
  2. No socket in the same group found in sctp_ep_hashtable[]
  3. Two sockets call reuseport_alloc() and form two reuseport groups
  4. Only one group hit first in __sctp_rcv_lookup_endpoint() receives
      incoming packets&lt;/p&gt;
&lt;p&gt;Also, the reported null-ptr-deref could occur.&lt;/p&gt;
&lt;p&gt;TCP/UDP guarantees that would not happen by holding the hash bucket lock.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s apply the locking strategy to __sctp_hash_endpoint() and
__sctp_unhash_endpoint().&lt;/p&gt;
&lt;p&gt;[0]:
Oops: general protection fault, p…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-44935</guid>
    </item>
  </channel>
</rss>
