linux/drivers/net/wireless/intel/iwlwifi
Johannes Berg b570e5b059 iwlwifi: mvm: validate firmware sync response size
We send some data to the firmware and expect to get it back,
but we shouldn't really trust the firmware on this. Check the
size of all the data we send down to avoid using bad or just
uninitialized data when the firmware doesn't respond right.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201209231352.a5a8173f16c7.I4fa68bb2b1c7dcc52ddd381c4042722d27c4a34d@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2020-12-10 00:16:02 +02:00
..
cfg iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
dvm iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
fw iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
mvm iwlwifi: mvm: validate firmware sync response size 2020-12-10 00:16:02 +02:00
pcie iwlwifi: pcie: clean up some rx code 2020-12-10 00:16:01 +02:00
queue iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-agn-hw.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-config.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-context-info-gen3.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-context-info.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-csr.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-dbg-tlv.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-dbg-tlv.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-debug.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-debug.h iwlwifi: mvm: add d3 prints 2020-10-01 22:00:59 +03:00
iwl-devtrace-data.h iwlwifi: pcie: trace IOVA for iwlwifi_dev_tx_tb 2019-11-20 12:28:55 +02:00
iwl-devtrace-io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-iwlwifi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-msg.h net: iwlwifi: Remove in_interrupt() from tracing macro. 2020-09-29 14:02:55 -07:00
iwl-devtrace-ucode.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.h iwlwifi: fix warning iwl-trans.h is included more than once 2019-09-06 15:52:05 +03:00
iwl-drv.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-drv.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-parse.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-parse.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-read.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-eeprom-read.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-fh.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-io.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-io.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-modparams.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-nvm-parse.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-nvm-parse.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-op-mode.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-phy-db.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-phy-db.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-prph.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-scd.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-trans.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
Kconfig First set of patches intended for v5.9 2020-06-15 20:23:23 +03:00
Makefile iwlwifi: move PNVM implementation to common code 2020-10-08 20:14:58 +03:00