wifi: mt76: reject out-of-range link ids in mt76_vif_link()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 13f6a9c786022d5213e84d494cc8717c378f5395, Kernel 9ba744a28c26eaa5cae930688a22e01888395308, Kernel c1442c345ca8da857fadea1d0797b97347ab6984 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.15, >=a9384b36a42afc2d715eb74c19a7ee558f09ef82 <13f6a9c786022d5213e84d494cc8717c378f5395, >=a9384b36a42afc2d715eb74c19a7ee558f09ef82 <9ba744a28c26eaa5cae930688a22e01888395308, >=a9384b36a42afc2d715eb74c19a7ee558f09ef82 <c1442c345ca8da857fadea1d0797b97347ab6984 | 13f6a9c786022d5213e84d494cc8717c378f5395, 9ba744a28c26eaa5cae930688a22e01888395308, c1442c345ca8da857fadea1d0797b97347ab6984 |
| linux-kernel: Kernel | >=6.15.0 <6.18.52, >=6.19.0 <7.2.6 | 6.18.52, 7.2.6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket