[lvc-project] [PATCH 5.10/5.15/6.1 1/1] wifi: ath10k: Check return value of ath10k_get_arvif() in ath10k_wmi_event_tdls_peer()

Fedor Pchelkin pchelkin at ispras.ru
Wed Oct 30 10:48:05 MSK 2024


On Tue, 29. Oct 15:59, Dmitry Kandybka wrote:
> From: Peter Kosyh <pkosyh at yandex.ru>
> 
> commit 473118917cc33b98510880458c724bd833653db6 upstream.
> 
> Return value of a function ath10k_get_arvif() is dereferenced without
> checking for null in ath10k_wmi_event_tdls_peer(), but it is usually checked
> for this function.
> 
> Make ath10k_wmi_event_tdls_peer() do check retval of ath10k_get_arvif().
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Peter Kosyh <pkosyh at yandex.ru>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
> Link: https://lore.kernel.org/r/20221003091217.322598-1-pkosyh@yandex.ru
> Signed-off-by: Dmitry Kandybka <d.kandybka at gmail.com>

Патч добавлен в LVC-5.10 и 6.1 ветки. Спасибо!



More information about the lvc-project mailing list