Re: [PATCH] wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion

From: Arend van Spriel
Date: Thu Aug 08 2024 - 04:25:31 EST


On 8/3/2024 9:52 PM, Janne Grunau via B4 Relay wrote:
From: Janne Grunau <j@xxxxxxxxxx>

wpa_supplicant 2.11 sends since 1efdba5fdc2c ("Handle PMKSA flush in the
driver for SAE/OWE offload cases") SSID based PMKSA del commands.
brcmfmac is not prepared and tries to dereference the NULL bssid and
pmkid pointers in cfg80211_pmksa. PMKID_V3 operations support SSID based
updates so copy the SSID.

Fixes: a96202acaea4 ("wifi: brcmfmac: cfg80211: Add support for PMKID_V3 operations")
- Cc: stable@xxxxxxxxxxxxxxx
+ Cc: stable@xxxxxxxxxxxxxxx # 6.4.x

This should be applied to the wireless tree.

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Janne Grunau <j@xxxxxxxxxx>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)