wifi: mac80211: mesh: reset the CSA state when leaving
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.112, 6.18.54, 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b8456a14e9d2770846fcf74de18ff95b676149a3 · fixed in aba8dfb45864441199748c33ce3c1c8ca121c8bd; From b8456a14e9d2770846fcf74de18ff95b676149a3 · fixed in bd3b21145ae2e781daac1bbd19216a63ab4e0cbd; From b8456a14e9d2770846fcf74de18ff95b676149a3 · fixed in ba5bf83a81e8832cb84bb3a2da67512f81f57a02; From b8456a14e9d2770846fcf74de18ff95b676149a3 · fixed in 860134b3af77970e006feab7e5decb8c84771c7f
- Linux Linux
3.13
- KernelLinux
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