CVE-2026-139496: wifi: mt76: mt792x: defer the MCU shutdown past unregister on USB
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt792x: defer the MCU shutdown past unregister on USB
The USB disconnect path abandons the MCU before it unregisters, so the teardown commands that follow cannot be answered. The response parser reads the silence as a timeout and starts a chip reset for each one, queueing the work that was cancelled nine lines earlier and reloading firmware onto a device being removed.
Shut the MCU down after unregister instead. MT7921AU on a Pi 5, eight unload cycles per arm:
unload 5.67 s -> 2.81 s MCU timeouts 8 -> 0 reset queued 8/8 -> 0/8
Deauthorizing the port with the link up, to cover a surprise removal, goes from 3.21 s to 0.33 s.
Affected Software
Event History
Frequently Asked Questions
Which systems are affected by this teardown issue?
The issue is described for the mt76 mt792x USB disconnect path, with MT7921AU specifically used in testing. Systems using a USB-connected device handled by this path are the relevant exposure population.
When does the problem occur?
It occurs during USB device disconnect or driver unload, including surprise removal scenarios such as deauthorizing the USB port while the link remains up. The premature MCU shutdown prevents later teardown commands from receiving responses.
What are the observable effects?
The response parser treats missing MCU responses as timeouts and queues chip-reset work that had just been cancelled. This can cause firmware reload attempts while the USB device is being removed and substantially slower unload or removal handling.
What change resolves the issue?
The resolved implementation defers MCU shutdown until after unregister, allowing teardown commands to complete before the MCU is stopped. The reported test results show MCU timeouts and queued resets dropping to zero after this change.