wifi: mac80211: drain PS delivery work during station teardown
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: drain PS delivery work during station teardown Removing an AP or mesh station can notify the driver and wake TXQs after the station has already been removed from the driver, and can update num_sta_ps and the power-save queues after station cleanup has purged them. sta_deliver_ps_frames() tests sta->dead only before it starts delivery. A worker that passes that test can be delayed while teardown sets sta->dead and removes the station from the driver; when it resumes it still runs the full delivery. The existing cancel_work_sync() sits near the end of __cleanup_single_sta(), after the final driver state transition and after PS accounting and queue purging, so it drains the worker only once the state it has to protect has already changed. Before commit d34ba2168a3c ("mac80211: don't delay station destruction") cleanup was deferred through the same ordered workqueue as the delivery work, which kept the two ordered. Cancel the work after setting sta->dead and before moving the driver state, and move the existing cancellation to the start of __cleanup_single_sta(). The first drain closes the driver-lifetime window; driver callbacks during the remaining state transitions can still queue drv_deliver_wk through ieee80211_sta_block_awake(), so retain the second drain at the start of __cleanup_single_sta(). That drain also covers insertion failures, which reach cleanup without setting sta->dead.
CVE-2026-98706
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-98706
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": "d34ba2168a3c10e7301cca06069c39865b4c3ec6",
"lessThan": "cbff71fe689f359ebd6a3eaded035ef75226afce",
"versionType": "git"
},
{
"status": "affected",
"version": "d34ba2168a3c10e7301cca06069c39865b4c3ec6",
"lessThan": "843d3a1e6f25027ac85f88f67b95d82c67306dee",
"versionType": "git"
},
{
"status": "affected",
"version": "d34ba2168a3c10e7301cca06069c39865b4c3ec6",
"lessThan": "772bd89304ecf057cc51ce4ce24a1a96ac9c8de3",
"versionType": "git"
},
{
"status": "affected",
"version": "d34ba2168a3c10e7301cca06069c39865b4c3ec6",
"lessThan": "097460fcdd8ab9ef6f6018b2fdc29ba0ea499298",
"versionType": "git"
},
{
"status": "affected",
"version": "d34ba2168a3c10e7301cca06069c39865b4c3ec6",
"lessThan": "67a9e80c3ca20c9044cd6ee72cd6278dd19b5023",
"versionType": "git"
}
],
"programFiles": [
"net/mac80211/sta_info.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.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/mac80211/sta_info.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98706
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48919 · Revision 1
- Added to Heist Feed
- Publisher date