# CVE-2026-98709: wifi: mac80211: count only matching reservations in reserved switch

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-18T15:46:39.290Z
- Modified: 2026-10-30T13:21:20.337Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: count only matching reservations in reserved switch

ieee80211_vif_use_reserved_switch() validates a replacement by counting
assigned links on ctx->replace_ctx and treating reservations too
broadly. A link can still be assigned to the old channel context while
holding a reservation that belongs to a different replacement
operation.

That can make the current replacement appear complete too early. If
another link finalizes first, the function can free the
WILL_BE_REPLACED chanctx while the unmatched link and driver still use
it, leading to a use-after-free in later beacon generation.

Require an in-place reservation to point at the current replacement
context, and require the reserved and assigned contexts to be the
matching replacement pair, before counting or moving the link.

(As written by CVE List.)

## Affected

- Linux Linux: from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before 4c4671a706d2d85442a30850abfada5377ffbbc8; from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before 183cc72ae9467717afba8b8d194a558a6666cb53; from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before b3d9f582f98e06070d5233b177b2899b693a01ec; from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before 4ae6ed5b6074df5f3da05fd74c40bb24c5c9b41d; from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before d31f655e44631891788ca67018ec5e1ed1c7de86; from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before 03525b632908b049f4d04cc8a71cdff2329589cf; from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before 5cc54a000960bc88f8c58940164dca0e601ab39c; from 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f before 437f3727b4fd715266c296435c116288f82666fd; 3.17 (not affected: before 3.17; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-98709](https://www.cve.org/CVERecord?id=CVE-2026-98709), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98709](https://nvd.nist.gov/vuln/detail/CVE-2026-98709), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98709 · Whole record: https://cve.day/CVE-2026-98709.json · Rebuilt by cve.day 2026-11-25T22:59:45.276Z
