[PATCH mt76 0/3] wifi: mt76: bound the TXS walk by the head buffer in three drivers
Maoyi Xie
maoyixie.tju at gmail.com
Tue Dec 1 17:01:27 PST 2026
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/20261129193131.3367661-17-nbd@nbd.name/
[2] https://lore.kernel.org/linux-wireless/20261129193131.3367661-18-nbd@nbd.name/
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(-)
--
2.34.1
More information about the linux-arm-kernel
mailing list