[lvc-project] [PATCH] [v2] wifi: mwifiex: avoid possible NULL skb pointer dereference

Kalle Valo kvalo at kernel.org
Wed Aug 23 14:11:51 MSK 2023


Dmitry Antipov <dmantipov at yandex.ru> wrote:

> 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: 838e4f449297 ("mwifiex: improve uAP RX handling")
> Acked-by: Brian Norris <briannorris at chromium.org>
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>

Patch applied to wireless-next.git, thanks.

35a7a1ce7c7d wifi: mwifiex: avoid possible NULL skb pointer dereference

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230814095041.16416-1-dmantipov@yandex.ru/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the lvc-project mailing list