diff options
| author | Tristan Madani <tristmd@gmail.com> | 2026-10-28 01:26:20 +0000 |
|---|---|---|
| committer | Jeff Chen <jeff.chen_1@nxp.com> | 2026-11-03 13:52:25 +0800 |
| commit | bcc5bbaa6de61a0ccaa57228ca233b4390eca27e (patch) | |
| tree | ce5ab15400d90292ae34e79836f07b9aa749a004 /tools/perf/scripts/python/task-analyzer.py | |
| parent | f17e2eda1630ab375ac71a91252694a485addef7 (diff) | |
wifi: nxpwifi: validate scan response TLV sizes before indexed access
The scan response handler indexes into TSF and channel-band TLV arrays
using a loop counter derived from the number of BSS entries, but never
checks whether the TLV data is large enough. A firmware response with
fewer TLV entries than BSS entries leads to reads past the TLV buffer.
Add bounds checks that verify each indexed access falls within the
TLV's declared length before dereferencing.
Fixes: 73b01e57ed3e ("wifi: nxp: add nxpwifi driver for IW61x")
Cc: stable@vger.kernel.org
Signed-off-by: Tristan Madani <tristan@talencesecurity.com>
Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
