wifi: mt76: validate WCID index before WTBL lookup
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- When a pair lookup fails (out-of-range or non-station WCID), also clear the carried wcid/sta/link_sta state so that subsequent non-pair MSDU and header entries in the same TX free event do not attribute statistics or pass a stale station pointer to mt76_connac2_txwi_free().
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wifi: mt76: mt7915: validate WCID index before WTBL lookupdrivers/ | +13 | 0 replies | |
| 2/2 | wifi: mt76: mt7996: validate WCID index before WTBL lookupdrivers/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH wireless v2 0/2] wifi: mt76: validate WCID index before WTBL lookup
Validate WCID indices from TX free events and TX status reports before WTBL lookups in mt7915 and mt7996, matching the bounds checks already present in mt7615/mt7921/mt7925 drivers.
Changes since v1:
- When a pair lookup fails (out-of-range or non-station WCID), also clear the carried wcid/sta/link_sta state so that subsequent non-pair MSDU and header entries in the same TX free event do not attribute statistics or pass a stale station pointer to mt76_connac2_txwi_free().
Joshua Klinesmith (2):
wifi: mt76: mt7915: validate WCID index before WTBL lookup
wifi: mt76: mt7996: validate WCID index before WTBL lookup
drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 14 +++++++++++++- drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 10 ++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0