CVE-2026-90355: wifi: mt76: mt7996: clear stale link state on full reset
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: clear stale link state on full reset
After a full chip reset, mac80211 reconfig replays interface, link and channel context setup. mt7996_vif_link_add() short-circuits when the link_id is still marked in mvif->valid_links, a state introduced for postponing link teardown to interface removal. The reset path frees the link structures without clearing those bits, so the replayed setup never re-creates dev_info/bss_info/STA records in the restarted firmware and never re-registers the link wcid, leaving the device inoperative.
The reset path also leaks every allocated MLD index: per-link indices and the per-vif group/remap indices are re-allocated from scratch during reconfig, but the old bits stay set in the masks, so repeated full resets exhaust the index space.
Clear valid_links in the reset vif iterator and reset the MLD index masks alongside the existing omac_mask clearing.
The Linux kernel CVE team has assigned CVE-2026-90355 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit ace5d3b6b49e8391beb4d7244348ba7da5298878 and fixed in 7.2.6 with commit fc3762724a36867c1749233c43368c2637ecf029 Issue introduced in 6.18 with commit ace5d3b6b49e8391beb4d7244348ba7da5298878 and fixed in 7.3-rc1 with commit 75d2a4e2129b58bb0ddb842387299038495aad2a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90355
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/mediatek/mt76/mt7996/mac.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/fc3762724a36867c1749233c43368c2637ecf029 https://git.kernel.org/stable/c/75d2a4e2129b58bb0ddb842387299038495aad2a