In the Linux kernel, the following vulnerability has been resolved:
wifi: wfx: fix possible NULL pointer dereference in wfxsetmfp_ap()
Since 'ieee80211beaconget()' can return NULL, 'wfxsetmfpap()' 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 'wfxstart_ap()' as well. Compile tested only.