CVE-2026-139485: wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup
mt7996unregisterdevice() leaves the RX NAPIs enabled, so mt76dmacleanup() deletes enabled NAPIs and destroys page pools that are still bound to them. On rmmod, the kernel warns in netifnapidellocked() for every RX queue and in pagepooldisabledirectrecycling(). Until the IRQ tasklet is disabled, an interrupt can still schedule a NAPI that was already deleted.
Disable every RX NAPI that was added before the MCU exit and the DMA cleanup. This includes the host RRO queues: mt76dmainit() skips them, but mt7996dmarrostart() adds their NAPIs later when WED is not active, so a check for mt76queueiswedrro() would miss them.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Disable the RX NAPIs before DMA cleanup in mt7996_unregister_device().