CVE-2026-139488

wifi: mt76: mt7996: do not reuse the deflink of a removed station link

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: do not reuse the deflink of a removed station link

mt7996_mac_sta_init_link() puts a new link in msta->deflink whenever
the station has no primary link. A removed link keeps its msta_link
until the station is removed, and the station has no primary link
after one mt7996_mac_sta_change_links() call removes all of its links
and adds others. If the removed
primary link was in msta->deflink, the new link then overwrites it:
both link slots point to the same msta_link, and the WTBL index of the
removed link is lost, so mt7996_mac_sta_remove() never returns it to
wcid_mask.

Use msta->deflink only if no link slot of the station points to it,
and allocate the msta_link otherwise. Choose the primary link as
before.

Analysis

AI-generated

Technical impact

The flaw occurs in the mt76 driver for mt7996 when a station link is removed and the definition link (deflink) is not properly reset. The driver keeps the removed link’s data until the station is removed, then replaces deflink with a new link, so two link slots point to the same structure and the WTBL index of the removed link is lost. Because the cleanup function never returns that index to the wcid_mask, the driver can leak a resource or become inconsistent, potentially leading to a denial‑of‑service condition or further memory corruption. This is a logic error that corrupts the internal state of the Wi‑Fi driver.

Affected Systems

The vulnerability affects the Linux kernel, specifically the mt76 network driver that supports the MediaTek mt7996 wireless chipset. Any Linux system running a kernel that contains this driver before the patch (commits 51773d5196a0b85884ad245aa788370c4c8ac58d and c60af436ffb7b77226cfaa7cdb38282c2895ea03) is impacted. The issue is limited to the Wi‑Fi driver, so only systems that load this driver are at risk.

Risk and Exploitability

No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it has not been publicly exploited yet. The CVSS score is not supplied, so the inherent severity cannot be quantified. The attack vector is inferred to be local to the device or via traffic directed to the wireless interface, as the flaw operates entirely within the kernel driver handling station links. The lack of an official solution means that the risk remains until the driver is updated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the mt76 driver patch (commits 51773d5196a0b85884ad245aa788370c4c8ac58d or c60af436ffb7b77226cfaa7cdb38282c2895ea03).
  • Reboot after applying the update so the new kernel becomes active.
  • If an upgrade cannot be performed immediately, consider disabling or unloading the mt76 module on systems that do not require Wi‑Fi, or using a more recent kernel from the distribution’s release candidate.

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-582
CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: do not reuse the deflink of a removed station link mt7996_mac_sta_init_link() puts a new link in msta->deflink whenever the station has no primary link. A removed link keeps its msta_link until the station is removed, and the station has no primary link after one mt7996_mac_sta_change_links() call removes all of its links and adds others. If the removed primary link was in msta->deflink, the new link then overwrites it: both link slots point to the same msta_link, and the WTBL index of the removed link is lost, so mt7996_mac_sta_remove() never returns it to wcid_mask. Use msta->deflink only if no link slot of the station points to it, and allocate the msta_link otherwise. Choose the primary link as before.
Title wifi: mt76: mt7996: do not reuse the deflink of a removed station link
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-582

    Array Declared Public, Final, and Static

  • CWE-665

    Improper Initialization

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