Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected a9384b36a42afc2d715eb74c19a7ee558f09ef82 before 13f6a9c786022d5213e84d494cc8717c378f5395; affected a9384b36a42afc2d715eb74c19a7ee558f09ef82 before c1442c345ca8da857fadea1d0797b97347ab6984; affected a9384b36a42afc2d715eb74c19a7ee558f09ef82 before 9ba744a28c26eaa5cae930688a22e01888395308 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.