bianbu-linux-6.6/drivers/net/wireless/intel
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
..
ipw2x00 wifi: ipw2x00: refactor to use kstrtoul 2023-08-21 19:10:02 +03:00
iwlegacy wifi: iwlegacy: avoid fortify warning 2023-02-17 11:35:54 +02:00
iwlwifi wifi: iwlwifi: mvm: fix size check for fw_link_id 2023-11-28 17:19:38 +00:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile iwlwifi: fix build error for IWLMEI 2022-03-02 22:36:49 +01:00