{"id":"CVE-2026-98709","title":"wifi: mac80211: count only matching reservations in reserved switch","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: count only matching reservations in reserved switch\n\nieee80211_vif_use_reserved_switch() validates a replacement by counting\nassigned links on ctx->repl…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < d31f655e44631891788ca67018ec5e1ed1c7de86","Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < 03525b632908b049f4d04cc8a71cdff2329589cf","Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < 5cc54a000960bc88f8c58940164dca0e601ab39c","Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < 437f3727b4fd715266c296435c116288f82666fd","Linux 3.17"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:46:39.290Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98709","references":[{"url":"https://git.kernel.org/stable/c/d31f655e44631891788ca67018ec5e1ed1c7de86"},{"url":"https://git.kernel.org/stable/c/03525b632908b049f4d04cc8a71cdff2329589cf"},{"url":"https://git.kernel.org/stable/c/5cc54a000960bc88f8c58940164dca0e601ab39c"},{"url":"https://git.kernel.org/stable/c/437f3727b4fd715266c296435c116288f82666fd"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.512Z","slug":"CVE-2026-98709","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: count only matching reservations in reserved switch\n\nieee80211_vif_use_reserved_switch() validates a replacement by counting\nassigned links on ctx->replace_ctx and treating reservations too\nbroadly. A link can still be assigned to the old channel context while\nholding a reservation that belongs to a different replacement\noperation.\n\nThat can make the current replacement appear complete too early. If\nanother link finalizes first, the function can free the\nWILL_BE_REPLACED chanctx while the unmatched link and driver still use\nit, leading to a use-after-free in later beacon generation.\n\nRequire an in-place reservation to point at the current replacement\ncontext, and require the reserved and assigned contexts to be the\nmatching replacement pair, before counting or moving the link.\n\n## Affected\n\n- `Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < d31f655e44631891788ca67018ec5e1ed1c7de86`\n- `Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < 03525b632908b049f4d04cc8a71cdff2329589cf`\n- `Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < 5cc54a000960bc88f8c58940164dca0e601ab39c`\n- `Linux >= 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f < 437f3727b4fd715266c296435c116288f82666fd`\n- `Linux 3.17`\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":[]}