[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()

Dmitry Kandybka d.kandybka at gmail.com
Wed Oct 30 13:50:30 MSK 2024


On Wed, 2024-10-30 at 10:48 +0300, Fedor Pchelkin wrote:
> 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 ветки. Спасибо!
> 
> _______________________________________________
> lvc-project mailing list
> lvc-project at linuxtesting.org
> http://linuxtesting.org/cgi-bin/mailman/listinfo/lvc-project
Для подобного рода бэкпортов стоит ли беспокоить LF?



More information about the lvc-project mailing list