diff options
| author | Tristan Madani <tristan@talencesecurity.com> | 2026-04-21 16:50:18 +0300 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2026-06-06 18:46:28 +0300 |
| commit | b5e6f21923ca89d90256e7346301056f6502691e (patch) | |
| tree | 3f5ff9e93a3c33a2280cd0483b2da85994bae88f /tools/lib/python | |
| parent | df2187acfca6c6cca372c5d35f42394d9c270b09 (diff) | |
| download | linux-b5e6f21923ca89d90256e7346301056f6502691e.tar.xz | |
wifi: wcn36xx: fix OOB read from short trigger BA firmware response
The firmware response length is only checked against sizeof(*rsp) (20
bytes), but when candidate_cnt >= 1, a 22-byte candidate struct is read
at buf + 20 without verifying the response contains it. This causes an
out-of-bounds read of stale heap data, corrupting the BA session state.
Add validation that the response includes the candidate data.
Fixes: 16be1ac55944 ("wcn36xx: Parse trigger_ba response properly")
Signed-off-by: Tristan Madani <tristan@talencesecurity.com>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20260421135018.352774-4-tristmd@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
