Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: clear all link wcid entries in sta_pre_rcu_remove mt76_sta_pre_rcu_remove() clears the wcid table entry of msta->deflink only. mac80211 calls it before the synchronize_net() that ends the RCU readers of the station, and frees the station right after mt7996_mac_sta_remove(). For an MLD station, the wcid table entries of the other links stay set until mt7996_mac_sta_remove(), after that grace period. An RX or TX status reader that looks up one of these entries in that window can follow msta_link->sta or def_wcid into the freed station. Clear the wcid table entries of all links of the station in .sta_pre_rcu_remove.
Affected products and versions
References
- git.kernel.org/stable/c/16356aa0cfbd2d8e2b126242bbc5b23a18769ba8
- git.kernel.org/stable/c/891d1ee5a602fc6cf819842a21ef01db34f2fc06
- git.kernel.org/stable/c/a53699a3d482a980efb016469b99ffac172280af
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.