Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: hold dev->mt76.mutex while disabling tx worker in SER mt7996_mac_reset_work() parked the tx worker and disabled the RX/TX NAPIs before taking dev->mt76.mutex. mt76_worker_disable()/_enable() are plain kthread park/unpark, not refcounted, and __mt76_set_channel() toggles the same worker and the MT76_RESET bit under the mutex. An L1 SER racing a channel switch could therefore have the worker unparked and MT76_RESET cleared while the reset path resets the DMA rings, corrupting descriptors or tokens. Take the mutex before disabling the worker, as mt7915 does.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 27015b6fbcca836c6dbf196afc266e068af4aeec before bc4f4389f439e808185778d298da36976d13d415; affected 27015b6fbcca836c6dbf196afc266e068af4aeec before 69f23622533a4f054b5c8fdb226c3319ffa017b6; affected 27015b6fbcca836c6dbf196afc266e068af4aeec before 906ad486ba5c4933d82e1ebe0685656390a48450; affected 27015b6fbcca836c6dbf196afc266e068af4aeec before 594c4b7f89f9ea75dc9c50b5e4c4296db4a3d701; affected 27015b6fbcca836c6dbf196afc266e068af4aeec before 6190db312b8230813f529f014b26247c6d9800d0 |
| Linux / Linux | affected 6.4; unaffected 0 before 6.4; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bc4f4389f439e808185778d298da36976d13d415
- https://git.kernel.org/stable/c/69f23622533a4f054b5c8fdb226c3319ffa017b6
- https://git.kernel.org/stable/c/906ad486ba5c4933d82e1ebe0685656390a48450
- https://git.kernel.org/stable/c/594c4b7f89f9ea75dc9c50b5e4c4296db4a3d701
- https://git.kernel.org/stable/c/6190db312b8230813f529f014b26247c6d9800d0