summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorTristan Madani <tristan@talencesecurity.com>2026-04-21 13:50:08 +0000
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-07-13 06:55:18 -0700
commit6b47b29730de3232b919d8362749f6814c5f2a33 (patch)
tree2e151cafd7b492e768f0133ede2f05fefd69ac15 /include/linux/timerqueue.h
parent3a21c89215cc18f1a97c5e5bfd1da6d4f3d44495 (diff)
wifi: ath6kl: fix OOB read from firmware IE lengths in connect event
The firmware-controlled beacon_ie_len, assoc_req_len, and assoc_resp_len fields in ath6kl_wmi_connect_event_rx() are not validated against the buffer length. Their sum (up to 765) can exceed the actual WMI event data, causing out-of-bounds reads during IE parsing and state corruption of wmi->is_wmm_enabled. Add a check that the total IE length fits within the buffer. Fixes: bdcd81707973 ("Add ath6kl cleaned up driver") Signed-off-by: Tristan Madani <tristan@talencesecurity.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20260421135009.348084-3-tristmd@gmail.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions