diff options
| author | Mariano Baragiola <mbaragiola@linux.com> | 2026-07-28 16:26:10 -0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-08-02 18:23:27 +0200 |
| commit | 9d96e037ff90a2fc81a841b2002d500a5a4a5351 (patch) | |
| tree | 7a30869d65c379388bc43b5266a2d7be53fc819a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | fd2bf5e718108c00732eb07fd94a5d8830f62a9f (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
