CVE-2026-139489

wifi: mt76: mt7996: clear all link wcid entries in sta_pre_rcu_remove

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: mt76: mt7996: clear all link wcid entries in sta_pre_rcu_remove

mt76_sta_pre_rcu_remove() clears the wcid table entry of msta->deflink
only. mac80211 calls it before the synchronize_net() that ends the RCU
readers of the station, and frees the station right after
mt7996_mac_sta_remove(). For an MLD station, the wcid table entries of
the other links stay set until mt7996_mac_sta_remove(), after that
grace period. An RX or TX status reader that looks up one of these
entries in that window can follow msta_link->sta or def_wcid into the
freed station.

Clear the wcid table entries of all links of the station in
.sta_pre_rcu_remove.

Analysis

AI-generated

Technical impact

The Linux kernel’s mt76 Wi‑Fi driver for MT7996 devices contains a use‑after‑free flaw. During station removal, the driver clears only the default link’s wcid entry and leaves other link entries set until a later cleanup pass. A status reader that looks up a stale wcid can dereference memory belonging to a freed station structure, which may lead to arbitrary memory reads, writes or a kernel crash. This defect therefore offers an opportunity for an attacker to corrupt kernel memory or cause a denial of service.

Affected Systems

The issue resides in the mainline kernel code for the mt76 driver that supports MT7996 Wi‑Fi chips. Any Linux system that loads this driver – including consumer routers, embedded devices or desktop computers equipped with an MT7996 wireless interface – is affected. The advisory references kernel commit logs that document the bug.

Risk and Exploitability

No CVSS score is provided, but a use‑after‑free in kernel code can allow privilege escalation or system instability, so the potential impact is significant. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalogue. An attacker would likely need local access or could trigger the flaw by manipulating Wi‑Fi client connections; remote exploitation is less straightforward. Until a patch is applied, the risk is best assessed as moderate to high.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the mt76 driver patch which clears all wcid entries during station removal.
  • If an upgrade cannot be performed immediately, disable the mt76 driver (for example, with `rmmod mt76` or by blacklisting the module) or turn off the Wi‑Fi hardware to avoid using the vulnerable code path.
  • Maintain kernel hardening features such as stack protection and address space layout randomization, and monitor system logs for unexpected crashes or anomalous behavior.

Generated by OpenCVE AI on November 30, 2026 at 22:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: clear all link wcid entries in sta_pre_rcu_remove mt76_sta_pre_rcu_remove() clears the wcid table entry of msta->deflink only. mac80211 calls it before the synchronize_net() that ends the RCU readers of the station, and frees the station right after mt7996_mac_sta_remove(). For an MLD station, the wcid table entries of the other links stay set until mt7996_mac_sta_remove(), after that grace period. An RX or TX status reader that looks up one of these entries in that window can follow msta_link->sta or def_wcid into the freed station. Clear the wcid table entries of all links of the station in .sta_pre_rcu_remove.
Title wifi: mt76: mt7996: clear all link wcid entries in sta_pre_rcu_remove
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM