diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-05 16:35:19 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-07-06 14:11:09 +0200 |
| commit | 74ed3669f26803b1761c1f55403062bea44c3466 (patch) | |
| tree | 3324e0f82c979c7fb1a1a9c1987d3247e7821211 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | d06a3e60c8fead962f08cf951eb1de7bd22dab76 (diff) | |
wifi: libipw: fix key index receive bound checks
libipw_rx() reads skb->data[hdrlen + 3] to extract the WEP key index in
both the software-decrypt key selection path and the hardware-decrypted
IV/ICV strip path. In both places the existing guard only checks
skb->len >= hdrlen + 3, which proves bytes up to hdrlen + 2 but not the
byte at hdrlen + 3.
Require hdrlen + 4 bytes before reading that item in both paths. This is
a local source-boundary check only; it does not change the key index
semantics.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260705083519.23567-1-pengpeng@iscas.ac.cn
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
