kernel_samsung_a53x/drivers/net/wireless/intel/iwlwifi
Emmanuel Grumbach 50a10d495f wifi: iwlwifi: fix a memory corruption
commit cf4a0d840ecc72fcf16198d5e9c505ab7d5a5e4d upstream.

iwl_fw_ini_trigger_tlv::data is a pointer to a __le32, which means that
if we copy to iwl_fw_ini_trigger_tlv::data + offset while offset is in
bytes, we'll write past the buffer.

Cc: stable@vger.kernel.org
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218233
Fixes: cf29c5b66b9f ("iwlwifi: dbg_ini: implement time point handling")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240111150610.2d2b8b870194.I14ed76505a5cf87304e0c9cc05cc0ae85ed3bf91@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:13:02 +01:00
..
cfg Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fw Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mvm wifi: iwlwifi: Use FW rate for non-data frames 2024-11-18 11:43:15 +01:00
pcie Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
queue Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-agn-hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-config.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-context-info-gen3.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-context-info.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-csr.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-dbg-tlv.c wifi: iwlwifi: fix a memory corruption 2024-11-18 12:13:02 +01:00
iwl-dbg-tlv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-devtrace-data.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-devtrace-io.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-devtrace-iwlwifi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-devtrace-msg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-devtrace-ucode.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-devtrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-devtrace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-eeprom-parse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-eeprom-parse.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-eeprom-read.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-eeprom-read.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-fh.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-io.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-io.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-modparams.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-nvm-parse.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
iwl-nvm-parse.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-op-mode.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-phy-db.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-phy-db.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-prph.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-scd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-trans.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iwl-trans.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00