wifi: mt76: bound the TXS walk by the head buffer in three drivers
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: mt7603: fix out-of-bounds read in mt7603_mac_add_txsdrivers/ | +1 | 0 replies | |
| 2/3 | wifi: mt76: mt7915: fix out-of-bounds read in mt7915_mac_add_txsdrivers/ | +1 | 0 replies | |
| 3/3 | wifi: mt76: mt7996: fix out-of-bounds read in mt7996_mac_add_txsdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH mt76 0/3] wifi: mt76: bound the TXS walk by the head buffer in three drivers
This is the same fix as the mt7921 and mt7925 patches at [1] and [2], for mt7603, mt7915 and mt7996.
Found with a CodeQL-based static analysis tool that we are developing. Each case was reproduced in a userspace harness under AddressSanitizer. Not tested on hardware. Compile-tested with W=1 on the mt76 tree.
I used an LLM to help write the harnesses and these patches.
[1] https://lore.kernel.org/linux-wireless/[email protected]/
[2] https://lore.kernel.org/linux-wireless/[email protected]/
Maoyi Xie (3):
wifi: mt76: mt7603: fix out-of-bounds read in mt7603_mac_add_txs
wifi: mt76: mt7915: fix out-of-bounds read in mt7915_mac_add_txs
wifi: mt76: mt7996: fix out-of-bounds read in mt7996_mac_add_txs
drivers/net/wireless/mediatek/mt76/mt7603/dma.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 2 +- drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1