acrn-kernel/drivers/staging/ks7010
Dan Carpenter e163b9823a staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
The user can specify a "req->essid_len" of up to 255 but if it's
over IW_ESSID_MAX_SIZE (32) that can lead to memory corruption.

Fixes: 13a9930d15 ("staging: ks7010: add driver from Nanonote extra-repository")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/YD4fS8+HmM/Qmrw6@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-10 09:23:28 +01:00
..
Kconfig
Makefile
TODO
eap_packet.h
ks7010_sdio.c staging: ks7010: fix missing destroy_workqueue() on error in ks7010_sdio_probe 2020-11-06 11:02:53 +01:00
ks_hostif.c
ks_hostif.h
ks_wlan.h
ks_wlan_ioctl.h
ks_wlan_net.c staging: ks7010: prevent buffer overflow in ks_wlan_set_scan() 2021-03-10 09:23:28 +01:00