wifi: mt76: mt7925: cancel mlo_pm_work on stop
- 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.15, 6.18.50, 7.2.4
- 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: mt7925: cancel mlo_pm_work on stop mt7925 queues mlo_pm_work with a 5 second delay during multi-link power-save setup and never cancels it on the stop path. If the device is torn down inside that window, the work outlives the teardown and its timer fires afterwards, trying to queue onto the workqueue that is already gone: workqueue: cannot queue mt7925_mlo_pm_work [mt7925_common] on wq phy0 WARNING: kernel/workqueue.c:2283 at __queue_work+0x59/0xa0, CPU#1: swapper/1/0 call_timer_fn+0x2a/0x140 __run_timers+0x203/0x330 run_timer_softirq+0x86/0xf0 mt7921 already has its own stop callback, so add one for mt7925 that cancels the work before calling mt792x_stop(). mt7925_ops backs both the PCIe and USB drivers, so this covers both.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 276a568832577c81ec90b62dc506bbdc3781ca46 · fixed in 304470333b7f525b23699ea7a7aed3b40ca37ca9; From 276a568832577c81ec90b62dc506bbdc3781ca46 · fixed in 9e20da749ad229a1aa649ece528721b9652f15e1; From 276a568832577c81ec90b62dc506bbdc3781ca46 · fixed in 81faf578320df2dfc682a96baa6e85851dd68b6f; From 6.14.3 · fixed in 6.15
- Linux Linux
6.15
- KernelLinux
From 6.15.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4