1. Home
  2. Vulnerabilities
  3. CVE-2026-139497

CVE-2026-139497

wifi: mt76: fix wcid teardown ordering in mt76_reset_device()

Published 30 Nov 2026 · modified 30 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 13/100

Summary

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

Affected products and versions

Linux (4 line(s))
Linux
ProductVersionsFixed inSource
Linux from 6.6.160 (included) to 6.6.163 (excluded) — CNA (vendor or assigner)
Linux from 6.12.114 (included) to 6.12.119 (excluded) — CNA (vendor or assigner)
Linux from 6.16.6 (included) to 6.17 (excluded) — CNA (vendor or assigner)
Linux 6.17 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)

How this data is obtained and calculated