<?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 04:15:24 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-21731 — nbd: don't allow reconnect after disconnect</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2025-21731</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, 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;nbd: don&amp;#39;t allow reconnect after disconnect&lt;/p&gt;
&lt;p&gt;Following process can cause nbd_config UAF:&lt;/p&gt;
&lt;p&gt;1) grab nbd_config temporarily;&lt;/p&gt;
&lt;p&gt;2) nbd_genl_disconnect() flush all recv_work() and release the
initial reference:&lt;/p&gt;
&lt;p&gt;nbd_genl_disconnect
   nbd_disconnect_and_put
    nbd_disconnect
     flush_workqueue(nbd-&amp;gt;recv_workq)
    if (test_and_clear_bit(NBD_RT_HAS_CONFIG_REF, ...))
     nbd_config_put
     -&amp;gt; due to step 1), reference is still not zero&lt;/p&gt;
&lt;p&gt;3) nbd_genl_reconfigure() queue recv_work() again;&lt;/p&gt;
&lt;p&gt;nbd_genl_reconfigure
   config = nbd_get_config_unlocked(nbd)
   if (!config)
   -&amp;gt; succeed
   if (!test_bit(NBD_RT_BOUND, ...))
   -&amp;gt; succeed
   nbd_reconnect_socket
    queue_work(nbd-&amp;gt;recv_workq, &amp;amp;args-&amp;gt;work)&lt;/p&gt;
&lt;p&gt;4) step 1) release the reference;&lt;/p&gt;
&lt;p&gt;5) Finially, recv_work() will trigger UAF:&lt;/p&gt;
&lt;p&gt;recv_work
   nbd_config_put(nbd)
   -&amp;gt; nbd_config is freed
   atomic_dec(&amp;amp;config-&amp;gt;recv_threads)
   -&amp;gt; UAF&lt;/p&gt;
&lt;p&gt;Fix the problem by clearing NBD_RT_BOUND in nbd_genl_disconnect(), so
that nbd_genl_reconfigure() will fail.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, 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;nbd: don&amp;#39;t allow reconnect after disconnect&lt;/p&gt;
&lt;p&gt;Following process can cause nbd_config UAF:&lt;/p&gt;
&lt;p&gt;1) grab nbd_config temporarily;&lt;/p&gt;
&lt;p&gt;2) nbd_genl_disconnect() flush all recv_work() and release the
initial reference:&lt;/p&gt;
&lt;p&gt;nbd_genl_disconnect
   nbd_disconnect_and_put
    nbd_disconnect
     flush_workqueue(nbd-&amp;gt;recv_workq)
    if (test_and_clear_bit(NBD_RT_HAS_CONFIG_REF, ...))
     nbd_config_put
     -&amp;gt; due to step 1), reference is still not zero&lt;/p&gt;
&lt;p&gt;3) nbd_genl_reconfigure() queue recv_work() again;&lt;/p&gt;
&lt;p&gt;nbd_genl_reconfigure
   config = nbd_get_config_unlocked(nbd)
   if (!config)
   -&amp;gt; succeed
   if (!test_bit(NBD_RT_BOUND, ...))
   -&amp;gt; succeed
   nbd_reconnect_socket
    queue_work(nbd-&amp;gt;recv_workq, &amp;amp;args-&amp;gt;work)&lt;/p&gt;
&lt;p&gt;4) step 1) release the reference;&lt;/p&gt;
&lt;p&gt;5) Finially, recv_work() will trigger UAF:&lt;/p&gt;
&lt;p&gt;recv_work
   nbd_config_put(nbd)
   -&amp;gt; nbd_config is freed
   atomic_dec(&amp;amp;config-&amp;gt;recv_threads)
   -&amp;gt; UAF&lt;/p&gt;
&lt;p&gt;Fix the problem by clearing NBD_RT_BOUND in nbd_genl_disconnect(), so
that nbd_genl_reconfigure() will fail.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2025-21731</guid>
    </item>
  </channel>
</rss>
