wifi: mt76: validate mt7996 MCU responses
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | wifi: mt76: mt7996: validate MCU response lengthsdrivers/ | +13 | 0 replies | |
| 2/7 | wifi: mt76: mt7996: bound IE countdown event parsingdrivers/ | +28 | 0 replies | |
| 3/7 | wifi: mt76: mt7996: validate EEPROM response lengthsdrivers/ | +28 | 0 replies | |
| 4/7 | wifi: mt76: mt7996: validate free-block response lengthdrivers/ | +4 | 0 replies | |
| 5/7 | wifi: mt76: mt7996: validate channel MIB response lengthdrivers/ | +4 | 0 replies | |
| 6/7 | wifi: mt76: mt7996: validate temperature response lengthdrivers/ | +4 | 0 replies | |
| 7/7 | wifi: mt76: mt7996: validate RF register response lengthdrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] wifi: mt76: validate mt7996 MCU responses
Several mt7996 MCU paths trust firmware response sizes before reading receive descriptors, fixed events, or variable data. The asynchronous IE countdown handler also walks firmware TLVs without bounding their lengths. Malformed responses can therefore cause out-of-bounds reads.
Validate fixed response fields and payloads, and constrain the IE countdown TLV walk to the skb.
Jiale Yao (7):
wifi: mt76: mt7996: validate MCU response lengths
wifi: mt76: mt7996: bound IE countdown event parsing
wifi: mt76: mt7996: validate EEPROM response lengths
wifi: mt76: mt7996: validate free-block response length
wifi: mt76: mt7996: validate channel MIB response length
wifi: mt76: mt7996: validate temperature response length
wifi: mt76: mt7996: validate RF register response length
.../net/wireless/mediatek/mt76/mt7996/mcu.c | 97 ++++++++++++++++--- 1 file changed, 85 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1