Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected eb99cc95c3b6513b495c4839ac4917206705f657 before 664f8bbc61e45e062679da512bf12f8f6fb26a1b; affected eb99cc95c3b6513b495c4839ac4917206705f657 before 1a099d630b8667fa622662b85e35a0ef659fb343; affected eb99cc95c3b6513b495c4839ac4917206705f657 before a0b3e8d8726c3830102a18946c766c94c953c7f2; affected eb99cc95c3b6513b495c4839ac4917206705f657 before f2a72f47c5fb4ba6887e85bbe809d7e5b318d9d5; affected eb99cc95c3b6513b495c4839ac4917206705f657 before 88c98ef247a3126fea9bbbda953a18a2f36c3ea7; affected eb99cc95c3b6513b495c4839ac4917206705f657 before ab4d213393e846baa6437497f94dda7553cbeda7; affected eb99cc95c3b6513b495c4839ac4917206705f657 before b2ab73b8123ce6cf2bc32634bfee4928676ffa66; affected eb99cc95c3b6513b495c4839ac4917206705f657 before 39afc46c0243d10b7795e6e6cf4ae91f41732120 |
| Linux / Linux | affected 5.8; unaffected 0 before 5.8; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; 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.
References
- https://git.kernel.org/stable/c/664f8bbc61e45e062679da512bf12f8f6fb26a1b
- https://git.kernel.org/stable/c/1a099d630b8667fa622662b85e35a0ef659fb343
- https://git.kernel.org/stable/c/a0b3e8d8726c3830102a18946c766c94c953c7f2
- https://git.kernel.org/stable/c/f2a72f47c5fb4ba6887e85bbe809d7e5b318d9d5
- https://git.kernel.org/stable/c/88c98ef247a3126fea9bbbda953a18a2f36c3ea7
- https://git.kernel.org/stable/c/ab4d213393e846baa6437497f94dda7553cbeda7
- https://git.kernel.org/stable/c/b2ab73b8123ce6cf2bc32634bfee4928676ffa66
- https://git.kernel.org/stable/c/39afc46c0243d10b7795e6e6cf4ae91f41732120