Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH mt76 0/3] wifi: mt76: bound the TXS walk by the head buffer in three drivers
@ 2026-12-02  1:01 Maoyi Xie
  2026-12-02  1:01 ` [PATCH mt76 1/3] wifi: mt76: mt7603: fix out-of-bounds read in mt7603_mac_add_txs Maoyi Xie
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maoyi Xie @ 2026-12-02  1:01 UTC (permalink / raw)
  To: Felix Fietkau, Lorenzo Bianconi, Ryder Lee
  Cc: Shayne Chen, Sean Wang, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-wireless, linux-arm-kernel,
	linux-mediatek

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-02  1:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02  1:01 [PATCH mt76 0/3] wifi: mt76: bound the TXS walk by the head buffer in three drivers Maoyi Xie
2026-12-02  1:01 ` [PATCH mt76 1/3] wifi: mt76: mt7603: fix out-of-bounds read in mt7603_mac_add_txs Maoyi Xie
2026-12-02  1:01 ` [PATCH mt76 2/3] wifi: mt76: mt7915: fix out-of-bounds read in mt7915_mac_add_txs Maoyi Xie
2026-12-02  1:01 ` [PATCH mt76 3/3] wifi: mt76: mt7996: fix out-of-bounds read in mt7996_mac_add_txs Maoyi Xie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox