milos-linux/drivers/staging/rtl8723bs
Salman Alghamdi 88e994c57a staging: rtl8723bs: rtw_mlme: add bounds checks before ie_length subtraction
Add guards to ensure ie_length is large enough before subtracting
fixed IE offsets to prevent unsigned integer underflow.

Fixes: 2038fe84b8 ("staging: rtl8723bs: fix spacing around operators")
Fixes: d3fcee1b78 ("staging: rtl8723bs: fix camel case in struct wlan_bssid_ex")
Closes: https://lore.kernel.org/linux-staging/DI2H39EAAFBZ.3KI5NWN02AQ2S@linux.dev/
Cc: stable <stable@kernel.org>
Signed-off-by: Salman Alghamdi <me@cipherat.com>
Reviewed-by: Luka Gejak <luka.gejak@linux.dev>
Link: https://patch.msgid.link/20260513203455.31792-1-me@cipherat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-21 12:43:22 +02:00
..
core staging: rtl8723bs: rtw_mlme: add bounds checks before ie_length subtraction 2026-05-21 12:43:22 +02:00
hal staging: rtl8723bs: remove unused RTL8188E antenna selection macros 2026-03-31 10:41:48 +02:00
include staging: rtl8723bs: remove redundant blank lines in basic_types.h 2026-03-31 10:38:43 +02:00
os_dep staging: rtl8723bs: os_dep: avoid NULL pointer dereference in rtw_cbuf_alloc 2026-05-04 11:36:47 +02:00
Kconfig staging: rtl8723bs: select CRYPTO_LIB_UTILS instead of CRYPTO 2025-12-17 14:01:23 +01:00
Makefile staging: rtl8723bs: remove os_dep/recv_linux.c 2025-09-06 15:55:13 +02:00
TODO staging: rtl8723bs: remove stale TODO item regarding %pM 2026-02-07 14:44:24 +01:00