]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: fix possible out-of-bound access in mt7615_fill_txs/mt7603_fill_txs
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 6 Nov 2019 23:01:58 +0000 (01:01 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Nov 2019 12:23:51 +0000 (13:23 +0100)
commite8b970c8e367e85fab9b8ac4f36080e5d653c38e
tree66dacf749364f5e28b7b0d20b2f6c048015bde8d
parent45876d6ebbd26d2df178d1d5410642e73a289f67
mt76: fix possible out-of-bound access in mt7615_fill_txs/mt7603_fill_txs

Fix possible out-of-bound access of status rates array in
mt7615_fill_txs/mt7603_fill_txs routines

Fixes: c5211e997eca ("mt76: mt7603: rework and fix tx status reporting")
Fixes: 4af81f02b49c ("mt76: mt7615: sync with mt7603 rate control changes")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/mac.c
drivers/net/wireless/mediatek/mt76/mt7615/mac.c