Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: disable the RX NAPIs before the DMA cleanup mt7996_unregister_device() leaves the RX NAPIs enabled, so mt76_dma_cleanup() deletes enabled NAPIs and destroys page pools that are still bound to them. On rmmod, the kernel warns in __netif_napi_del_locked() for every RX queue and in page_pool_disable_direct_recycling(). 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: mt76_dma_init() skips them, but mt7996_dma_rro_start() adds their NAPIs later when WED is not active, so a check for mt76_queue_is_wed_rro() would miss them.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
98686cd21624c75a043e96812beadddf4f6f48e5 to < 5a1f0b14b5848fdb98f5247e136b856949a19ca9affected98686cd21624c75a043e96812beadddf4f6f48e5 to < 2444e9827eeda37d9adbe169478fcbf131ab12b9affected98686cd21624c75a043e96812beadddf4f6f48e5 to < f70275b7e45de9cf21e4de87e8405057ed6bcca9affected98686cd21624c75a043e96812beadddf4f6f48e5 to < 7a5a3843178c61d99d939b231318692d08fff79baffected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected