<?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>Thu, 08 Oct 2026 20:52:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-35910 — tcp: properly terminate timers for kernel sockets</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-35910</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, 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;tcp: properly terminate timers for kernel sockets&lt;/p&gt;
&lt;p&gt;We had various syzbot reports about tcp timers firing after
the corresponding netns has been dismantled.&lt;/p&gt;
&lt;p&gt;Fortunately Josef Bacik could trigger the issue more often,
and could test a patch I wrote two years ago.&lt;/p&gt;
&lt;p&gt;When TCP sockets are closed, we call inet_csk_clear_xmit_timers()
to &amp;#39;stop&amp;#39; the timers.&lt;/p&gt;
&lt;p&gt;inet_csk_clear_xmit_timers() can be called from any context,
including when socket lock is held.
This is the reason it uses sk_stop_timer(), aka del_timer().
This means that ongoing timers might finish much later.&lt;/p&gt;
&lt;p&gt;For user sockets, this is fine because each running timer
holds a reference on the socket, and the user socket holds
a reference on the netns.&lt;/p&gt;
&lt;p&gt;For kernel sockets, we risk that the netns is freed before
timer can complete, because kernel sockets do not hold
reference on the netns.&lt;/p&gt;
&lt;p&gt;This patch adds inet_csk_clear_xmit_timers_sync() function
that using sk_stop_timer_sync() to make sure all timers
are terminated before the kernel socket is released.
Modules using kernel sockets close them in their netns exit()
handler.&lt;/p&gt;
&lt;p&gt;Also add sock_not_owned_by_me() helper to get LOCKDEP
support : inet_csk_clear_xmit_timers_sync() must not be called
while socket lock is held.&lt;/p&gt;
&lt;p&gt;It is very possible we can revert in the future commit
3a58f13a881e (&amp;#34;net: rds: acquire refcount on TCP sockets&amp;#34;)
which attempted to solve the issue in rds only.
(net/smc/af_smc.c and net/mptcp/…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, 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;tcp: properly terminate timers for kernel sockets&lt;/p&gt;
&lt;p&gt;We had various syzbot reports about tcp timers firing after
the corresponding netns has been dismantled.&lt;/p&gt;
&lt;p&gt;Fortunately Josef Bacik could trigger the issue more often,
and could test a patch I wrote two years ago.&lt;/p&gt;
&lt;p&gt;When TCP sockets are closed, we call inet_csk_clear_xmit_timers()
to &amp;#39;stop&amp;#39; the timers.&lt;/p&gt;
&lt;p&gt;inet_csk_clear_xmit_timers() can be called from any context,
including when socket lock is held.
This is the reason it uses sk_stop_timer(), aka del_timer().
This means that ongoing timers might finish much later.&lt;/p&gt;
&lt;p&gt;For user sockets, this is fine because each running timer
holds a reference on the socket, and the user socket holds
a reference on the netns.&lt;/p&gt;
&lt;p&gt;For kernel sockets, we risk that the netns is freed before
timer can complete, because kernel sockets do not hold
reference on the netns.&lt;/p&gt;
&lt;p&gt;This patch adds inet_csk_clear_xmit_timers_sync() function
that using sk_stop_timer_sync() to make sure all timers
are terminated before the kernel socket is released.
Modules using kernel sockets close them in their netns exit()
handler.&lt;/p&gt;
&lt;p&gt;Also add sock_not_owned_by_me() helper to get LOCKDEP
support : inet_csk_clear_xmit_timers_sync() must not be called
while socket lock is held.&lt;/p&gt;
&lt;p&gt;It is very possible we can revert in the future commit
3a58f13a881e (&amp;#34;net: rds: acquire refcount on TCP sockets&amp;#34;)
which attempted to solve the issue in rds only.
(net/smc/af_smc.c and net/mptcp/…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-35910</guid>
    </item>
  </channel>
</rss>
