Files
linux/drivers
Zhang Xiaohui b35029a1f2 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start
[ Upstream commit 5c455c5ab3 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-01-09 13:43:48 +01:00
..
2020-11-24 13:27:15 +01:00
2020-09-09 19:04:23 +02:00
2019-05-14 19:17:53 +02:00
2021-01-09 13:43:47 +01:00
2020-12-30 11:26:04 +01:00
2019-07-26 09:14:05 +02:00
2020-02-24 08:34:47 +01:00
2021-01-06 14:44:59 +01:00