<?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>Fri, 09 Oct 2026 05:53:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-23143 — net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2025-23143</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC CN 4100, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.&lt;/p&gt;
&lt;p&gt;When I ran the repro [0] and waited a few seconds, I observed two
LOCKDEP splats: a warning immediately followed by a null-ptr-deref. [1]&lt;/p&gt;
&lt;p&gt;Reproduction Steps:&lt;/p&gt;
&lt;p&gt;1) Mount CIFS
  2) Add an iptables rule to drop incoming FIN packets for CIFS
  3) Unmount CIFS
  4) Unload the CIFS module
  5) Remove the iptables rule&lt;/p&gt;
&lt;p&gt;At step 3), the CIFS module calls sock_release() for the underlying
TCP socket, and it returns quickly.  However, the socket remains in
FIN_WAIT_1 because incoming FIN packets are dropped.&lt;/p&gt;
&lt;p&gt;At this point, the module&amp;#39;s refcnt is 0 while the socket is still
alive, so the following rmmod command succeeds.&lt;/p&gt;
&lt;p&gt;# ss -tan
  State      Recv-Q Send-Q Local Address:Port  Peer Address:Port
  FIN-WAIT-1 0      477        10.0.2.15:51062   10.0.0.137:445&lt;/p&gt;
&lt;p&gt;# lsmod | grep cifs
  cifs                 1159168  0&lt;/p&gt;
&lt;p&gt;This highlights a discrepancy between the lifetime of the CIFS module
and the underlying TCP socket.  Even after CIFS calls sock_release()
and it returns, the TCP socket does not die immediately in order to
close the connection gracefully.&lt;/p&gt;
&lt;p&gt;While this is generally fine, it causes an issue with LOCKDEP because
CIFS assigns a different lock class to the TCP socket&amp;#39;s sk-&amp;gt;sk_lock
using sock_lock_init_class_and_name().&lt;/p&gt;
&lt;p&gt;Once an incoming packet is processed for the socket or a timer fires,
sk-&amp;gt;sk_lock is acquired.&lt;/p&gt;
&lt;p&gt;Then, LOCKDEP checks th…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC CN 4100, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.&lt;/p&gt;
&lt;p&gt;When I ran the repro [0] and waited a few seconds, I observed two
LOCKDEP splats: a warning immediately followed by a null-ptr-deref. [1]&lt;/p&gt;
&lt;p&gt;Reproduction Steps:&lt;/p&gt;
&lt;p&gt;1) Mount CIFS
  2) Add an iptables rule to drop incoming FIN packets for CIFS
  3) Unmount CIFS
  4) Unload the CIFS module
  5) Remove the iptables rule&lt;/p&gt;
&lt;p&gt;At step 3), the CIFS module calls sock_release() for the underlying
TCP socket, and it returns quickly.  However, the socket remains in
FIN_WAIT_1 because incoming FIN packets are dropped.&lt;/p&gt;
&lt;p&gt;At this point, the module&amp;#39;s refcnt is 0 while the socket is still
alive, so the following rmmod command succeeds.&lt;/p&gt;
&lt;p&gt;# ss -tan
  State      Recv-Q Send-Q Local Address:Port  Peer Address:Port
  FIN-WAIT-1 0      477        10.0.2.15:51062   10.0.0.137:445&lt;/p&gt;
&lt;p&gt;# lsmod | grep cifs
  cifs                 1159168  0&lt;/p&gt;
&lt;p&gt;This highlights a discrepancy between the lifetime of the CIFS module
and the underlying TCP socket.  Even after CIFS calls sock_release()
and it returns, the TCP socket does not die immediately in order to
close the connection gracefully.&lt;/p&gt;
&lt;p&gt;While this is generally fine, it causes an issue with LOCKDEP because
CIFS assigns a different lock class to the TCP socket&amp;#39;s sk-&amp;gt;sk_lock
using sock_lock_init_class_and_name().&lt;/p&gt;
&lt;p&gt;Once an incoming packet is processed for the socket or a timer fires,
sk-&amp;gt;sk_lock is acquired.&lt;/p&gt;
&lt;p&gt;Then, LOCKDEP checks th…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2025-23143</guid>
    </item>
  </channel>
</rss>
