linux/drivers/net
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
..
appletalk
arcnet drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
bonding
caif
can drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
dsa net: dsa: microchip: Always set regmap stride to 1 2019-09-27 20:21:07 +02:00
ethernet Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-28 17:47:33 -07:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
netdevsim
phy net: phy: micrel: add Asym Pause workaround for KSZ9021 2019-09-27 20:27:26 +02:00
plip
ppp ppp: Fix memory leak in ppp_write 2019-09-25 13:45:03 +02:00
slip
team
usb
vmxnet3
wan
wimax wimax/i2400m: remove unlikely() from WARN*() condition 2019-09-26 10:10:30 -07:00
wireless ath10k: fix array out-of-bounds access 2019-10-14 11:34:20 +03:00
xen-netback
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
LICENSE.SRC
loopback.c
macsec.c macsec: drop skb sk before calling gro_cells_receive 2019-09-26 09:25:03 +02:00
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: tap: clean up an indentation issue 2019-09-27 20:58:35 +02:00
thunderbolt.c
tun.c
veth.c
virtio_net.c
vrf.c vrf: Do not attempt to create IPv6 mcast rule if IPv6 is disabled 2019-09-27 20:07:05 +02:00
vsockmon.c
vxlan.c
xen-netfront.c