CVE-2026-98341

Source
https://cve.org/CVERecord?id=CVE-2026-98341
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98341.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98341
Downstream
Published
2026-10-06T08:46:31Z
Modified
2026-10-07T02:47:32Z
Summary
wifi: cfg80211: don't free driver-owned scan requests
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98341.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4a58e7c38443154fce1b47910e1a9184f65c5d72
Fixed
e8c75736cfd0c6c87562cda2312e3fe5e2227955
Fixed
cf6da29d17994865f73ca70976495ea856909c63
Fixed
dab68a74e90b8e07f08ed9deaa5884857a3cfe89

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98341.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.14.0
Fixed
6.18.54
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98341.json"