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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e8c819df02436f2c2379766946735e1f06a7c923 to < c60af436ffb7b77226cfaa7cdb38282c2895ea03affectede8c819df02436f2c2379766946735e1f06a7c923 to < 51773d5196a0b85884ad245aa788370c4c8ac58daffected
Linux Linux
Default version status: affected
7.1affected0 to < 7.1unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected