CVE-2026-139487: wifi: mt76: mt7996: keep a returning link when adding station links fails
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: keep a returning link when adding station links fails
mt7996macstaaddlinks() removes all links that it was asked to add, with flush set, when one of them fails. A link that comes back after a removal kept its mstalink and may still have a firmware entry. The flush frees its mstalink and returns its WTBL index to wcidmask, so a later station can be given an index whose entry still belongs to this station.
Flush only the links that this call created, and remove a returning link again without flush.
Affected Software
Event History
Frequently Asked Questions
Which deployments are in scope?
The issue is in the Linux kernel's mt76 mt7996 Wi-Fi driver code. Systems not using that driver code are not indicated as affected by the provided information.
What runtime condition leads to the stale entry problem?
It occurs when adding station links fails after links were requested for addition, and a link returns after a removal. The returning link can retain its msta_link and firmware entry while its WTBL index is freed and later reassigned to another station.
What change addresses the issue?
The fix limits flushing to links created by the current call and removes a returning link again without flush. The provided stable references are commits 1001d260e2773ce7ce4d148d8aac34070fe4ef7c and 6541956cadc484eeed719e7a8e9e7d27e5900289.