linux/drivers/net/wireless
Laura Abbott 64efcbc7a5 rtlwifi: Fix potential overflow on P2P code
commit 8c55dedb79 upstream.

Nicolas Waisman noticed that even though noa_len is checked for
a compatible length it's still possible to overrun the buffers
of p2pinfo since there's no check on the upper bound of noa_num.
Bound noa_num against P2P_MAX_NOA_NUM.

Reported-by: Nicolas Waisman <nico@semmle.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-06 13:06:21 +01:00
..
admtek
ath ath6kl: fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe() 2019-11-06 13:06:12 +01:00
atmel at76c50x-usb: Don't register led_trigger if usb_register_driver failed 2019-05-31 06:46:05 -07:00
broadcom brcmfmac: sdio: Don't tune while the card is off 2019-06-25 11:35:54 +08:00
cisco airo: remove unused variables len and dev and clean up formatting 2018-07-31 10:17:19 +03:00
intel iwlwifi: exclude GEO SAR support for 3168 2019-11-06 13:06:11 +01:00
intersil p54usb: Fix race between disconnect and firmware loading 2019-07-14 08:11:19 +02:00
marvell libertas: Add missing sentinel at end of if_usb.c fw_table 2019-10-05 13:09:57 +02:00
mediatek mt76: fix corrupted software generated tx CCMP PN 2019-09-16 08:22:06 +02:00
quantenna qtnfmac: implement basic WoWLAN support 2018-08-02 21:55:49 +03:00
ralink rt2x00: do not increment sequence number while re-transmitting 2019-04-27 09:36:38 +02:00
realtek rtlwifi: Fix potential overflow on P2P code 2019-11-06 13:06:21 +01:00
rsi rsi: fix a double free bug in rsi_91x_deinit() 2019-09-19 09:09:41 +02:00
st net: cw1200: fix a NULL pointer dereference 2019-05-31 06:46:15 -07:00
ti wlcore: Fix memory leak in case wl12xx_fetch_firmware failure 2019-04-05 22:33:16 +02:00
zydas zd1211rw: use irqsave() in USB's complete callback 2018-06-27 19:12:43 +03:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: Fix possible null-pointer dereferences in hwsim_dump_radio_nl() 2019-08-29 08:28:33 +02:00
mac80211_hwsim.h
Makefile
ray_cs.c ray_cs: remove redundant pointer 'p' 2018-07-31 10:19:50 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
wl3501_cs.c
wl3501.h