aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-08-15 21:52:27 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-09-04 10:11:13 +0200
commit3687d7d48070838cc2953431b3a27717cab0aaf6 (patch)
tree7fcb2be8bdb320273743d12e95a0490b24002de8 /scripts/Makefile.thinlto
parentwifi: mwifiex: validate action frame fixed fields (diff)
wifi: mwifiex: validate scan response extents
mwifiex_ret_802_11_scan() subtracts the fixed response fields and the firmware-provided BSS length from resp->size without first proving that either extent fits. A short response or oversized BSS length can therefore underflow tlv_buf_size and make the TLV parser walk beyond the command response. Compute the fixed extent from the selected normal or background scan response. Validate that the fixed fields and BSS data fit before deriving the TLV extent and entering the parser. Fixes: 5e6e3a92b9a4 ("wireless: mwifiex: initial commit for Marvell mwifiex driver") Cc: stable@vger.kernel.org Assisted-by: Codex:gpt-5 Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Link: https://patch.msgid.link/20260815135227.50392-1-pengpeng@iscas.ac.cn Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions