linux/drivers/net/wireless/ath/ath10k
Miaoqing Pan c5329b2d5b ath10k: fix array out-of-bounds access
If firmware reports rate_max > WMI_TPC_RATE_MAX(WMI_TPC_FINAL_RATE_MAX)
or num_tx_chain > WMI_TPC_TX_N_CHAIN, it will cause array out-of-bounds
access, so print a warning and reset to avoid memory corruption.

Tested HW: QCA9984
Tested FW: 10.4-3.9.0.2-00035

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-10-14 11:34:20 +03:00
..
ahb.c
ahb.h
bmi.c
bmi.h
ce.c
ce.h
core.c ath: fix various spelling mistakes 2019-09-23 11:24:37 +03:00
core.h ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
coredump.c ath10k: fix backtrace on coredump 2019-10-01 14:17:45 +03:00
coredump.h ath10k: Enable MSA region dump support for WCN3990 2019-09-21 09:48:16 +03:00
debug.c ath10k: fix array out-of-bounds access 2019-10-14 11:34:20 +03:00
debug.h ath10k: add support for controlling tx power to a station 2019-06-25 16:14:00 +03:00
debugfs_sta.c ath10k: Add peer param map for tlv and non-tlv 2019-09-23 10:27:56 +03:00
hif.h ath10k: Add WMI diag fw logging support for WCN3990 2019-06-25 16:16:54 +03:00
htc.c
htc.h
htt.c ath10k: add inline wrapper for htt_h2t_aggr_cfg_msg 2019-06-25 15:47:15 +03:00
htt.h ath10k: add inline wrapper for htt_h2t_aggr_cfg_msg 2019-06-25 15:47:15 +03:00
htt_rx.c ath10k: Check if station exists before forwarding tx airtime report 2019-09-17 17:02:29 +03:00
htt_tx.c ath10k: add mic bytes for pmf management packet 2019-09-10 16:14:29 +03:00
hw.c ath10k: enable transmit data ack RSSI for QCA9884 2019-10-11 11:32:26 +03:00
hw.h ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
Kconfig ath: fix SPDX tags 2019-06-26 18:11:06 +03:00
mac.c ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
mac.h ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
Makefile
p2p.c
p2p.h
pci.c ath10k: restore QCA9880-AR1A (v1) detection 2019-10-02 20:18:52 +03:00
pci.h
qmi.c ath: fix various spelling mistakes 2019-09-23 11:24:37 +03:00
qmi.h ath10k: Add WMI diag fw logging support for WCN3990 2019-06-25 16:16:54 +03:00
qmi_wlfw_v01.c ath10k: Fix HOST capability QMI incompatibility 2019-09-17 17:03:13 +03:00
qmi_wlfw_v01.h ath10k: Fix HOST capability QMI incompatibility 2019-09-17 17:03:13 +03:00
rx_desc.h
sdio.c ath10k: remove the warning of sdio not full support 2019-09-23 11:27:19 +03:00
sdio.h
snoc.c ath10k: fix null dereference on pointer crash_data 2019-10-11 11:45:53 +03:00
snoc.h ath10k: Enable MSA region dump support for WCN3990 2019-09-21 09:48:16 +03:00
spectral.c
spectral.h
swap.c ath10k: remove unnecessary 'out of memory' message 2019-06-28 22:14:06 +03:00
swap.h
targaddrs.h
testmode.c ath10k: change firmware file name for UTF mode of SDIO/USB 2019-06-25 15:53:41 +03:00
testmode.h
testmode_i.h
thermal.c
thermal.h
trace.c ath10k: Add wrapper function to ath10k debug 2019-06-25 15:48:47 +03:00
trace.h ath10k: Add wrapper function to ath10k debug 2019-06-25 15:48:47 +03:00
txrx.c
txrx.h
usb.c ath10k: fix memory leak 2019-09-23 11:28:50 +03:00
usb.h
wmi-ops.h
wmi-tlv.c ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
wmi-tlv.h ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
wmi.c ath10k: fix array out-of-bounds access 2019-10-14 11:34:20 +03:00
wmi.h ath10k: add support for hardware rfkill 2019-10-02 20:20:33 +03:00
wow.c
wow.h