CVE-2026-98327 PUBLISHED

wifi: mac80211: mesh: reset the CSA state when leaving

Assigner: Linux
Reserved: 25.09.2026 Published: 06.10.2026 Updated: 06.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from b8456a14e9d2770846fcf74de18ff95b676149a3 to aba8dfb45864441199748c33ce3c1c8ca121c8bd (excl.)
  • affected from b8456a14e9d2770846fcf74de18ff95b676149a3 to bd3b21145ae2e781daac1bbd19216a63ab4e0cbd (excl.)
  • affected from b8456a14e9d2770846fcf74de18ff95b676149a3 to ba5bf83a81e8832cb84bb3a2da67512f81f57a02 (excl.)
  • affected from b8456a14e9d2770846fcf74de18ff95b676149a3 to 860134b3af77970e006feab7e5decb8c84771c7f (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.13 is affected
  • unaffected from 0 to 3.13 (excl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.54 to 6.18.* (incl.)
  • unaffected from 7.2.8 to 7.2.* (incl.)
  • unaffected from 7.3-rc4 to * (incl.)

References