wifi: mt76: mt7921: fix potential deadlock in mt7921_roc_abort_sync
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.33, Kernel 7.0.10, Kernel 6.12.95 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7921: fix potential deadlock in mt7921_roc_abort_sync roc_abort_sync() can deadlock with roc_work(). roc_work() holds dev->mt76.mutex, while cancel_work_sync() waits for roc_work() to finish. If the caller already owns the same mutex, both sides block and no progress is possible. This deadlock can occur during station removal when mt76_sta_state() -> mt76_sta_remove() -> mt7921_mac_sta_remove() -> mt7921_roc_abort_sync() invokes cancel_work_sync() while roc_work() is still running and holding dev->mt76.mutex. This avoids the mutex deadlock and preserves exactly-once work ownership.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.33, >=6.19 <7.0.10, >=6.9 <6.12.95, >=352d966126e66d825244f1185eb9f2d904c83dd4 <91e77840bf13de3add125060cf8b32ca24a52c8c, >=352d966126e66d825244f1185eb9f2d904c83dd4 <b4faaa617af3f4173e64169b0ec1af8f9c5bca10, >=352d966126e66d825244f1185eb9f2d904c83dd4 <d5059e52fd8bc624ec4255c9fa01a266513d126b, =6.9, >=352d966126e66d825244f1185eb9f2d904c83dd4 <35180c772f5e11e2fa4d80d3dfd50906cb6d9646 | 6.18.33, 7.0.10, 6.12.95, 91e77840bf13de3add125060cf8b32ca24a52c8c, b4faaa617af3f4173e64169b0ec1af8f9c5bca10, d5059e52fd8bc624ec4255c9fa01a266513d126b, 35180c772f5e11e2fa4d80d3dfd50906cb6d9646 |
| linux-kernel: Kernel | >=6.13.0 <6.18.33, >=6.19.0 <7.0.10, >=6.9.0 <6.12.95 | 6.18.33, 7.0.10, 6.12.95 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket