[PATCH 0/2] wifi: mt76: mt7615: fix RX parsing on the USB transport

From: YuanZhe Liu

Date: Mon Nov 16 2026 - 06:51:12 EST


Two independent fixes for the mt7615 RX path:

- mt7615_queue_rx_skb() walks the TXS entries up to skb->len, which
describes the whole packet including paged fragments. Frames
delivered by the USB transport can be fragmented, so the parser can
run past the linear part of the skb and read outside of the skb head
allocation.

- mt7615_get_status_freq_info() dereferences the configured channel
although received frames may be processed before mac80211 assigned
one, which crashes with a NULL pointer dereference.

An equivalent fix for the first issue in mt7925 was posted separately.


YuanZhe Liu (2):
wifi: mt76: mt7615: fix out-of-bounds read in mt7615_mac_add_txs
wifi: mt76: mt7615: fix NULL pointer dereference in
mt7615_get_status_freq_info

drivers/net/wireless/mediatek/mt76/mt7615/mac.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

--
2.34.1