CVE-2026-139695: wifi: wfx: fix use-after-free of the cooling work on device removal

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

wifi: wfx: fix use-after-free of the cooling work on device removal

When the device reports that it is too hot, wfxsuspendhotdev() blocks the Tx queues and arms coolingtimeoutwork with a 10s delay. If the device recovers a normal temperature before the delay expires, the work is canceled. Else, the work declares the chip frozen and unblocks the Tx queues.

However, this work is never canceled when the device is removed. coolingtimeoutwork is queued on the system workqueue, while struct wfxdev is released by wfxfreecommon() (through ieee80211freehw()). So, if the device is unbound during this 10s window, the work fires after struct wfxdev has been freed and dereferences it.

Cancel the work during the teardown. It has to be done after wfxbhunregister(): the "device too hot" indication is processed by the bh, so canceling the work earlier would allow the bh to rearm it. On the other hand, the work calls wfxtxunlock(), which may in turn call wfxbhrequesttx(). So it has to be canceled before bhwq is destroyed.

Note that the Tx queues are intentionally left blocked: the device is going away, so there is nothing to unblock.

The issue was reported by the Sashiko review bot and the fix has been written by Copilot (including the commit log). The use-case is difficult to reproduce, so this code has not been tested. However, I don't believe this patch could cause any regression.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.8.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  7. Compensating control

    Cancel cooling_timeout_work during device teardown before bh_wq is destroyed.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Data Sourced
via OSV·01:37 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's wfx Wi-Fi driver are affected when a WFX device reports an over-temperature condition and its delayed cooling timeout work is pending.

2

What sequence triggers the use-after-free?

The device must be removed or unbound during the 10-second cooling-work delay, after the device has reported being too hot. The delayed work can then run from the system workqueue after the wfx_dev structure has been freed.

3

What is the required teardown fix?

The cooling timeout work must be canceled after wfx_bh_unregister(), so the bottom-half handler cannot rearm it, and before bh_wq is destroyed because the work can request transmission through the bottom-half path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203