wifi: mt76: mt7615: drop TXRX_NOTIFY on non-mmio buses
0Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Track
exploitation probability
—
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7615: drop TXRX_NOTIFY on non-mmio buses
PKT_TYPE_TXRX_NOTIFY is an mmio-only event, but mt7615_rx_check() and
mt7615_queue_rx_skb() dispatch it to mt7615_mac_tx_free() on every bus.
mt7615_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 the mt7663 USB and SDIO
buses it is NULL, so a TXRX_NOTIFY there calls a NULL pointer in the RX
worker. Same defect as the mt7921 and mt7925 patches in this series.
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 products
Linux · LinuxReferences
https://git.kernel.org/stable/c/39afc46c0243d10b7795e6e6cf4ae91f41732120https://git.kernel.org/stable/c/88c98ef247a3126fea9bbbda953a18a2f36c3ea7https://git.kernel.org/stable/c/ab4d213393e846baa6437497f94dda7553cbeda7https://git.kernel.org/stable/c/b2ab73b8123ce6cf2bc32634bfee4928676ffa66https://git.kernel.org/stable/c/f2a72f47c5fb4ba6887e85bbe809d7e5b318d9d5