<?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 11:43:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-56599 — wifi: ath10k: avoid NULL pointer error during sdio remove</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-56599</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;wifi: ath10k: avoid NULL pointer error during sdio remove&lt;/p&gt;
&lt;p&gt;When running &amp;#39;rmmod ath10k&amp;#39;, ath10k_sdio_remove() will free sdio
workqueue by destroy_workqueue(). But if CONFIG_INIT_ON_FREE_DEFAULT_ON
is set to yes, kernel panic will happen:
Call trace:
 destroy_workqueue+0x1c/0x258
 ath10k_sdio_remove+0x84/0x94
 sdio_bus_remove+0x50/0x16c
 device_release_driver_internal+0x188/0x25c
 device_driver_detach+0x20/0x2c&lt;/p&gt;
&lt;p&gt;This is because during &amp;#39;rmmod ath10k&amp;#39;, ath10k_sdio_remove() will call
ath10k_core_destroy() before destroy_workqueue(). wiphy_dev_release()
will finally be called in ath10k_core_destroy(). This function will free
struct cfg80211_registered_device *rdev and all its members, including
wiphy, dev and the pointer of sdio workqueue. Then the pointer of sdio
workqueue will be set to NULL due to CONFIG_INIT_ON_FREE_DEFAULT_ON.&lt;/p&gt;
&lt;p&gt;After device release, destroy_workqueue() will use NULL pointer then the
kernel panic happen.&lt;/p&gt;
&lt;p&gt;Call trace:
ath10k_sdio_remove
  -&amp;gt;ath10k_core_unregister
    ……
    -&amp;gt;ath10k_core_stop
      -&amp;gt;ath10k_hif_stop
        -&amp;gt;ath10k_sdio_irq_disable
    -&amp;gt;ath10k_hif_power_down
      -&amp;gt;del_timer_sync(&amp;amp;ar_sdio-&amp;gt;sleep_timer)
  -&amp;gt;ath10k_core_destroy
    -&amp;gt;ath10k_mac_destroy
      -&amp;gt;ieee80211_free_hw
        -&amp;gt;wiphy_free
    ……
          -&amp;gt;wiphy_dev_release
  -&amp;gt;destroy_workqueue&lt;/p&gt;
&lt;p&gt;Need to call destroy_workqueue() before ath10k_core_destroy(), free
the work queue buffer first and then free pointer of…&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;wifi: ath10k: avoid NULL pointer error during sdio remove&lt;/p&gt;
&lt;p&gt;When running &amp;#39;rmmod ath10k&amp;#39;, ath10k_sdio_remove() will free sdio
workqueue by destroy_workqueue(). But if CONFIG_INIT_ON_FREE_DEFAULT_ON
is set to yes, kernel panic will happen:
Call trace:
 destroy_workqueue+0x1c/0x258
 ath10k_sdio_remove+0x84/0x94
 sdio_bus_remove+0x50/0x16c
 device_release_driver_internal+0x188/0x25c
 device_driver_detach+0x20/0x2c&lt;/p&gt;
&lt;p&gt;This is because during &amp;#39;rmmod ath10k&amp;#39;, ath10k_sdio_remove() will call
ath10k_core_destroy() before destroy_workqueue(). wiphy_dev_release()
will finally be called in ath10k_core_destroy(). This function will free
struct cfg80211_registered_device *rdev and all its members, including
wiphy, dev and the pointer of sdio workqueue. Then the pointer of sdio
workqueue will be set to NULL due to CONFIG_INIT_ON_FREE_DEFAULT_ON.&lt;/p&gt;
&lt;p&gt;After device release, destroy_workqueue() will use NULL pointer then the
kernel panic happen.&lt;/p&gt;
&lt;p&gt;Call trace:
ath10k_sdio_remove
  -&amp;gt;ath10k_core_unregister
    ……
    -&amp;gt;ath10k_core_stop
      -&amp;gt;ath10k_hif_stop
        -&amp;gt;ath10k_sdio_irq_disable
    -&amp;gt;ath10k_hif_power_down
      -&amp;gt;del_timer_sync(&amp;amp;ar_sdio-&amp;gt;sleep_timer)
  -&amp;gt;ath10k_core_destroy
    -&amp;gt;ath10k_mac_destroy
      -&amp;gt;ieee80211_free_hw
        -&amp;gt;wiphy_free
    ……
          -&amp;gt;wiphy_dev_release
  -&amp;gt;destroy_workqueue&lt;/p&gt;
&lt;p&gt;Need to call destroy_workqueue() before ath10k_core_destroy(), free
the work queue buffer first and then free pointer of…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-56599</guid>
    </item>
  </channel>
</rss>
