wifi: rtw89: add bounds check on firmware mac_id in link lookup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6d88244bb129755acca696f9227200f4a2d106a6, Kernel 920101305e7601a33b9e01019f4ca526af2526ae, Kernel ad445de67359f24088d4305c05fbd7e34c4e35e3 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: add bounds check on firmware mac_id in link lookup The mac_id field in RX descriptors is 8 bits wide (0-255), but assoc_link_on_macid[] has only RTW89_MAX_MAC_ID_NUM (128) entries. While the driver currently assigns mac_id values below 128, the descriptor value comes from firmware and is not validated before use as an array index. Add a defensive bounds check in rtw89_assoc_link_rcu_dereference() to guard against out-of-range firmware values.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=144c6cd24b3556e6e7a14271cee57a42ebf97450 <6d88244bb129755acca696f9227200f4a2d106a6, >=144c6cd24b3556e6e7a14271cee57a42ebf97450 <920101305e7601a33b9e01019f4ca526af2526ae, >=144c6cd24b3556e6e7a14271cee57a42ebf97450 <ad445de67359f24088d4305c05fbd7e34c4e35e3 | 6d88244bb129755acca696f9227200f4a2d106a6, 920101305e7601a33b9e01019f4ca526af2526ae, ad445de67359f24088d4305c05fbd7e34c4e35e3 |
| linux-kernel: Kernel | >=6.14.0 <6.18.40, >=6.19.0 <7.1.5 | 6.18.40, 7.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket