Linux
wifi: rtw89: add bounds check on firmware mac_id in link lookup
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 144c6cd24b3556e6e7a14271cee57a42ebf97450, < ad445de67359f24088d4305c05fbd7e34c4e35e3
- >= 144c6cd24b3556e6e7a14271cee57a42ebf97450, < 920101305e7601a33b9e01019f4ca526af2526ae
- >= 144c6cd24b3556e6e7a14271cee57a42ebf97450, < 6d88244bb129755acca696f9227200f4a2d106a6
Fixed in ad445de67359f24088d4305c05fbd7e34c4e35e3, 920101305e7601a33b9e01019f4ca526af2526ae, 6d88244bb129755acca696f9227200f4a2d106a6
- 6.14
Fixed in 0, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to ad445de67359f24088d4305c05fbd7e34c4e35e3 or 920101305e7601a33b9e01019f4ca526af2526ae or 6d88244bb129755acca696f9227200f4a2d106a6 or later.
Upgrade Linux to 0 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.