kernel_samsung_a53x/drivers/net/wireless/intel/iwlwifi/mvm
Miri Korenblit 8368b9fbae wifi: iwlwifi: mvm: check n_ssids before accessing the ssids
[ Upstream commit 60d62757df30b74bf397a2847a6db7385c6ee281 ]

In some versions of cfg80211, the ssids poinet might be a valid one even
though n_ssids is 0. Accessing the pointer in this case will cuase an
out-of-bound access. Fix this by checking n_ssids first.

Fixes: c1a7515393e4 ("iwlwifi: mvm: add adaptive dwell support")
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://msgid.link/20240513132416.6e4d1762bf0d.I5a0e6cc8f02050a766db704d15594c61fe583d45@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:00 +01:00
..
binding.c
coex.c
constants.h
d3.c
debugfs-vif.c
debugfs.c
debugfs.h
ftm-initiator.c wifi: iwlwifi: mvm: remove old PASN station when adding a new one 2024-11-19 11:32:36 +01:00
ftm-responder.c
fw-api.h
fw.c
led.c
mac-ctxt.c
mac80211.c iwlwifi: mvm: write queue_sync_state only for sync 2024-11-18 22:25:36 +01:00
Makefile
mvm.h
nvm.c
offloading.c
ops.c
phy-ctxt.c
power.c
quota.c
rs-fw.c
rs.c
rs.h wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64 2024-11-19 14:19:00 +01:00
rx.c
rxmq.c
scan.c wifi: iwlwifi: mvm: check n_ssids before accessing the ssids 2024-11-19 14:19:00 +01:00
sf.c
sta.c
sta.h
tdls.c
testmode.h
time-event.c
time-event.h
tt.c
tx.c
utils.c