wifi: iwlwifi: validate more indices from the firmware
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | wifi: iwlwifi: mvm: validate TID in TX response handlersdrivers/ | +7 | 0 replies | |
| 2/4 | wifi: iwlwifi: mvm: validate BAID in the RX pathdrivers/ | +8 | 0 replies | |
| 3/4 | wifi: iwlwifi: mld: validate BAID in the RX timestamp updatedrivers/ | +4 | 0 replies | |
| 4/4 | wifi: iwlwifi: pcie: validate txq_id in reclaimdrivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iwlwifi-next 0/4] wifi: iwlwifi: validate more indices from the firmware
These patches add range checks for a TID, a BAID and a TX queue number that the firmware reports. Other code paths already have these checks. The patches are independent.
The missing checks were found with a CodeQL-based static analysis tool that we are developing. Each out-of-range access was reproduced in a userspace harness under sanitizers, which report nothing with the patches. Nothing was tested on hardware. The patches were compile-tested with W=1 on next-20261116.
I used an LLM to help write the harnesses and these patches.
Maoyi Xie (4):
wifi: iwlwifi: mvm: validate TID in TX response handlers
wifi: iwlwifi: mvm: validate BAID in the RX path
wifi: iwlwifi: mld: validate BAID in the RX timestamp update
wifi: iwlwifi: pcie: validate txq_id in reclaim
drivers/net/wireless/intel/iwlwifi/mld/rx.c | 4 ++++ drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 8 ++++++++ drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 8 +++++++- drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 9 ++++++++- 4 files changed, 27 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1