Look up another CVE · open CVE-2026-98341 in the interactive tracker
CVE-2026-98341
wifi: cfg80211: don't free driver-owned scan requests
Published 2026-10-06 (13 days ago) by the Linux kernel CNA. Subsystem net/wireless. Debian urgency: not yet assigned.
What to do, per Debian release
Debian's own status for CVE-2026-98341 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | vulnerable | 6.1.190-1 | No fix published anywhere yet, neither in Debian nor upstream for the series bookworm tracks. Watch the Debian tracker page for this CVE. Advisories for bookworm have historically landed a median of 23 days after publication. |
| Debian 13trixie | vulnerable | 6.12.113-1 | No fix published anywhere yet, neither in Debian nor upstream for the series trixie tracks. Watch the Debian tracker page for this CVE. Advisories for trixie have historically landed a median of 11 days after publication. |
| Debian 14forky | fixed | 7.2.8-1 | Update the kernel and reboot. Fixed in 7.2.8-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 7.2.8-1 | Update the kernel and reboot. Fixed in 7.2.8-1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
When an interface goes down while a scan is running, cfg80211 completes the scan towards userspace and frees the scan request. However, the driver can be convinced that it owns the request, since the cancellation is (intended to be) asynchronous. The WARN_ON() in the netdev notifier was meant to catch this, but it's not actually avoidable, so it triggers and we get a UAF in scan_done(). There doesn't seem to be a great way around it, so just track that the driver is still convinced it owns the request, and then just free it on completion if it was already cancelled. Also remove the warnings since they can trigger in the intended architecture.
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
net/wireless/core.c
net/wireless/core.h
net/wireless/rdev-ops.h
net/wireless/scan.c
- What this is
- 802.11 (including CFG80211/NL80211)MAINTAINERS section matched on net/wireless/ · linux-wireless@vger.kernel.org · Maintained
- Kernel module
- cfg80211
Check it on the machine
grep -wE 'CONFIG_CFG80211|CONFIG_WIRELESS' /boot/config-$(uname -r)Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.
lsmod | grep -w cfg80211Prints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.
Show whether Debian builds this, per release
Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed.
- bookwormMnot built on amd64/cloud-amd64, arm64/cloud-arm64
- trixie, forky, sidMnot built on amd64/cloud-amd64, arm64/cloud-arm64, s390x/s390x
- M
- a module where it is built at all; some flavours do not build it
- Build switches
- CONFIG_CFG80211, CONFIG_WIRELESS
- Reads as
- all on means the file is compiled; any one off means it is not.
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages
Signals
- Published
- 2026-10-06 (13 days ago)source
- CVSS
- 7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it - Attack vector
- local (AV:L)source
- EPSS
- 0.14%, higher than 2.7% of all CVEssource
- CISA KEV
- not listedthe KEV catalogue
- Debian urgency
- not yet assignedsource
- Subsystem
- net/wireless
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 3.14 | 6.18.54 | e8c75736cfd0 |
| 3.14 | 7.2.8 | cf6da29d1799 |
| 3.14 | 7.3 | dab68a74e90b |
Why the CNA scored it this way
Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source
- AV:LAttack vector, local
- Nothing from the air causes this. It needs the interface taken down during a running scan, which is done locally: link-down/dev_close to the NETDEV_DOWN branch of cfg80211_netdev_notifier_call(), or a /dev/rfkill soft-block via cfg80211_rfkill_set_block()->cfg80211_shutdown_all_interfaces(). A WiFi peer cannot cause either, so the vector is local.
- AC:LAttack complexity, low
- The attacker causes both sides: start a scan (nl80211 TRIGGER_SCAN or a NetworkManager scan request), then block rfkill or bring the link down. With hw_scan drivers ieee80211_scan_cancel() only calls drv_cancel_hw_scan() and returns. ___cfg80211_scan_done() frees the request before the driver's async completion calls cfg80211_scan_done(), so the window is the whole multi-second scan.
- PR:LPrivileges required, low
- Direct nl80211/rtnetlink control of an init_net wiphy needs CAP_NET_ADMIN. But on standard systemd desktops the active console user can write /dev/rfkill (uaccess rule), and an rfkill block runs dev_close() into the freeing notifier. That user can also request scans, so an ordinary local user is enough.
- UI:NUser interaction, none
- The attacker does both steps (start the scan, then rfkill-block or take the link down) without any action from another user.
- S:UScope, unchanged
- The UAF corrupts kernel heap memory under the same kernel authority. No VM, IOMMU or sandbox boundary is crossed.
- C:HConfidentiality impact, high
- The freed cfg80211_scan_request_int is a kmalloc object whose size the attacker sets through the scan's channel count and IE length. The driver and cfg80211_scan_done() later read it (info, wdev, notified), so a reclaimed object can be used to leak kernel memory.
- I:HIntegrity impact, high
- cfg80211_scan_done() writes into the freed request (intreq->info, notified) and follows req.wdev from it. Reclaiming the slot with attacker-controlled data gives a write and pointer-confusion primitive that could be used for privilege escalation.
- A:HAvailability impact, high
- The use-after-free in cfg80211_scan_done() reached from the mac80211 scan completion work (syzbot report) gives a KASAN splat or kernel oops, and it can be repeated at will.