cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ac800140c20e7ae51117e71289065bedd4930fc2 · < 7b97b5776daa0b39dbdadfea176f9cc0646d4a66| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s cfg80211 component fails to clean up when userspace switches a wireless interface from P2P_GO to ADHOC. A local userspace tool that makes this switch can cause an in-use linked list to become corrupted; the input does not specify authentication requirements or any other user interaction.
Engineers running Linux kernels with the affected cfg80211 behavior should check their versions; the input does not identify affected version ranges.