Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b8456a14e9d2770846fcf74de18ff95b676149a3 before aba8dfb45864441199748c33ce3c1c8ca121c8bd; affected b8456a14e9d2770846fcf74de18ff95b676149a3 before bd3b21145ae2e781daac1bbd19216a63ab4e0cbd; affected b8456a14e9d2770846fcf74de18ff95b676149a3 before ba5bf83a81e8832cb84bb3a2da67512f81f57a02; affected b8456a14e9d2770846fcf74de18ff95b676149a3 before 860134b3af77970e006feab7e5decb8c84771c7f |
| Linux / Linux | affected 3.13; unaffected 0 before 3.13; unaffected 6.12.112 through 6.12.*; unaffected 6.18.54 through 6.18.*; unaffected 7.2.8 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.