]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtl8xxxu: validate action frame size before using in rtl8xxxu_dump_action()
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 14 Apr 2026 06:22:27 +0000 (14:22 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 29 Apr 2026 03:00:08 +0000 (11:00 +0800)
commit26769329c40a4d7f443f22f526de19eeedea67a2
tree93904c7959f034c3c8f3178483ff923573a7554b
parent706183dbef4a79d120d4e928f693bea50df496f8
wifi: rtl8xxxu: validate action frame size before using in rtl8xxxu_dump_action()

The rtl8xxxu_dump_action() is to print action frames when turning on
debug mask. Validate the skb->len size to prevent potential broken in
monitor mode injection.

Compile tested only.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260414062229.21047-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtl8xxxu/core.c