summaryrefslogtreecommitdiffstats
path: root/include/linux/host1x.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-06-03 13:19:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-16 21:25:38 +0200
commitb65a2d8c8614386f7e8d38ea150749f8a862f431 (patch)
treea4006fa83925e912e06f71d42e27ce3df9568d3e /include/linux/host1x.h
parent29de523a6270a308d12d21f4fecf52dac491e226 (diff)
downloadlinux-b65a2d8c8614386f7e8d38ea150749f8a862f431.tar.bz2
Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
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: 554c0a3abf21 ("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>
Diffstat (limited to 'include/linux/host1x.h')
0 files changed, 0 insertions, 0 deletions