CVE-2026-139497
publishedwifi: mt76: fix wcid teardown ordering in mt76_reset_device()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6d40c15d70c2dba2f68dd50e452255bfa1b016f0 to < caa6cabdc6058db7e0153b74bc9184f26797634a · 6826728f9fd7e7db57cd9647932eea47cbc645c6 to < ccc0d9b2594551c8b4db3c4a862820146327db0d · 065c79df595af21d6d1b27d642860faa1d938774 to < 043b145a5a18d47080334d2ed7fca8a1da2535a8 · 065c79df595af21d6d1b27d642860faa1d938774 to < 31302510436cf903fe32e28bb833b3ce1774e4bd · 065c79df595af21d6d1b27d642860faa1d938774 to < 5cebbd7a87df834efe002c8e54211e6adc99703a · 8fa8eb52bc2eb08d93202863b5fc478e0bebc00c · 6.6.160 to < 6.6.163 · 6.12.114 to < 6.12.119 · 6.16.6 to < 6.17 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6d40c15d70c2dba2f68dd50e452255bfa1b016f0 to < caa6cabdc6058db7e0153b74bc9184f26797634a (affected · git)6826728f9fd7e7db57cd9647932eea47cbc645c6 to < ccc0d9b2594551c8b4db3c4a862820146327db0d (affected · git)065c79df595af21d6d1b27d642860faa1d938774 to < 043b145a5a18d47080334d2ed7fca8a1da2535a8 (affected · git)065c79df595af21d6d1b27d642860faa1d938774 to < 31302510436cf903fe32e28bb833b3ce1774e4bd (affected · git)065c79df595af21d6d1b27d642860faa1d938774 to < 5cebbd7a87df834efe002c8e54211e6adc99703a (affected · git)8fa8eb52bc2eb08d93202863b5fc478e0bebc00c (affected · git)6.6.160 to < 6.6.163 (affected · semver)6.12.114 to < 6.12.119 (affected · semver)6.16.6 to < 6.17 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/043b145a5a18d47080334d2ed7fca8a1da2535a8
- https://git.kernel.org/stable/c/31302510436cf903fe32e28bb833b3ce1774e4bd
- https://git.kernel.org/stable/c/5cebbd7a87df834efe002c8e54211e6adc99703a
- https://git.kernel.org/stable/c/caa6cabdc6058db7e0153b74bc9184f26797634a
- https://git.kernel.org/stable/c/ccc0d9b2594551c8b4db3c4a862820146327db0d
Provider assertions
1Linux · cna
wifi: mt76: fix wcid teardown ordering in mt76_reset_device()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 906815c42f33be6458916b6e39a32667a2a27aa16d8e04938dac56ee1200137f
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record