{"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-11-01T02:37:42.073241970Z","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":"WEB","url":"https://git.kernel.org/stable/c/03525b632908b049f4d04cc8a71cdff2329589cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/183cc72ae9467717afba8b8d194a558a6666cb53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/437f3727b4fd715266c296435c116288f82666fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ae6ed5b6074df5f3da05fd74c40bb24c5c9b41d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c4671a706d2d85442a30850abfada5377ffbbc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cc54a000960bc88f8c58940164dca0e601ab39c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3d9f582f98e06070d5233b177b2899b693a01ec"},{"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"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f"},{"fixed":"4c4671a706d2d85442a30850abfada5377ffbbc8"},{"fixed":"183cc72ae9467717afba8b8d194a558a6666cb53"},{"fixed":"b3d9f582f98e06070d5233b177b2899b693a01ec"},{"fixed":"4ae6ed5b6074df5f3da05fd74c40bb24c5c9b41d"},{"fixed":"d31f655e44631891788ca67018ec5e1ed1c7de86"},{"fixed":"03525b632908b049f4d04cc8a71cdff2329589cf"},{"fixed":"5cc54a000960bc88f8c58940164dca0e601ab39c"},{"fixed":"437f3727b4fd715266c296435c116288f82666fd"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98709.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.17.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.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/osv-test-cve-osv-conversion/osv-output/CVE-2026-98709.json"}}],"schema_version":"1.9.2"}