linux/drivers/staging/rtl8723bs
Ethan Tidmore 04d24a3654 staging: rtl8723bs: fix null dereference in find_network
[ Upstream commit 41460a1965 ]

The variable pwlan has the possibility of being NULL when passed into
rtw_free_network_nolock() which would later dereference the variable.

Fixes: 554c0a3abf ("staging: Add rtl8723bs sdio wifi driver")
Cc: stable@vger.kernel.org
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260202205429.20181-1-ethantidmore06@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-04 07:21:54 -05:00
..
core staging: rtl8723bs: fix null dereference in find_network 2026-03-04 07:21:54 -05:00
hal staging: rtl8723bs: Remove unused files rtw_debug.c and rtw_debug.h 2024-09-11 15:57:48 +02:00
include staging: rtl8723bs: include: Remove spaces before tabs in rtw_security.h 2024-09-13 07:31:22 +02:00
os_dep staging: rtl8723bs: fix memory leak on failure path 2026-03-04 07:21:25 -05:00
Kconfig staging: rtl8723bs: select CONFIG_CRYPTO_LIB_AES 2025-04-10 14:39:25 +02:00
Makefile staging: rtl8723bs: Remove unused file rtw_rf.c 2024-09-11 15:57:48 +02:00
TODO staging: rtl8723bs: remove item from TODO list 2021-06-24 14:43:46 +02:00