summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMariano Baragiola <mbaragiola@linux.com>2026-07-28 16:26:10 -0300
committerJohannes Berg <johannes.berg@intel.com>2026-08-02 18:23:27 +0200
commit9d96e037ff90a2fc81a841b2002d500a5a4a5351 (patch)
tree7a30869d65c379388bc43b5266a2d7be53fc819a /tools/perf/scripts/python
parentfd2bf5e718108c00732eb07fd94a5d8830f62a9f (diff)
wifi: wilc1000: validate monitor transmit frame headers
wilc_wfi_mon_xmit() reads the radiotap length before ensuring that the fixed header is present. After stripping that header, it reads the frame type and all three 802.11 addresses without checking how much frame data remains. A truncated monitor injection can therefore cause out-of-bounds reads. Validate the radiotap header first, use the common 802.11 helper to check the variable header length, and require a complete three-address header before using the addresses. This covers QoS and four-address data headers while rejecting short control headers that this path cannot classify. Signed-off-by: Mariano Baragiola <mbaragiola@linux.com> Link: https://patch.msgid.link/20260728192610.2236361-1-mbaragiola@linux.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions