{"id":"CVE-2026-98709","summary":"wifi: mac80211: count only matching reservations in reserved switch","details":"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-\u003ereplace_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.","modified":"2026-10-19T02:47:13.428367449Z","published":"2026-10-18T15:46:39.290Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98709.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/03525b632908b049f4d04cc8a71cdff2329589cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/437f3727b4fd715266c296435c116288f82666fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cc54a000960bc88f8c58940164dca0e601ab39c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d31f655e44631891788ca67018ec5e1ed1c7de86"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98709.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98709"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f"},{"fixed":"d31f655e44631891788ca67018ec5e1ed1c7de86"},{"fixed":"03525b632908b049f4d04cc8a71cdff2329589cf"},{"fixed":"5cc54a000960bc88f8c58940164dca0e601ab39c"},{"fixed":"437f3727b4fd715266c296435c116288f82666fd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98709.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.17.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98709.json"}}],"schema_version":"1.9.0"}