wifi: mt76: fix wcid teardown ordering in mt76_reset_device()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: fix wcid teardown ordering in mt76_reset_device()
mt76_reset_device() tears down each wcid's pktid idr before clearing dev->wcid[i], which is the reverse of the ordering used on the sta removal path. Until the pointer is cleared, a concurrent lookup under status_lock can still find the wcid and access its already destroyed idr.
Clear dev->wcid[i] before calling mt76_wcid_cleanup(), reproducing the ordering mac80211 already enforces for normal sta removal (where mt76_sta_pre_rcu_remove() clears dev->wcid[idx] before mt76_wcid_cleanup() runs via the .sta_state callback).
| Product | Versions |
|---|---|
| Linux Linux | 6d40c15d70c2dba2f68dd50e452255bfa1b016f0 to before caa6cabdc6058db7e0153b74bc9184f26797634a Affected6826728f9fd7e7db57cd9647932eea47cbc645c6 to before ccc0d9b2594551c8b4db3c4a862820146327db0d Affected065c79df595af21d6d1b27d642860faa1d938774 to before 043b145a5a18d47080334d2ed7fca8a1da2535a8 Affected065c79df595af21d6d1b27d642860faa1d938774 to before 31302510436cf903fe32e28bb833b3ce1774e4bd Affected065c79df595af21d6d1b27d642860faa1d938774 to before 5cebbd7a87df834efe002c8e54211e6adc99703a Affected8fa8eb52bc2eb08d93202863b5fc478e0bebc00c Affected6.6.160 to before 6.6.163 Affected6.12.114 to before 6.12.119 Affected6.16.6 to before 6.17 Affected |
| Linux Linux | 6.17 Affectedbefore 6.17 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/caa6cabdc6058db7e0153b74bc9184f26797634a
- https://git.kernel.org/stable/c/ccc0d9b2594551c8b4db3c4a862820146327db0d
- https://git.kernel.org/stable/c/043b145a5a18d47080334d2ed7fca8a1da2535a8
- https://git.kernel.org/stable/c/31302510436cf903fe32e28bb833b3ce1774e4bd
- https://git.kernel.org/stable/c/5cebbd7a87df834efe002c8e54211e6adc99703a
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.