<?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 09:30:23 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-50059 — ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-50059</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;ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition&lt;/p&gt;
&lt;p&gt;In the switchtec_ntb_add function, it can call switchtec_ntb_init_sndev
function, then &amp;amp;sndev-&amp;gt;check_link_status_work is bound with
check_link_status_work. switchtec_ntb_link_notification may be called
to start the work.&lt;/p&gt;
&lt;p&gt;If we remove the module which will call switchtec_ntb_remove to make
cleanup, it will free sndev through kfree(sndev), while the work
mentioned above will be used. The sequence of operations that may lead
to a UAF bug is as follows:&lt;/p&gt;
&lt;p&gt;CPU0                                 CPU1&lt;/p&gt;
&lt;p&gt;| check_link_status_work
switchtec_ntb_remove    |
kfree(sndev);           |
                        | if (sndev-&amp;gt;link_force_down)
                        | // use sndev&lt;/p&gt;
&lt;p&gt;Fix it by ensuring that the work is canceled before proceeding with
the cleanup in switchtec_ntb_remove.&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;ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition&lt;/p&gt;
&lt;p&gt;In the switchtec_ntb_add function, it can call switchtec_ntb_init_sndev
function, then &amp;amp;sndev-&amp;gt;check_link_status_work is bound with
check_link_status_work. switchtec_ntb_link_notification may be called
to start the work.&lt;/p&gt;
&lt;p&gt;If we remove the module which will call switchtec_ntb_remove to make
cleanup, it will free sndev through kfree(sndev), while the work
mentioned above will be used. The sequence of operations that may lead
to a UAF bug is as follows:&lt;/p&gt;
&lt;p&gt;CPU0                                 CPU1&lt;/p&gt;
&lt;p&gt;| check_link_status_work
switchtec_ntb_remove    |
kfree(sndev);           |
                        | if (sndev-&amp;gt;link_force_down)
                        | // use sndev&lt;/p&gt;
&lt;p&gt;Fix it by ensuring that the work is canceled before proceeding with
the cleanup in switchtec_ntb_remove.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-50059</guid>
    </item>
  </channel>
</rss>
