2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/wireless/marvell
Dmitry Antipov 35a7a1ce7c wifi: mwifiex: avoid possible NULL skb pointer dereference
In 'mwifiex_handle_uap_rx_forward()', always check the value
returned by 'skb_copy()' to avoid potential NULL pointer
dereference in 'mwifiex_uap_queue_bridged_pkt()', and drop
original skb in case of copying failure.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 838e4f4492 ("mwifiex: improve uAP RX handling")
Acked-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230814095041.16416-1-dmantipov@yandex.ru
2023-08-23 14:11:42 +03:00
..
libertas wifi: libertas: prefer kstrtoX() for simple integer conversions 2023-08-01 17:49:02 +03:00
libertas_tf wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave() 2022-12-22 18:12:37 +02:00
mwifiex wifi: mwifiex: avoid possible NULL skb pointer dereference 2023-08-23 14:11:42 +03: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 wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00