wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
Since 'ieee80211_beacon_get()' can return NULL, 'wfx_set_mfp_ap()' should check the return value before examining skb data. So convert the latter to return an appropriate error code and propagate it to return from 'wfx_start_ap()' as well. Compile tested only.
From the CVE record · Linux
The Linux kernel wfx Wi-Fi driver may dereference a NULL pointer if ieee80211_beacon_get() returns NULL. The input does not specify how this condition can be triggered or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the wfx Wi-Fi driver should check their installations; affected versions are not specified.