<?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>Tue, 06 Oct 2026 06:25:48 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47439 — net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2021-47439</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;net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work&lt;/p&gt;
&lt;p&gt;When the ksz module is installed and removed using rmmod, kernel crashes
with null pointer dereferrence error. During rmmod, ksz_switch_remove
function tries to cancel the mib_read_workqueue using
cancel_delayed_work_sync routine and unregister switch from dsa.&lt;/p&gt;
&lt;p&gt;During dsa_unregister_switch it calls ksz_mac_link_down, which in turn
reschedules the workqueue since mib_interval is non-zero.
Due to which queue executed after mib_interval and it tries to access
dp-&amp;gt;slave. But the slave is unregistered in the ksz_switch_remove
function. Hence kernel crashes.&lt;/p&gt;
&lt;p&gt;To avoid this crash, before canceling the workqueue, resetted the
mib_interval to 0.&lt;/p&gt;
&lt;p&gt;v1 -&amp;gt; v2:
-Removed the if condition in ksz_mib_read_work&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;net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work&lt;/p&gt;
&lt;p&gt;When the ksz module is installed and removed using rmmod, kernel crashes
with null pointer dereferrence error. During rmmod, ksz_switch_remove
function tries to cancel the mib_read_workqueue using
cancel_delayed_work_sync routine and unregister switch from dsa.&lt;/p&gt;
&lt;p&gt;During dsa_unregister_switch it calls ksz_mac_link_down, which in turn
reschedules the workqueue since mib_interval is non-zero.
Due to which queue executed after mib_interval and it tries to access
dp-&amp;gt;slave. But the slave is unregistered in the ksz_switch_remove
function. Hence kernel crashes.&lt;/p&gt;
&lt;p&gt;To avoid this crash, before canceling the workqueue, resetted the
mib_interval to 0.&lt;/p&gt;
&lt;p&gt;v1 -&amp;gt; v2:
-Removed the if condition in ksz_mib_read_work&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2021-47439</guid>
    </item>
  </channel>
</rss>
