<?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, 29 Sep 2026 01:18:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39863 — wifi: brcmfmac: fix use-after-free when rescheduling brcmf_btcoex_info work</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39863</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: brcmfmac: fix use-after-free when rescheduling brcmf_btcoex_info work&lt;/p&gt;
&lt;p&gt;The brcmf_btcoex_detach() only shuts down the btcoex timer, if the
flag timer_on is false. However, the brcmf_btcoex_timerfunc(), which
runs as timer handler, sets timer_on to false. This creates critical
race conditions:&lt;/p&gt;
&lt;p&gt;1.If brcmf_btcoex_detach() is called while brcmf_btcoex_timerfunc()
is executing, it may observe timer_on as false and skip the call to
timer_shutdown_sync().&lt;/p&gt;
&lt;p&gt;2.The brcmf_btcoex_timerfunc() may then reschedule the brcmf_btcoex_info
worker after the cancel_work_sync() has been executed, resulting in
use-after-free bugs.&lt;/p&gt;
&lt;p&gt;The use-after-free bugs occur in two distinct scenarios, depending on
the timing of when the brcmf_btcoex_info struct is freed relative to
the execution of its worker thread.&lt;/p&gt;
&lt;p&gt;Scenario 1: Freed before the worker is scheduled&lt;/p&gt;
&lt;p&gt;The brcmf_btcoex_info is deallocated before the worker is scheduled.
A race condition can occur when schedule_work(&amp;amp;bt_local-&amp;gt;work) is
called after the target memory has been freed. The sequence of events
is detailed below:&lt;/p&gt;
&lt;p&gt;CPU0                           | CPU1
brcmf_btcoex_detach            | brcmf_btcoex_timerfunc
                               |   bt_local-&amp;gt;timer_on = false;
  if (cfg-&amp;gt;btcoex-&amp;gt;timer_on)   |
    ...                        |
  cancel_work_sync();          |
  ...                          |
  kfree(cfg-&amp;gt;btcoex); // FREE  |
                               |…&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: brcmfmac: fix use-after-free when rescheduling brcmf_btcoex_info work&lt;/p&gt;
&lt;p&gt;The brcmf_btcoex_detach() only shuts down the btcoex timer, if the
flag timer_on is false. However, the brcmf_btcoex_timerfunc(), which
runs as timer handler, sets timer_on to false. This creates critical
race conditions:&lt;/p&gt;
&lt;p&gt;1.If brcmf_btcoex_detach() is called while brcmf_btcoex_timerfunc()
is executing, it may observe timer_on as false and skip the call to
timer_shutdown_sync().&lt;/p&gt;
&lt;p&gt;2.The brcmf_btcoex_timerfunc() may then reschedule the brcmf_btcoex_info
worker after the cancel_work_sync() has been executed, resulting in
use-after-free bugs.&lt;/p&gt;
&lt;p&gt;The use-after-free bugs occur in two distinct scenarios, depending on
the timing of when the brcmf_btcoex_info struct is freed relative to
the execution of its worker thread.&lt;/p&gt;
&lt;p&gt;Scenario 1: Freed before the worker is scheduled&lt;/p&gt;
&lt;p&gt;The brcmf_btcoex_info is deallocated before the worker is scheduled.
A race condition can occur when schedule_work(&amp;amp;bt_local-&amp;gt;work) is
called after the target memory has been freed. The sequence of events
is detailed below:&lt;/p&gt;
&lt;p&gt;CPU0                           | CPU1
brcmf_btcoex_detach            | brcmf_btcoex_timerfunc
                               |   bt_local-&amp;gt;timer_on = false;
  if (cfg-&amp;gt;btcoex-&amp;gt;timer_on)   |
    ...                        |
  cancel_work_sync();          |
  ...                          |
  kfree(cfg-&amp;gt;btcoex); // FREE  |
                               |…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39863</guid>
    </item>
  </channel>
</rss>
