Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: drop TXRX_NOTIFY on non-mmio buses PKT_TYPE_TXRX_NOTIFY is an mmio-only event, but mt7925_rx_check() and mt7925_queue_rx_skb() dispatch it to mt7925_mac_tx_free() on every bus. mt7925_mac_tx_free() cleans the DMA tx queues with mt76_queue_tx_cleanup(), which calls queue_ops->tx_cleanup(). Only the mmio queue ops implement that callback; on USB it is NULL, so a TXRX_NOTIFY there calls a NULL pointer in the RX worker: BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: 0010:0x0 Call Trace: mt7925_mac_tx_free+0x58/0x350 [mt7925_common] mt7925_rx_check+0xe2/0x130 [mt7925_common] mt76u_rx_worker+0x1b9/0x620 [mt76_usb] Drop the event on non-mmio buses via mt76_is_mmio(), as in commit 5683e1488aa9 ("wifi: mt76: connac: do not check WED status for non-mmio devices").
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c948b5da6bbec742b433138e3e3f9537a85af2e5 before 0c8c4cd0ca60b45c4b05a39e3769b8473d6836eb; affected c948b5da6bbec742b433138e3e3f9537a85af2e5 before 9cb72f67e1502aabba51aab9ac04ae7c386ee194; affected c948b5da6bbec742b433138e3e3f9537a85af2e5 before 9677e86a5f7d680fe280a5f8999bc57353e360d7; affected c948b5da6bbec742b433138e3e3f9537a85af2e5 before feeff151c83e7f0ffcdedcad5343852d23d1f6e1 |
| Linux / Linux | affected 6.7; unaffected 0 before 6.7; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.