CVE-2026-139695
wifi: wfx: fix use-after-free of the cooling work on device removal
Check your servers for CVE-2026-139695
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139695 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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, wfx_suspend_hot_dev() blocks the Tx queues and arms cooling_timeout_work 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. cooling_timeout_work is queued on the system workqueue, while struct wfx_dev is released by wfx_free_common() (through ieee80211_free_hw()). So, if the device is unbound during this 10s window, the work fires after struct wfx_dev has been freed and dereferences it.
Cancel the work during the teardown. It has to be done after wfx_bh_unregister(): 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 wfx_tx_unlock(), which may in turn call wfx_bh_request_tx(). So it has to be canceled before bh_wq 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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.95% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1d52d29983e5daa18c441feed94259aaf03c582c, before e7ed604396e274f0e88576cf570bb9428b25e002 affected from 1d52d29983e5daa18c441feed94259aaf03c582c, before d7b2899be9b8d0205f32d4982dcc862bf1a25c43 affected from 1d52d29983e5daa18c441feed94259aaf03c582c, before 7f707686e6c33085727efa3d06b1d032ced70c16 affected from 1d52d29983e5daa18c441feed94259aaf03c582c, before 2685883657ae157ceb6ef961da6075e8e21e9f8f affected from 1d52d29983e5daa18c441feed94259aaf03c582c, before 5435c507d45de6930e9754ce7b66a51b242741e7 affected from 1d52d29983e5daa18c441feed94259aaf03c582c, before 17402a869778f6c17b88fd360d7a96378779f97c
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139695 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139695
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139695
trivy image --scanners vuln IMAGE | grep CVE-2026-139695
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e7ed604396e274f0e88576cf570bb9428b25e002 git.kernel.org
- https://git.kernel.org/stable/c/d7b2899be9b8d0205f32d4982dcc862bf1a25c43 git.kernel.org
- https://git.kernel.org/stable/c/7f707686e6c33085727efa3d06b1d032ced70c16 git.kernel.org
- https://git.kernel.org/stable/c/2685883657ae157ceb6ef961da6075e8e21e9f8f git.kernel.org
- https://git.kernel.org/stable/c/5435c507d45de6930e9754ce7b66a51b242741e7 git.kernel.org
- https://git.kernel.org/stable/c/17402a869778f6c17b88fd360d7a96378779f97c git.kernel.org
Source: the record CVE-2026-139695 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse