wifi: mt76: mt7996: do not reuse the deflink of a removed station link
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | e8c819df02436f2c2379766946735e1f06a7c923 to before c60af436ffb7b77226cfaa7cdb38282c2895ea03 Affectede8c819df02436f2c2379766946735e1f06a7c923 to before 51773d5196a0b85884ad245aa788370c4c8ac58d Affected |
| Linux Linux | 7.1 Affectedbefore 7.1 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.