linux/drivers/net/wireless/rsi
Pengpeng Hou 8ecdeb8b8a wifi: rsi: validate beacon length before fixed buffer copy
rsi_prepare_beacon() copies the mac80211 beacon frame after
FRAME_DESC_SZ into a management skb whose usable tailroom may be smaller
than MAX_MGMT_PKT_SIZE after alignment.

Validate the beacon length against the actual tailroom before the copy
and skb_put(). Leave ownership of the management skb with the caller on
error, matching the existing rsi_send_beacon() cleanup path.

Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260705084824.68105-1-pengpeng@iscas.ac.cn
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-07-06 14:11:09 +02:00
..
Kconfig
Makefile
rsi_91x_coex.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rsi_91x_core.c wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port 2022-11-08 09:41:02 +02:00
rsi_91x_debugfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rsi_91x_hal.c wifi: rsi: validate beacon length before fixed buffer copy 2026-07-06 14:11:09 +02:00
rsi_91x_mac80211.c wifi: rsi_91x_usb: do not pause rfkill polling when stopping mac80211 2026-03-19 09:07:16 +01:00
rsi_91x_main.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rsi_91x_mgmt.c wifi: rsi: bound background scan probe request copy 2026-07-06 14:11:08 +02:00
rsi_91x_ps.c
rsi_91x_sdio_ops.c wifi: rsi: rsi_91x_sdio_ops: Remove unnecessary (void*) conversions 2023-08-23 14:07:15 +03:00
rsi_91x_sdio.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rsi_91x_usb_ops.c wifi: rsi: rsi_91x_usb_ops: Remove unnecessary (void*) conversions 2023-08-23 14:07:16 +03:00
rsi_91x_usb.c wifi: rsi_91x_usb: do not pause rfkill polling when stopping mac80211 2026-03-19 09:07:16 +01:00
rsi_boot_params.h
rsi_coex.h
rsi_common.h wifi: rsi: fix kthread lifetime race between self-exit and external-stop 2026-04-28 10:40:52 +02:00
rsi_debugfs.h wifi: rsi: Remove an unused field in struct rsi_debugfs 2024-09-09 15:30:49 +03:00
rsi_hal.h wifi: rsi: Avoid defines prefixed with CONFIG 2023-02-13 19:24:10 +02:00
rsi_main.h rsi: fix rate mask set leading to P2P failure 2021-09-21 08:42:37 +03:00
rsi_mgmt.h
rsi_ps.h
rsi_sdio.h
rsi_usb.h rsi: Fix out-of-bounds read in rsi_read_pkt() 2021-11-29 12:43:54 +02:00