1
0
Fork 0
alistair23-linux/drivers/staging/rtl8723bs
Dan Carpenter 60bdb51d44 Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
commit b65a2d8c86 upstream.

The "ie_len" variable is in the 0-255 range and it comes from the
network.  If it's over NDIS_802_11_LENGTH_RATES_EX (16) then that will
lead to memory corruption.

Fixes: 554c0a3abf ("staging: Add rtl8723bs sdio wifi driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200603101958.GA1845750@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-30 15:37:11 -04:00
..
core Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate() 2020-06-30 15:37:11 -04:00
hal staging: rtl8723bs: fix copy of overlapping memory 2020-02-28 17:22:26 +01:00
include staging: rtl8723bs: replace __inline by inline 2019-09-03 09:39:53 +02:00
os_dep staging: rtl8723bs: Fix potential overuse of kernel memory 2020-02-28 17:22:17 +01:00
Kconfig staging: rtl8723bs: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
Makefile staging: rtl8723bs: Remove debugging information exposed via procfs 2019-08-14 13:20:12 +02:00
TODO staging: rtl8723bs: Remove myself from CC: 2019-06-20 14:32:07 +02:00