CVE-2026-139489: wifi: mt76: mt7996: clear all link wcid entries in sta_pre_rcu_remove
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: clear all link wcid entries in staprercuremove
mt76staprercuremove() clears the wcid table entry of msta->deflink only. mac80211 calls it before the synchronizenet() that ends the RCU readers of the station, and frees the station right after mt7996macstaremove(). For an MLD station, the wcid table entries of the other links stay set until mt7996macstaremove(), after that grace period. An RX or TX status reader that looks up one of these entries in that window can follow mstalink->sta or defwcid into the freed station.
Clear the wcid table entries of all links of the station in .staprercuremove.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue is relevant to Linux kernel systems using the mt76 mt7996 Wi-Fi driver with MLD stations. It occurs during station removal when WCID entries for non-default links remain available after the station can be freed.
What concurrent activity is required for the use-after-free condition?
An RX or TX status reader must look up a remaining WCID entry in the interval after the station’s RCU readers have been synchronized but before mt7996_mac_sta_remove() clears the other link entries. That lookup can follow pointers into the freed station.