linux/drivers/net/wireless/intel/iwlwifi/fw
Johannes Berg 1d33694462 wifi: iwlwifi: uefi: check DSM item validity
The first array index is a bitmap indicating which of the
other values are valid. Check that bitmap before returning
a value.

Fixes: fc7214c3c9 ("wifi: iwlwifi: read DSM functions from UEFI")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220085
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250828095500.59ec52ff865e.I9e11f497a029eb38f481b2c90c43c0935285216d@changeid
2025-08-28 14:00:45 +03:00
..
api wifi: Fix typos 2025-07-24 09:05:31 +02:00
acpi.c wifi: iwlwifi: acpi: check DSM func validity 2025-08-28 14:00:45 +03:00
acpi.h wifi: iwlwifi: prepare for reading WPFC from UEFI 2025-05-06 20:22:32 +03:00
dbg.c wifi: iwlwifi: add iwl_trans_is_dead() API 2025-07-11 18:28:31 +03:00
dbg.h wifi: iwlwifi: cfg: move MAC parameters to MAC data 2025-05-09 15:38:47 +03:00
debugfs.c wifi: iwlwifi: add support for accepting raw DSM tables by firmware 2025-07-11 18:28:31 +03:00
debugfs.h
dhc-utils.h wifi: iwlwifi: mld: add support for DHC_TOOLS_UMAC_GET_TAS_STATUS command 2025-03-18 09:51:24 +01:00
dump.c wifi: iwlwifi: add iwl_trans_device_enabled() API 2025-07-11 18:28:30 +03:00
error-dump.h wifi: iwlwifi: debug: set CDB indication from CSR 2025-05-07 06:08:02 +03:00
file.h wifi: iwlwifi: add support for accepting raw DSM tables by firmware 2025-07-11 18:28:31 +03:00
img.c wifi: iwlwifi: add a new NMI type 2025-01-13 14:00:54 +01:00
img.h wifi: iwlwifi: use PNVM data embedded in .ucode files 2025-07-09 11:39:28 +03:00
init.c wifi: iwlwifi: rename cfg_trans_params to mac_cfg 2025-05-09 15:37:54 +03:00
notif-wait.c
notif-wait.h
paging.c wifi: iwlwifi: rename cfg_trans_params to mac_cfg 2025-05-09 15:37:54 +03:00
pnvm.c wifi: iwlwifi: use PNVM data embedded in .ucode files 2025-07-09 11:39:28 +03:00
pnvm.h wifi: iwlwifi: use PNVM data embedded in .ucode files 2025-07-09 11:39:28 +03:00
regulatory.c wifi: iwlwifi: Revert "wifi: iwlwifi: remove support of several iwl_ppag_table_cmd versions" 2025-07-23 14:10:57 +03:00
regulatory.h wifi: iwlwifi: add support for accepting raw DSM tables by firmware 2025-07-11 18:28:31 +03:00
rs.c wifi: iwlwifi: handle v3 rates 2025-05-07 06:08:02 +03:00
runtime.h wifi: iwlwifi: acpi: check DSM func validity 2025-08-28 14:00:45 +03:00
smem.c wifi: iwlwifi: rename cfg_trans_params to mac_cfg 2025-05-09 15:37:54 +03:00
uefi.c wifi: iwlwifi: uefi: check DSM item validity 2025-08-28 14:00:45 +03:00
uefi.h wifi: iwlwifi: make iwl_uefi_get_uats_table() return void 2025-05-07 06:08:02 +03:00