[lvc-project] [PATCH v2] brcmsmac: add NULL pointer check in wlc_phy_radio_init_2057
Arend van Spriel
arend.vanspriel at broadcom.com
Sun Aug 2 22:06:19 MSK 2026
On 29/07/2026 12:13, Dmitriy Okunev wrote:
> Pointer regs_2057_ptr may remain NULL if the device reports unsupported
> phy/radio revisions. This could lead to NULL dereference. Add a check to prevent it.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
As mentioned in previous patch reply please use wifi: prefix in subject
and send the patch to linux-wireless at vger.kernel.org.
Regards,
Arend
> Signed-off-by: Dmitriy Okunev <dmitriy.okunev at red-soft.ru>
> ---
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
More information about the lvc-project
mailing list