bianbu-linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm
Gregory Greenman d09d246f6a wifi: iwlwifi: mvm: fix size check for fw_link_id
[ Upstream commit e25bd1853cc8308158d97e5b3696ea3689fa0840 ]

Check that fw_link_id does not exceed the size of link_id_to_link_conf
array. There's no any codepath that can cause that, but it's still
safer to verify in case fw_link_id gets corrupted.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231017115047.3385bd11f423.I2d30fdb464f951c648217553c47901857a0046c7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 17:19:38 +00:00
..
binding.c wifi: iwlwifi: mvm: Refactor iwl_mvm_get_lmac_id() 2023-06-14 12:32:20 +02:00
coex.c wifi: iwlwifi: mvm: coex: start handling multiple links 2023-03-30 12:08:37 +02:00
constants.h wifi: iwlwifi: implement WPFC ACPI table loading 2023-06-19 12:05:26 +02:00
d3.c wifi: iwlwifi: mvm: update IGTK in mvmvif upon D3 resume 2023-11-20 11:59:03 +01:00
debugfs-vif.c wifi: iwlwifi: mvm: track u-APSD misbehaving AP by AP address 2023-06-19 12:05:26 +02:00
debugfs.c wifi: iwlwifi: unify Bz/Gl device configurations 2023-06-21 14:07:01 +02:00
debugfs.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
ftm-initiator.c wifi: iwlwifi: mvm: FTM initiator MLO support 2023-06-14 12:32:17 +02:00
ftm-responder.c wifi: iwlwifi: mvm: fix removing pasn station for responder 2023-11-20 11:59:02 +01:00
fw-api.h iwlwifi: mvm/api: define system control command 2021-12-07 20:06:45 +02:00
fw.c wifi: iwlwifi: mvm: Fix a memory corruption issue 2023-09-11 16:11:44 +02:00
led.c iwlwifi: mvm: Fix fall-through warnings for Clang 2020-12-11 20:20:24 +02:00
link.c wifi: iwlwifi: mvm: fix size check for fw_link_id 2023-11-28 17:19:38 +00:00
mac-ctxt.c wifi: iwlwifi: mvm: Don't always bind/link the P2P Device interface 2023-11-20 11:59:02 +01:00
mac80211.c wifi: iwlwifi: mvm: fix iwl_mvm_mac_flush_sta() 2023-11-20 11:59:02 +01:00
Makefile wifi: iwlwifi: mvm: report hardware timestamps in RX/TX status 2023-03-22 13:16:35 +01:00
mld-key.c wifi: iwlwifi: mvm: Fix key flags for IGTK on AP interface 2023-11-20 11:59:02 +01:00
mld-mac.c wifi: iwlwifi: mvm: Don't access vif valid links directly 2023-06-19 12:05:27 +02:00
mld-mac80211.c wifi: iwlwifi: mvm: Don't always bind/link the P2P Device interface 2023-11-20 11:59:02 +01:00
mld-sta.c wifi: iwlwifi: mvm: change iwl_mvm_flush_sta() API 2023-11-20 11:59:02 +01:00
mvm.h wifi: iwlwifi: mvm: change iwl_mvm_flush_sta() API 2023-11-20 11:59:02 +01:00
nvm.c wifi: iwlwifi: update response for mcc_update command 2023-06-14 12:32:17 +02:00
offloading.c wifi: iwlwifi: mvm: rename BTM support flag and its TLV 2023-06-14 12:32:19 +02:00
ops.c wifi: iwlwifi: add some FW misbehaviour check infrastructure 2023-06-19 12:05:26 +02:00
phy-ctxt.c wifi: iwlwifi: handle eSR transitions 2023-06-19 12:05:27 +02:00
power.c wifi: iwlwifi: mvm: adjust skip-over-dtim in D3 2023-06-21 14:02:16 +02:00
ptp.c wifi: iwlwifi: mvm: Use 64-bit division helper in iwl_mvm_get_crosstimestamp_fw() 2023-03-30 11:16:21 +02:00
quota.c wifi: iwlwifi: mvm: vif preparation for MLO 2023-03-30 12:07:52 +02:00
rfi.c wifi: iwlwifi: mvm: rfi: disable RFI feature 2023-05-16 10:16:51 -07:00
rs-fw.c wifi: iwlwifi: mvm: use EHT maximum MPDU length on 2.4 GHz 2023-06-21 14:02:15 +02:00
rs.c wifi: iwlwifi: add a few rate index validity checks 2023-06-19 12:05:26 +02:00
rs.h wifi: iwlwifi: mvm: remove RS rate init update argument 2023-04-18 14:47:55 +02:00
rx.c wifi: iwlwifi: mvm: Validate tid is in valid range before using it 2023-06-19 12:05:26 +02:00
rxmq.c wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection 2023-06-21 14:02:16 +02:00
scan.c wifi: iwlwifi: mvm: Fix incorrect usage of scan API 2023-09-27 11:46:30 +02:00
sf.c wifi: iwlwifi: remove disable_dummy_notification 2023-06-21 14:02:15 +02:00
sta.c wifi: iwlwifi: mvm: remove TDLS stations from FW 2023-11-20 11:59:02 +01:00
sta.h wifi: iwlwifi: make debugfs entries link specific 2023-06-14 12:32:17 +02:00
tdls.c wifi: iwlwifi: mvm: sta preparation for MLO 2023-03-30 12:07:52 +02:00
testmode.h
time-event.c wifi: iwlwifi: mvm: change iwl_mvm_flush_sta() API 2023-11-20 11:59:02 +01:00
time-event.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
time-sync.c wifi: iwlwifi: mvm: support enabling and disabling HW timestamping 2023-03-22 13:16:37 +01:00
time-sync.h wifi: iwlwifi: mvm: support enabling and disabling HW timestamping 2023-03-22 13:16:37 +01:00
tt.c Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
tx.c wifi: iwlwifi: empty overflow queue during flush 2023-11-20 11:59:03 +01:00
utils.c wifi: iwlwifi: handle eSR transitions 2023-06-19 12:05:27 +02:00
vendor-cmd.c iwlwifi: mvm: return value for request_ownership 2022-03-02 22:37:25 +01:00