wifi: mac80211: drain PS delivery work during station teardown
Summary
| CVE | CVE-2026-98706 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:24 UTC |
| Updated | 2026-10-19 10:19:34 UTC |
| Description | 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected d34ba2168a3c10e7301cca06069c39865b4c3ec6 843d3a1e6f25027ac85f88f67b95d82c67306dee git |
Not specified |
| CNA |
Linux |
Linux |
affected d34ba2168a3c10e7301cca06069c39865b4c3ec6 772bd89304ecf057cc51ce4ce24a1a96ac9c8de3 git |
Not specified |
| CNA |
Linux |
Linux |
affected d34ba2168a3c10e7301cca06069c39865b4c3ec6 097460fcdd8ab9ef6f6018b2fdc29ba0ea499298 git |
Not specified |
| CNA |
Linux |
Linux |
affected d34ba2168a3c10e7301cca06069c39865b4c3ec6 67a9e80c3ca20c9044cd6ee72cd6278dd19b5023 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3.14 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 3.14 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.113 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.56 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.10 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/097460fcdd8ab9ef6f6018b2fdc29ba0ea499298 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/843d3a1e6f25027ac85f88f67b95d82c67306dee |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/67a9e80c3ca20c9044cd6ee72cd6278dd19b5023 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/772bd89304ecf057cc51ce4ce24a1a96ac9c8de3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.