linux/drivers/net/wireless/microchip/wilc1000
Phil Turnbull 0cdfa9e6f0 wifi: wilc1000: validate number of channels
There is no validation of 'e->no_of_channels' which can trigger an
out-of-bounds write in the following 'memset' call. Validate that the
number of channels does not extends beyond the size of the channel list
element.

Signed-off-by: Phil Turnbull <philipturnbull@github.com>
Tested-by: Ajay Kathat <ajay.kathat@microchip.com>
Acked-by: Ajay Kathat <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221123153543.8568-5-philipturnbull@github.com
2022-11-24 18:11:23 +02:00
..
Kconfig wilc1000: Add support for enabling CRC 2021-04-17 20:47:40 +03:00
Makefile
cfg80211.c wifi: wilc1000: validate number of channels 2022-11-24 18:11:23 +02:00
cfg80211.h
fw.h wifi: wilc1000: add IGTK support 2022-05-30 14:18:00 +03:00
hif.c wifi: wilc1000: validate pairwise and authentication suite offsets 2022-11-24 18:11:23 +02:00
hif.h wifi: wilc1000: fix spurious inline in wilc_handle_disconnect() 2022-08-08 11:11:04 +03:00
mon.c wifi: move from strlcpy with unused retval to strscpy 2022-09-02 11:47:22 +03:00
netdev.c wifi: wilc1000: use existing iftype variable to store the interface type 2022-07-27 15:58:11 +03:00
netdev.h wifi: wilc1000: fix DMA on stack objects 2022-08-30 19:36:29 +03:00
sdio.c wifi: wilc1000: fix DMA on stack objects 2022-08-30 19:36:29 +03:00
spi.c wifi: wilc1000: add 'isinit' flag for SDIO bus similar to SPI 2022-07-27 15:58:10 +03:00
wlan.c wifi: wilc1000: fix DMA on stack objects 2022-08-30 19:36:29 +03:00
wlan.h wifi: wilc1000: add 'isinit' flag for SDIO bus similar to SPI 2022-07-27 15:58:10 +03:00
wlan_cfg.c wifi: wilc1000: get correct length of string WID from received config packet 2022-07-27 15:58:10 +03:00
wlan_cfg.h
wlan_if.h wifi: wilc1000: add IGTK support 2022-05-30 14:18:00 +03:00