This is a note to let you know that I've just added the patch titled wifi: cfg80211: pass correct pointer to rdev_inform_bss() to the 6.5-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: wifi-cfg80211-pass-correct-pointer-to-rdev_inform_bs.patch and it can be found in the queue-6.5 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit e2733f864069d28f9e1d1fcc816b6c5218970a47 Author: Ben Greear <greearb@xxxxxxxxxxxxxxx> Date: Sat Oct 21 08:48:27 2023 -0700 wifi: cfg80211: pass correct pointer to rdev_inform_bss() [ Upstream commit 3e3929ef889e650dd585dc0f4f7f18240688811a ] Confusing struct member names here resulted in passing the wrong pointer, causing crashes. Pass the correct one. Fixes: eb142608e2c4 ("wifi: cfg80211: use a struct for inform_single_bss data") Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> Link: https://lore.kernel.org/r/20231021154827.1142734-1-greearb@xxxxxxxxxxxxxxx [rewrite commit message, add fixes] Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 939deecf0bbef..8210a6090ac16 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -2125,7 +2125,7 @@ cfg80211_inform_single_bss_data(struct wiphy *wiphy, if (!res) goto drop; - rdev_inform_bss(rdev, &res->pub, ies, data->drv_data); + rdev_inform_bss(rdev, &res->pub, ies, drv_data->drv_data); if (data->bss_source == BSS_SOURCE_MBSSID) { /* this is a nontransmitting bss, we need to add it to