{"id":"CVE-2026-98706","title":"wifi: mac80211: drain PS delivery work during station teardown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: drain PS delivery work during station teardown\n\nRemoving an AP or mesh station can notify the driver and wake TXQs after\nthe station has already been re…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 843d3a1e6f25027ac85f88f67b95d82c67306dee","Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 772bd89304ecf057cc51ce4ce24a1a96ac9c8de3","Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 097460fcdd8ab9ef6f6018b2fdc29ba0ea499298","Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 67a9e80c3ca20c9044cd6ee72cd6278dd19b5023","Linux 3.14"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:46:36.328Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98706","references":[{"url":"https://git.kernel.org/stable/c/843d3a1e6f25027ac85f88f67b95d82c67306dee"},{"url":"https://git.kernel.org/stable/c/772bd89304ecf057cc51ce4ce24a1a96ac9c8de3"},{"url":"https://git.kernel.org/stable/c/097460fcdd8ab9ef6f6018b2fdc29ba0ea499298"},{"url":"https://git.kernel.org/stable/c/67a9e80c3ca20c9044cd6ee72cd6278dd19b5023"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.514Z","slug":"CVE-2026-98706","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: drain PS delivery work during station teardown\n\nRemoving an AP or mesh station can notify the driver and wake TXQs after\nthe station has already been removed from the driver, and can update\nnum_sta_ps and the power-save queues after station cleanup has purged\nthem.\n\nsta_deliver_ps_frames() tests sta->dead only before it starts delivery. A\nworker that passes that test can be delayed while teardown sets sta->dead\nand removes the station from the driver; when it resumes it still runs the\nfull delivery.\n\nThe existing cancel_work_sync() sits near the end of\n__cleanup_single_sta(), after the final driver state transition and after\nPS accounting and queue purging, so it drains the worker only once the\nstate it has to protect has already changed. Before commit d34ba2168a3c\n(\"mac80211: don't delay station destruction\") cleanup was deferred\nthrough the same ordered workqueue as the delivery work, which kept the\ntwo ordered.\n\nCancel the work after setting sta->dead and before moving the driver\nstate, and move the existing cancellation to the start of\n__cleanup_single_sta(). The first drain closes the driver-lifetime window;\ndriver callbacks during the remaining state transitions can still queue\ndrv_deliver_wk through ieee80211_sta_block_awake(), so retain the second\ndrain at the start of __cleanup_single_sta(). That drain also covers\ninsertion failures, which reach cleanup without setting sta->dead.\n\n## Affected\n\n- `Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 843d3a1e6f25027ac85f88f67b95d82c67306dee`\n- `Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 772bd89304ecf057cc51ce4ce24a1a96ac9c8de3`\n- `Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 097460fcdd8ab9ef6f6018b2fdc29ba0ea499298`\n- `Linux >= d34ba2168a3c10e7301cca06069c39865b4c3ec6 < 67a9e80c3ca20c9044cd6ee72cd6278dd19b5023`\n- `Linux 3.14`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}