linux/drivers/staging/wfx
Jérôme Pouiller 88d0facf18 staging: wfx: fix potential vulnerability to spectre
array_index_nospec() should be applied after a bound check.

Fixes: 9bca45f3d6 ("staging: wfx: allow to send 802.11 frames")
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191011164746.2518-1-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-14 15:37:19 +02:00
..
Documentation/devicetree/bindings/net/wireless staging: wfx: fix spelling mistake "hexdecimal" -> "hexadecimal" 2019-10-08 14:46:21 +02:00
bh.c staging: wfx: drop calls to BUG_ON() 2019-10-08 14:44:56 +02:00
bh.h staging: wfx: add IRQ handling 2019-10-04 10:43:40 +02:00
bus_sdio.c staging: wfx: drop calls to BUG_ON() 2019-10-08 14:44:56 +02:00
bus_spi.c staging: wfx: setup initial chip configuration 2019-10-04 10:47:35 +02:00
bus.h
data_rx.c staging: wfx: implement the rest of mac80211 API 2019-10-04 10:48:54 +02:00
data_rx.h staging: wfx: allow to receive 802.11 frames 2019-10-04 10:47:36 +02:00
data_tx.c staging: wfx: fix error handling in wfx_tx_get_raw_link_id() 2019-10-14 15:37:18 +02:00
data_tx.h staging: wfx: avoid namespace contamination 2019-10-08 14:44:56 +02:00
debug.c staging: wfx: fix swapped arguments in memset call 2019-10-10 10:46:26 +02:00
debug.h staging: wfx: allow to send commands to chip 2019-10-04 10:46:10 +02:00
fwio.c staging: wfx: Make function 'sram_write_dma_safe', 'load_firmware_secure' static 2019-10-10 10:47:12 +02:00
fwio.h staging: wfx: load firmware 2019-10-04 10:43:39 +02:00
hif_api_cmd.h staging: wfx: import HIF API headers 2019-10-04 10:43:40 +02:00
hif_api_general.h staging: wfx: import HIF API headers 2019-10-04 10:43:40 +02:00
hif_api_mib.h staging: wfx: import HIF API headers 2019-10-04 10:43:40 +02:00
hif_rx.c staging: wfx: fix spelling mistake "non existant" -> "non-existent" 2019-10-10 12:47:31 +02:00
hif_rx.h staging: wfx: add support for start-up indication 2019-10-04 10:46:09 +02:00
hif_tx_mib.h staging: wfx: drop calls to BUG_ON() 2019-10-08 14:44:56 +02:00
hif_tx.c staging: wfx: implement the rest of mac80211 API 2019-10-04 10:48:54 +02:00
hif_tx.h staging: wfx: introduce "secure link" 2019-10-04 10:47:35 +02:00
hwio.c staging: wfx: add tracepoints for I/O access 2019-10-04 10:43:39 +02:00
hwio.h staging: wfx: add I/O API 2019-10-04 10:43:39 +02:00
Kconfig
key.c staging: wfx: drop calls to BUG_ON() 2019-10-08 14:44:56 +02:00
key.h staging: wfx: implement 802.11 key handling 2019-10-04 10:48:54 +02:00
main.c staging: wfx: fix spelling mistake "hexdecimal" -> "hexadecimal" 2019-10-08 14:46:21 +02:00
main.h staging: wfx: setup initial chip configuration 2019-10-04 10:47:35 +02:00
Makefile staging: wfx: implement 802.11 key handling 2019-10-04 10:48:54 +02:00
queue.c staging: wfx: Make function 'wfx_tx_queue_get' static 2019-10-10 10:47:12 +02:00
queue.h staging: wfx: allow to send 802.11 frames 2019-10-04 10:47:35 +02:00
scan.c staging: wfx: drop calls to BUG_ON() 2019-10-08 14:44:56 +02:00
scan.h staging: wfx: allow to scan networks 2019-10-04 10:48:53 +02:00
secure_link.h staging: wfx: introduce "secure link" 2019-10-04 10:47:35 +02:00
sta.c staging: wfx: Make some functions static in sta.c 2019-10-10 10:47:13 +02:00
sta.h staging: wfx: implement the rest of mac80211 API 2019-10-04 10:48:54 +02:00
TODO
traces.h staging: wfx: allow to send 802.11 frames 2019-10-04 10:47:35 +02:00
wfx_version.h
wfx.h staging: wfx: fix potential vulnerability to spectre 2019-10-14 15:37:19 +02:00