linux/drivers/net/wireless/marvell
Zhang Xiaohui 5c455c5ab3 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start
mwifiex_cmd_802_11_ad_hoc_start() calls memcpy() without checking
the destination size may trigger a buffer overflower,
which a local user could use to cause denial of service
or the execution of arbitrary code.
Fix it by putting the length check before calling memcpy().

Signed-off-by: Zhang Xiaohui <ruc_zhangxiaohui@163.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201206084801.26479-1-ruc_zhangxiaohui@163.com
2020-12-08 09:33:27 +02:00
..
libertas net: libertas: Use netif_rx_any_context() 2020-09-29 14:02:55 -07:00
libertas_tf net: libertas libertas_tf: Remove in_interrupt() from debug macro. 2020-09-29 14:02:55 -07:00
mwifiex mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start 2020-12-08 09:33:27 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mwl8k.c mwl8k: switch from 'pci_' to 'dma_' API 2020-12-07 18:33:17 +02:00