CVE-2026-139695
wifi: wfx: fix use-after-free of the cooling work on device removal
AI summary AI generated
A use-after-free in the Linux kernel wfx Wi-Fi driver lets a device unbound during a thermal cooling window trigger a delayed work item that dereferences freed device memory.
Mitigation
- Upgrade Linux to 17402a869778f6c17b88fd360d7a96378779f97c or later.
Who should check
- Anyone running Linux >= 1d52d29983e5daa18c441feed94259aaf03c582c, < e7ed604396e274f0e88576cf570bb9428b25e002; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < d7b2899be9b8d0205f32d4982dcc862bf1a25c43; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 7f707686e6c33085727efa3d06b1d032ced70c16; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 2685883657ae157ceb6ef961da6075e8e21e9f8f; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 5435c507d45de6930e9754ce7b66a51b242741e7; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 17402a869778f6c17b88fd360d7a96378779f97c
- Anyone running Linux 5.8
Vulnerability facts
- Affected
- Linux >= 1d52d29983e5daa18c441feed94259aaf03c582c, < e7ed604396e274f0e88576cf570bb9428b25e002; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < d7b2899be9b8d0205f32d4982dcc862bf1a25c43; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 7f707686e6c33085727efa3d06b1d032ced70c16; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 2685883657ae157ceb6ef961da6075e8e21e9f8f; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 5435c507d45de6930e9754ce7b66a51b242741e7; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 17402a869778f6c17b88fd360d7a96378779f97c; Linux 5.8
- Fixed in
- Linux 7f707686e6c33085727efa3d06b1d032ced70c16, Linux 2685883657ae157ceb6ef961da6075e8e21e9f8f, Linux 5435c507d45de6930e9754ce7b66a51b242741e7, Linux 17402a869778f6c17b88fd360d7a96378779f97c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1d52d29983e5daa18c441feed94259aaf03c582c, < e7ed604396e274f0e88576cf570bb9428b25e002; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < d7b2899be9b8d0205f32d4982dcc862bf1a25c43; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 7f707686e6c33085727efa3d06b1d032ced70c16; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 2685883657ae157ceb6ef961da6075e8e21e9f8f; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 5435c507d45de6930e9754ce7b66a51b242741e7; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 17402a869778f6c17b88fd360d7a96378779f97c | — | cvelist |
| Linux | 5.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139695. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139695.md Affected: Linux >= 1d52d29983e5daa18c441feed94259aaf03c582c, < e7ed604396e274f0e88576cf570bb9428b25e002; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < d7b2899be9b8d0205f32d4982dcc862bf1a25c43; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 7f707686e6c33085727efa3d06b1d032ced70c16; >= 1d52d29983e5daa18c441fe… Fixed in: Linux 7f707686e6c33085727efa3d06b1d032ced70c16, Linux 2685883657ae157ceb6ef961da6075e8e21e9f8f, Linux 5435c507d45de6930e9754ce7b66a51b242741e7, Linux 17402a869778f6c17b88fd360d7a96378779f97c Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/e7ed604396e274f0e88576cf570bb9428b25e002
- https://git.kernel.org/stable/c/d7b2899be9b8d0205f32d4982dcc862bf1a25c43
- https://git.kernel.org/stable/c/7f707686e6c33085727efa3d06b1d032ced70c16
- https://git.kernel.org/stable/c/2685883657ae157ceb6ef961da6075e8e21e9f8f
- https://git.kernel.org/stable/c/5435c507d45de6930e9754ce7b66a51b242741e7
- https://git.kernel.org/stable/c/17402a869778f6c17b88fd360d7a96378779f97c
FAQ
Is CVE-2026-139695 being exploited?
There is no confirmed exploitation: CVE-2026-139695 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139695?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139695?
Linux >= 1d52d29983e5daa18c441feed94259aaf03c582c, < e7ed604396e274f0e88576cf570bb9428b25e002; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < d7b2899be9b8d0205f32d4982dcc862bf1a25c43; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 7f707686e6c33085727efa3d06b1d032ced70c16; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 2685883657ae157ceb6ef961da6075e8e21e9f8f; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 5435c507d45de6930e9754ce7b66a51b242741e7; >= 1d52d29983e5daa18c441feed94259aaf03c582c, < 17402a869778f6c17b88fd360d7a96378779f97c; Linux 5.8.
Is there a fix for CVE-2026-139695?
Yes. Fixed in Linux 7f707686e6c33085727efa3d06b1d032ced70c16, Linux 2685883657ae157ceb6ef961da6075e8e21e9f8f, Linux 5435c507d45de6930e9754ce7b66a51b242741e7, Linux 17402a869778f6c17b88fd360d7a96378779f97c. Upgrade Linux to 17402a869778f6c17b88fd360d7a96378779f97c or later.
How do I check if I'm affected by CVE-2026-139695?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |