Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: mesh: release the channel if start fails ieee80211_join_mesh() acquires a channel context and then calls ieee80211_start_mesh(), which can fail. In that case, the chanctx isn't released then interface removal will attempt to unassign it after it's removed from the driver, hitting: wlan0: Failed check-sdata-in-driver check, flags: 0x0 WARNING: net/mac80211/driver-ops.c:366 at drv_unassign_vif_chanctx ieee80211_assign_link_chanctx __ieee80211_link_release_channel ieee80211_link_release_channel ieee80211_teardown_sdata unregister_netdevice_many_notify _cfg80211_unregister_wdev ieee80211_remove_interfaces ieee80211_unregister_hw mac80211_hwsim_del_radio hwsim_exit_net Correctly release the channel on start failures.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2b5e19677592c167d012c2d129407f39d2bdeb8d before f0afcec2129c166e61821d6ae097061155f01b12; affected 2b5e19677592c167d012c2d129407f39d2bdeb8d before b51f5a310bd6888b90bb9546a8081215dcfe6fbe; affected 2b5e19677592c167d012c2d129407f39d2bdeb8d before 632f7acfe6dac1278a9314eaaab14fada400ddaf; affected 2b5e19677592c167d012c2d129407f39d2bdeb8d before 41bee71112db53651ba9a9030de1b843255a4a7f; affected 2b5e19677592c167d012c2d129407f39d2bdeb8d before 4a4e3fa77ea36d3419d806fb5883ef425a605a5d; affected 2b5e19677592c167d012c2d129407f39d2bdeb8d before ae97fff6495a8764bc0ef281cfe5444f701e527f |
| Linux / Linux | affected 3.9; unaffected 0 before 3.9; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; 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.
References
- https://git.kernel.org/stable/c/f0afcec2129c166e61821d6ae097061155f01b12
- https://git.kernel.org/stable/c/b51f5a310bd6888b90bb9546a8081215dcfe6fbe
- https://git.kernel.org/stable/c/632f7acfe6dac1278a9314eaaab14fada400ddaf
- https://git.kernel.org/stable/c/41bee71112db53651ba9a9030de1b843255a4a7f
- https://git.kernel.org/stable/c/4a4e3fa77ea36d3419d806fb5883ef425a605a5d
- https://git.kernel.org/stable/c/ae97fff6495a8764bc0ef281cfe5444f701e527f