wifi: mt76: mt7996: hold dev->mt76.mutex while disabling tx worker in SER
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.114, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 27015b6fbcca836c6dbf196afc266e068af4aeec · fixed in bc4f4389f439e808185778d298da36976d13d415; From 27015b6fbcca836c6dbf196afc266e068af4aeec · fixed in 69f23622533a4f054b5c8fdb226c3319ffa017b6; From 27015b6fbcca836c6dbf196afc266e068af4aeec · fixed in 906ad486ba5c4933d82e1ebe0685656390a48450; From 27015b6fbcca836c6dbf196afc266e068af4aeec · fixed in 594c4b7f89f9ea75dc9c50b5e4c4296db4a3d701; From 27015b6fbcca836c6dbf196afc266e068af4aeec · fixed in 6190db312b8230813f529f014b26247c6d9800d0
- Linux Linux
6.4
- KernelLinux
From 6.4.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6