<?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>Thu, 01 Oct 2026 21:55:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-22077 — Revert "smb: client: fix TCP timers deadlock after rmmod"</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-22077</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;Revert &amp;#34;smb: client: fix TCP timers deadlock after rmmod&amp;#34;&lt;/p&gt;
&lt;p&gt;This reverts commit e9f2517a3e18a54a3943c098d2226b245d488801.&lt;/p&gt;
&lt;p&gt;Commit e9f2517a3e18 (&amp;#34;smb: client: fix TCP timers deadlock after
rmmod&amp;#34;) is intended to fix a null-ptr-deref in LOCKDEP, which is
mentioned as CVE-2024-54680, but is actually did not fix anything;
The issue can be reproduced on top of it. [0]&lt;/p&gt;
&lt;p&gt;Also, it reverted the change by commit ef7134c7fc48 (&amp;#34;smb: client:
Fix use-after-free of network namespace.&amp;#34;) and introduced a real
issue by reviving the kernel TCP socket.&lt;/p&gt;
&lt;p&gt;When a reconnect happens for a CIFS connection, the socket state
transitions to FIN_WAIT_1.  Then, inet_csk_clear_xmit_timers_sync()
in tcp_close() stops all timers for the socket.&lt;/p&gt;
&lt;p&gt;If an incoming FIN packet is lost, the socket will stay at FIN_WAIT_1
forever, and such sockets could be leaked up to net.ipv4.tcp_max_orphans.&lt;/p&gt;
&lt;p&gt;Usually, FIN can be retransmitted by the peer, but if the peer aborts
the connection, the issue comes into reality.&lt;/p&gt;
&lt;p&gt;I warned about this privately by pointing out the exact report [1],
but the bogus fix was finally merged.&lt;/p&gt;
&lt;p&gt;So, we should not stop the timers to finally kill the connection on
our side in that case, meaning we must not use a kernel socket for
TCP whose sk-&amp;gt;sk_net_refcnt is 0.&lt;/p&gt;
&lt;p&gt;The kernel socket does not have a reference to its netns to make it
possible to tear down netns without cleaning up every resource in it.&lt;/p&gt;
&lt;p&gt;For example, tunnel devices us…&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;Revert &amp;#34;smb: client: fix TCP timers deadlock after rmmod&amp;#34;&lt;/p&gt;
&lt;p&gt;This reverts commit e9f2517a3e18a54a3943c098d2226b245d488801.&lt;/p&gt;
&lt;p&gt;Commit e9f2517a3e18 (&amp;#34;smb: client: fix TCP timers deadlock after
rmmod&amp;#34;) is intended to fix a null-ptr-deref in LOCKDEP, which is
mentioned as CVE-2024-54680, but is actually did not fix anything;
The issue can be reproduced on top of it. [0]&lt;/p&gt;
&lt;p&gt;Also, it reverted the change by commit ef7134c7fc48 (&amp;#34;smb: client:
Fix use-after-free of network namespace.&amp;#34;) and introduced a real
issue by reviving the kernel TCP socket.&lt;/p&gt;
&lt;p&gt;When a reconnect happens for a CIFS connection, the socket state
transitions to FIN_WAIT_1.  Then, inet_csk_clear_xmit_timers_sync()
in tcp_close() stops all timers for the socket.&lt;/p&gt;
&lt;p&gt;If an incoming FIN packet is lost, the socket will stay at FIN_WAIT_1
forever, and such sockets could be leaked up to net.ipv4.tcp_max_orphans.&lt;/p&gt;
&lt;p&gt;Usually, FIN can be retransmitted by the peer, but if the peer aborts
the connection, the issue comes into reality.&lt;/p&gt;
&lt;p&gt;I warned about this privately by pointing out the exact report [1],
but the bogus fix was finally merged.&lt;/p&gt;
&lt;p&gt;So, we should not stop the timers to finally kill the connection on
our side in that case, meaning we must not use a kernel socket for
TCP whose sk-&amp;gt;sk_net_refcnt is 0.&lt;/p&gt;
&lt;p&gt;The kernel socket does not have a reference to its netns to make it
possible to tear down netns without cleaning up every resource in it.&lt;/p&gt;
&lt;p&gt;For example, tunnel devices us…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-22077</guid>
    </item>
  </channel>
</rss>
