CVE-2026-139486: wifi: mt76: mt7996: add the station BMC entry as new once per BSSID
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: add the station BMC entry as new once per BSSID
A station link sends its broadcast STAREC with EXTRAINFONEW on every BSSCHANGEDBSSID. Commit 8e3e7567b8c1 ("mt76: mt7915: add starec with EXTRAINFONEW for the first time only") notes that the firmware may remove an entry that is added as new twice. Since a removed vif link keeps its firmware entry, this happens on a link that is deactivated and activated again: ieee80211setactivelinks() reports BSSCHANGEDBSSID with the same BSSID, after ieee80211keyswitchlinks() has installed the group keys of the link, and nothing in the driver installs them again after the entry is added as new.
Record the BSSID the entry was added with, and add it as new only for a different BSSID. A BSSID that goes to zero on disconnection clears the record, so that the next association adds the entry as new again. A link that is set up clears the record as well, since the firmware has no entry for it then.
Affected Software
Event History
Frequently Asked Questions
Which link lifecycle is affected?
The issue occurs when a vif link is deactivated and then activated again while retaining the same BSSID. In that sequence, the firmware entry can be added as new a second time after the link's group keys have already been installed.
What is the operational impact of adding the entry as new twice?
The firmware may remove an entry that is added as new twice. Because the driver does not reinstall the group keys after that second addition, the reactivated link can be left without the expected key installation.
When should the driver add the station entry as new?
It should do so only when the BSSID differs from the BSSID previously recorded for that entry. The recorded BSSID is cleared on disconnection when it becomes zero, and when a link is set up because the firmware has no entry at that point.