{"id":"CVE-2026-98709","state":"PUBLISHED","title":"wifi: mac80211: count only matching reservations in reserved switch","description":"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->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.","publishedAt":"2026-10-18T15:46:39.290Z","updatedAt":"2026-10-30T12:39:00.231Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"4c4671a706d2d85442a30850abfada5377ffbbc8","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"183cc72ae9467717afba8b8d194a558a6666cb53","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"b3d9f582f98e06070d5233b177b2899b693a01ec","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"4ae6ed5b6074df5f3da05fd74c40bb24c5c9b41d","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"d31f655e44631891788ca67018ec5e1ed1c7de86","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"03525b632908b049f4d04cc8a71cdff2329589cf","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"5cc54a000960bc88f8c58940164dca0e601ab39c","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"437f3727b4fd715266c296435c116288f82666fd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/chan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.17","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/chan.c"]}],"references":["https://git.kernel.org/stable/c/4c4671a706d2d85442a30850abfada5377ffbbc8","https://git.kernel.org/stable/c/183cc72ae9467717afba8b8d194a558a6666cb53","https://git.kernel.org/stable/c/b3d9f582f98e06070d5233b177b2899b693a01ec","https://git.kernel.org/stable/c/4ae6ed5b6074df5f3da05fd74c40bb24c5c9b41d","https://git.kernel.org/stable/c/d31f655e44631891788ca67018ec5e1ed1c7de86","https://git.kernel.org/stable/c/03525b632908b049f4d04cc8a71cdff2329589cf","https://git.kernel.org/stable/c/5cc54a000960bc88f8c58940164dca0e601ab39c","https://git.kernel.org/stable/c/437f3727b4fd715266c296435c116288f82666fd"],"weaknesses":[],"ingestedAt":"2026-10-30T12:58:04.520Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98709.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98709","state":"PUBLISHED","datePublished":"2026-10-18T15:46:39.290Z","dateUpdated":"2026-10-30T12:39:00.231Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.365Z"},"containers":{"cna":{"title":"wifi: mac80211: count only matching reservations in reserved switch","descriptions":[{"lang":"en","value":"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->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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"4c4671a706d2d85442a30850abfada5377ffbbc8","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"183cc72ae9467717afba8b8d194a558a6666cb53","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"b3d9f582f98e06070d5233b177b2899b693a01ec","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"4ae6ed5b6074df5f3da05fd74c40bb24c5c9b41d","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"d31f655e44631891788ca67018ec5e1ed1c7de86","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"03525b632908b049f4d04cc8a71cdff2329589cf","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"5cc54a000960bc88f8c58940164dca0e601ab39c","versionType":"git"},{"version":"5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f","status":"affected","lessThan":"437f3727b4fd715266c296435c116288f82666fd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/chan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.17","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/chan.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4c4671a706d2d85442a30850abfada5377ffbbc8"},{"url":"https://git.kernel.org/stable/c/183cc72ae9467717afba8b8d194a558a6666cb53"},{"url":"https://git.kernel.org/stable/c/b3d9f582f98e06070d5233b177b2899b693a01ec"},{"url":"https://git.kernel.org/stable/c/4ae6ed5b6074df5f3da05fd74c40bb24c5c9b41d"},{"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:39:00.231Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}