kernel_samsung_a53x/drivers/net/wireless/intel/iwlwifi
Daniel Gabay 00e8046b39 wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd()
[ Upstream commit 07a6e3b78a65f4b2796a8d0d4adb1a15a81edead ]

1. The size of the response packet is not validated.
2. The response buffer is not freed.

Resolve these issues by switching to iwl_mvm_send_cmd_status(),
which handles both size validation and frees the buffer.

Fixes: f130bb75d881 ("iwlwifi: add FW recovery flow")
Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241010140328.76c73185951e.Id3b6ca82ced2081f5ee4f33c997491d0ebda83f7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:22:03 +01:00
..
cfg
dvm wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
fw wifi: iwlwifi: remove fw_running op 2024-11-23 23:20:58 +01:00
mvm wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() 2024-11-23 23:22:03 +01:00
pcie wifi: iwlwifi: lower message level for FW buffer destination 2024-11-23 23:21:15 +01:00
queue
iwl-agn-hw.h
iwl-config.h
iwl-context-info-gen3.h
iwl-context-info.h
iwl-csr.h
iwl-dbg-tlv.c
iwl-dbg-tlv.h
iwl-debug.c
iwl-debug.h
iwl-devtrace-data.h
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c wifi: iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef 2024-11-19 14:19:00 +01:00
iwl-drv.h
iwl-eeprom-parse.c
iwl-eeprom-parse.h
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h
iwl-io.c
iwl-io.h
iwl-modparams.h
iwl-nvm-parse.c
iwl-nvm-parse.h
iwl-op-mode.h
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h
iwl-scd.h
iwl-trans.c
iwl-trans.h
Kconfig
Makefile