Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: reject out-of-range link ids in mt76_vif_link() mt76_vif_link() indexes mvif->link[] without validating link_id, but callers pass mvif->deflink_id / msta->deflink_id, which hold IEEE80211_LINK_UNSPECIFIED (0xf) until the first link has been added. Since IEEE80211_MLD_MAX_NUM_LINKS is 15, that reads one element past the end of the array, aliasing mt76_vif_data.offchannel_link. Reachable via mt7996_set_tsf()/mt7996_offset_tsf() and mt7996_net_fill_forward_path(). Bounds check link_id and return NULL, matching mt7996_sta_link() and mt7996_sta_link_protected().
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
a9384b36a42afc2d715eb74c19a7ee558f09ef82 to < 13f6a9c786022d5213e84d494cc8717c378f5395affecteda9384b36a42afc2d715eb74c19a7ee558f09ef82 to < c1442c345ca8da857fadea1d0797b97347ab6984affecteda9384b36a42afc2d715eb74c19a7ee558f09ef82 to < 9ba744a28c26eaa5cae930688a22e01888395308affected
Linux Linux
Default version status: affected
6.15affected0 to < 6.15unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected