# CVE-2026-98341: wifi: cfg80211: don't free driver-owned scan requests

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-10-06T08:46:31.585Z
- Modified: 2026-10-19T10:18:36.450Z
- Assigned by: Linux

## Description

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

wifi: cfg80211: don't free driver-owned scan requests

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4a58e7c38443154fce1b47910e1a9184f65c5d72 before e8c75736cfd0c6c87562cda2312e3fe5e2227955; from 4a58e7c38443154fce1b47910e1a9184f65c5d72 before cf6da29d17994865f73ca70976495ea856909c63; from 4a58e7c38443154fce1b47910e1a9184f65c5d72 before dab68a74e90b8e07f08ed9deaa5884857a3cfe89; 3.14 (not affected: before 3.14; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e8c75736cfd0c6c87562cda2312e3fe5e2227955>
- <https://git.kernel.org/stable/c/cf6da29d17994865f73ca70976495ea856909c63>
- <https://git.kernel.org/stable/c/dab68a74e90b8e07f08ed9deaa5884857a3cfe89>

## Sources

- CVE List: [CVE-2026-98341](https://www.cve.org/CVERecord?id=CVE-2026-98341), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98341](https://nvd.nist.gov/vuln/detail/CVE-2026-98341), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98341 · Whole record: https://cve.day/CVE-2026-98341.json · Rebuilt by cve.day 2026-11-25T22:59:42.335Z
