diff options
| author | Yehyeong Lee <yhlee@isslab.korea.ac.kr> | 2026-10-20 09:50:25 +0900 |
|---|---|---|
| committer | Jeff Chen <jeff.chen_1@nxp.com> | 2026-11-03 11:05:53 +0800 |
| commit | 6a5cf549f4dcbd502db8cd00c5f49d20a2b9648f (patch) | |
| tree | b230c9d427024e97ad96f3184e4ab976e3a31efa /tools/perf/scripts/python/flamegraph.py | |
| parent | d9dca24659face4c97e466bfe11a44dedc2169e9 (diff) | |
wifi: nxpwifi: guard the 11ax response handlers against a detached command buffer
nxpwifi_wait_queue_complete() clears curr_cmd->data_buf when a
synchronous command is interrupted, but nxpwifi_process_cmdresp() still
hands that field to the response handler. The three handlers in 11ax.c
store through it without checking, so a late response oopses.
Check the buffer first and return 0 when it is NULL, as the sta_cmd.c
handlers that commit 068986fd6f2a5 ("wifi: nxpwifi: detach sync command
buffer on interrupted wait") covers already do.
This is a local denial of service: it needs an interrupted synchronous
command and a late response, both on the local host.
Fixes: 73b01e57ed3e ("wifi: nxp: add nxpwifi driver for IW61x")
Cc: stable@vger.kernel.org
Signed-off-by: Yehyeong Lee <yhlee@isslab.korea.ac.kr>
Reviewed-by: Jeff Chen <jeff.chen_1@nxp.com>
Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
