]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtlwifi: validate action frame size before using in _rtl_pci_tx_isr()
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 14 Apr 2026 06:22:29 +0000 (14:22 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 29 Apr 2026 03:01:06 +0000 (11:01 +0800)
commit043f09bb78ddb98dd5d587bf8fe4836daeb3a735
tree422e474f0a6fe0b565099328e8576144d4b93b2e
parentc9f10419c38ed619fadad7b8d72f05fca5b4ade8
wifi: rtlwifi: validate action frame size before using in _rtl_pci_tx_isr()

Since TX action frames might be malformed, validate the size before using.

Tested on RTL8723BE.

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