kernel_samsung_a53x/drivers/net/wireless/st/cw1200
Jeff Johnson 045e1a3f2e wifi: cw1200: Avoid processing an invalid TIM IE
[ Upstream commit b7bcea9c27b3d87b54075735c870500123582145 ]

While converting struct ieee80211_tim_ie::virtual_map to be a flexible
array it was observed that the TIM IE processing in cw1200_rx_cb()
could potentially process a malformed IE in a manner that could result
in a buffer over-read. Add logic to verify that the TIM IE length is
large enough to hold a valid TIM payload before processing it.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230831-ieee80211_tim_ie-v3-1-e10ff584ab5d@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:44 +01:00
..
bh.c wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
bh.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cw1200.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cw1200_sdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cw1200_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fwio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fwio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwbus.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
queue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
queue.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scan.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sta.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sta.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
txrx.c wifi: cw1200: Avoid processing an invalid TIM IE 2024-11-23 23:20:44 +01:00
txrx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wsm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wsm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00