wifi: cfg80211: don't free driver-owned scan requests
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.
CVE-2026-98341
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98341
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
"lessThan": "e8c75736cfd0c6c87562cda2312e3fe5e2227955",
"versionType": "git"
},
{
"status": "affected",
"version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
"lessThan": "cf6da29d17994865f73ca70976495ea856909c63",
"versionType": "git"
},
{
"status": "affected",
"version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
"lessThan": "dab68a74e90b8e07f08ed9deaa5884857a3cfe89",
"versionType": "git"
}
],
"programFiles": [
"net/wireless/core.c",
"net/wireless/core.h",
"net/wireless/rdev-ops.h",
"net/wireless/scan.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.54",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.8",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/wireless/core.c",
"net/wireless/core.h",
"net/wireless/rdev-ops.h",
"net/wireless/scan.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98341
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #38418 · Revision 1
- Added to Heist Feed
- Publisher date