diff options
| author | Jeff Johnson <[email protected]> | 2023-08-31 11:22:57 -0700 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2023-09-18 17:28:12 +0300 |
| commit | b7bcea9c27b3d87b54075735c870500123582145 (patch) | |
| tree | d7a5fb7e4b0120b6591e0f7b16f91c1c85ab185a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ddd7f45c899f7524bdbe6a32fe4906cde8b07b9b (diff) | |
wifi: cw1200: Avoid processing an invalid TIM IE
While converting struct ieee80211_tim_ie::virtual_map to be a flexible
array it was observed that the TIM IE processing in cw1200_rx_cb()
could potentially process a malformed IE in a manner that could result
in a buffer over-read. Add logic to verify that the TIM IE length is
large enough to hold a valid TIM payload before processing it.
Signed-off-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions