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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

mt76resetdevice() 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 statuslock can still find the wcid and access its already destroyed idr.

Clear dev->wcid[i] before calling mt76wcidcleanup(), reproducing the ordering mac80211 already enforces for normal sta removal (where mt76staprercuremove() clears dev->wcid[idx] before mt76wcidcleanup() runs via the .stastate callback).

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.6.160<6.6.163
6.6.163
linux/kernel>=6.12.114<6.12.119
6.12.119
linux/kernel>=6.16.6<6.17
6.17
linux/kernel>=6.17.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.17
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  6. Compensating control

    In mt76_reset_device(), clear dev->wcid[i] before calling mt76_wcid_cleanup() to prevent concurrent lookups from finding a wcid whose pktid idr has already been destroyed.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description
Data Sourced
via OSV·01:35 PM
DescriptionAffected Software
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel mt76 Wi-Fi driver are exposed when the affected device-reset path can run. The issue concerns teardown of wireless client identifiers during mt76_reset_device().

2

What condition is required to trigger the vulnerability?

A device reset must overlap with a concurrent lookup performed under status_lock. The lookup can find a WCID entry that has not yet been cleared and access its packet-ID IDR after that IDR has already been destroyed.

3

Are systems using normal station removal affected in the same way?

The description identifies the reset path as using incorrect ordering. Normal station removal already clears the dev->wcid entry before mt76_wcid_cleanup() runs, preventing the stale lookup condition described.

4

What is the relevant mitigation if an update cannot be applied immediately?

No workaround is provided. Risk reduction would require avoiding or limiting conditions that cause mt76 device resets, but the supplied information does not identify a specific safe configuration change.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203