CVE-2026-138885: wifi: mt76: take rcu_read_lock in the USB/SDIO tx completion path
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: take rcureadlock in the USB/SDIO tx completion path
The USB and SDIO completion path reads a station pointer that RCU protects, without holding the read lock. Lockdep catches it on the first association:
mt76.h:1305 suspicious rcudereferencecheck() usage! no locks held by mt76-usb-status/1254. mt7925usbsdiotxcompleteskb+0x119/0x130 [mt7925common] mt76queuetxcomplete+0x27/0x60 [mt76] mt76ustatusworker+0xed/0x1e0 [mt76usb]
mt7925/mac.c:856 suspicious rcudereferencecheck() usage! mt7925txcheckaggr.part.0+0xc2/0xe0 [mt7925common] mt7925usbsdiotxcompleteskb+0xa0/0x130 [mt7925common]
mt7921 does the same, and warns once instead of twice because its aggregation check reads the default link directly. The DMA path makes the same reads but completes from softirq, so it stays quiet.
Take the read lock around the lookup and the check.
Tested on 7.2-rc5 with lockdep, fresh module load per arm, 4000 packets each and no change to the link:
splats before after MT7925 Netgear A9000 2 0 MT7921 Alfa 1 0 mt7921e same kernel 0 0
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the USB/SDIO TX completion path, hold the RCU read lock around the station-pointer lookup and aggregation check.