High · published April 10, 2024
In the Linux kernel, the following vulnerability has been resolved:
cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
If the userspace tools switch from NL80211_IFTYPE_P2P_GO to
NL80211_IFTYPE_ADHOC via send_msg(NL80211_CMD_SET_INTERFACE), it
does not call the cleanup cfg80211_stop_ap(), this leads to the
initialization of in-use data. For example, this path re-init the
sdata->assigned_chanctx_list while it is still an element of
assigned_vifs list, and makes that linked list corrupt.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.6.0, < 4.4.293 | 4.4.293 |
| linux/linux_kernel | ≥ 4.5.0, < 4.9.291 | 4.9.291 |
| linux/linux_kernel | ≥ 4.10.0, < 4.14.256 | 4.14.256 |
| linux/linux_kernel | ≥ 4.15.0, < 4.19.218 | 4.19.218 |
| linux/linux_kernel | ≥ 4.20.0, < 5.4.162 | 5.4.162 |
| linux/linux_kernel | ≥ 5.5.0, < 5.10.82 | 5.10.82 |
| linux/linux_kernel | ≥ 5.11.0, < 5.15.5 | 5.15.5 |