# CVE-2026-139497: wifi: mt76: fix wcid teardown ordering in mt76_reset_device()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:35:17.901Z
- Modified: 2026-11-30T14:19:24.690Z
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from 6d40c15d70c2dba2f68dd50e452255bfa1b016f0 before caa6cabdc6058db7e0153b74bc9184f26797634a; from 6826728f9fd7e7db57cd9647932eea47cbc645c6 before ccc0d9b2594551c8b4db3c4a862820146327db0d; from 065c79df595af21d6d1b27d642860faa1d938774 before 043b145a5a18d47080334d2ed7fca8a1da2535a8; from 065c79df595af21d6d1b27d642860faa1d938774 before 31302510436cf903fe32e28bb833b3ce1774e4bd; from 065c79df595af21d6d1b27d642860faa1d938774 before 5cebbd7a87df834efe002c8e54211e6adc99703a; 8fa8eb52bc2eb08d93202863b5fc478e0bebc00c; from 6.6.160 before 6.6.163; from 6.12.114 before 6.12.119; from 6.16.6 before 6.17; 6.17 (not affected: before 6.17; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-139497](https://www.cve.org/CVERecord?id=CVE-2026-139497), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139497](https://nvd.nist.gov/vuln/detail/CVE-2026-139497), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139497 · Whole record: https://cve.day/CVE-2026-139497.json · Rebuilt by cve.day 2026-11-30T14:33:03.881Z
