wifi: mt76: validate mt792x firmware TLV payloads
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | wifi: mt76: mt7921: validate NIC capability payload lengthsdrivers/ | +33 | 0 replies | |
| 2/3 | wifi: mt76: mt7925: validate debug message lengthsdrivers/ | +22 | 0 replies | |
| 3/3 | wifi: mt76: mt7925: validate NIC capability payload lengthsdrivers/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] wifi: mt76: validate mt792x firmware TLV payloads
The mt7921 and mt7925 firmware event parsers validate some outer skb lengths, but several paths still trust type-specific lengths before reading fixed fields. Malformed responses can make the drivers read past a TLV payload, and a zero-length mt7925 capability TLV can stop progress through the response.
Validate the fixed and type-specific payload extents before consuming NIC capability and debug message data. Each patch covers one independent parser and can be applied separately.
Jiale Yao (3):
wifi: mt76: mt7921: validate NIC capability payload lengths
wifi: mt76: mt7925: validate debug message lengths
wifi: mt76: mt7925: validate NIC capability payload lengths
.../net/wireless/mediatek/mt76/mt7921/mcu.c | 41 +++++++++--- .../net/wireless/mediatek/mt76/mt7925/mcu.c | 67 ++++++++++++++++--- 2 files changed, 90 insertions(+), 18 deletions(-)
Signature · 1 line
2.34.1