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

- 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-06T08:46:20.317Z
- Modified: 2026-10-19T10:18:34.890Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from b8456a14e9d2770846fcf74de18ff95b676149a3 before aba8dfb45864441199748c33ce3c1c8ca121c8bd; from b8456a14e9d2770846fcf74de18ff95b676149a3 before bd3b21145ae2e781daac1bbd19216a63ab4e0cbd; from b8456a14e9d2770846fcf74de18ff95b676149a3 before ba5bf83a81e8832cb84bb3a2da67512f81f57a02; from b8456a14e9d2770846fcf74de18ff95b676149a3 before 860134b3af77970e006feab7e5decb8c84771c7f; 3.13 (not affected: before 3.13; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

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

## Sources

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

---

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