Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: fix out-of-bounds link array access in mt7996_tx() When mac80211 leaves the link unspecified, mt7996_tx() substitutes the primary link id of the station or vif. That value is IEEE80211_LINK_UNSPECIFIED (0xf) until the first link has been added, and it is then used unchecked to index vif->link_conf[], mvif->mt76.link[] and sta->link[], all of which hold IEEE80211_MLD_MAX_NUM_LINKS (15) entries. Clamp the primary link id to the default link before using it, and use the clamped value for the link_sta fallback as well.
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
1609b014aa29f9a2bf3aaa93f71de4a06725845e to < 637bb99cc766a858d744905e46638459ca128b6caffected1609b014aa29f9a2bf3aaa93f71de4a06725845e to < aff81505a84d27f83b4db8e039e813930cb23c2caffected1609b014aa29f9a2bf3aaa93f71de4a06725845e to < 4330a0ef9f75a54fde3548432a9a698f06bab635affected
Linux Linux
Default version status: affected
6.18affected0 to < 6.18unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected