mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
wifi: rtlwifi: validate action frame size in rtl_action_proc()
Since action frames might be malformed from RX or injected TX, validate the size before using. More, use struct ieee80211_mgmt to access fields of action frames instead of counting barely. Tested with ping on RTL8723BE. The add BA request action frames of TX/RX can be handled properly. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260414062229.21047-3-pkshih@realtek.com
This commit is contained in:
parent
26769329c4
commit
c9f10419c3
1 changed files with 10 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue