[lvc-project] [PATCH] wifi: brcmsmac: add gain range check to wlc_phy_iqcal_gainparams_nphy()

Kalle Valo kvalo at kernel.org
Fri Dec 13 15:55:21 MSK 2024


Dmitry Antipov <dmantipov at yandex.ru> wrote:

> In 'wlc_phy_iqcal_gainparams_nphy()', add gain range check to WARN()
> instead of possible out-of-bounds 'tbl_iqcal_gainparams_nphy' access.
> Compile tested only.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
> Acked-by: Arend van Spriel <arend.vanspriel at broadcom.com>

Patch applied to wireless-next.git, thanks.

3f4a0948c352 wifi: brcmsmac: add gain range check to wlc_phy_iqcal_gainparams_nphy()

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

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




More information about the lvc-project mailing list