summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorTristan Madani <tristan@talencesecurity.com>2026-06-25 23:29:07 +0000
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-07-13 06:55:18 -0700
commit3a21c89215cc18f1a97c5e5bfd1da6d4f3d44495 (patch)
treef62686c3e7ad8495dc0d5555f8920a40138166cb /include/linux/debugobjects.h
parent44126b6994eeb28f2103b638e698f40a1244f327 (diff)
wifi: ath6kl: fix OOB read from firmware num_msg in TX complete handler
The firmware-controlled num_msg field (u8, 0-255) drives the loop in ath6kl_wmi_tx_complete_event_rx() without validation against the buffer length. This allows out-of-bounds reads of up to 1020 bytes past the WMI event buffer when the firmware sends an inflated num_msg. Add a check that the buffer is large enough to hold the fixed struct and the num_msg variable-length entries. Fixes: bdcd81707973 ("Add ath6kl cleaned up driver") Signed-off-by: Tristan Madani <tristan@talencesecurity.com> Link: https://patch.msgid.link/20260625232907.3620746-1-tristmd@gmail.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions