In the Linux kernel, the following vulnerability has been resolved: ath11k: Change max no of active probe SSID and BSSID to fw capability The maximum number of SSIDs in a for active probe requests is currently reported as 16 (WLANSCANPARAMSMAXSSID) when registering the driver. The scanreqparams structure only has the capacity to hold 10 SSIDs. This leads to a buffer overflow which can be triggered from wpasupplicant in userspace. When copying the SSIDs into the scanreqparams structure in the ath11kmacophwscan route, it can overwrite the extraie pointer. Firmware supports 16 ssid * 4 bssid, for each ssid 4 bssid combo probe request will be sent, so totally 64 probe requests supported. So set both max ssid and bssid to 16 and 4 respectively. Remove the redundant macros of ssid and bssid. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01300-QCAHKSWPLSILICONZ-1