diff options
| author | 2026-09-21 23:41:18 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:35 +0300 | |
| commit | 90f99edd7169723d13aa67c3cc8e0baabd60f2e7 (patch) | |
| tree | 6d8dc25dde9a76decf09782226cbd5d43d557db3 /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: validate TLV length before reading fields (diff) | |
wifi: iwlwifi: pcie: validate txq_id in txq_disable
iwl_trans_pcie_txq_disable() computed SCD_TX_STTS_QUEUE_OFFSET(txq_id)
and dereferenced trans_pcie->txqs.txq[txq_id] before checking that
txq_id is within range or that the queue was allocated.
Bail out with a WARN_ON when txq_id is out of range or the queue is not
allocated, and only compute the status address after the checks pass.
We don't really want to disable the command queue either, so check that
as well.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20260921233730.c96ee7e007bc.Ie593dfd5451be69a5e6deca248a4b443e168ac88@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
