Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 144c6cd24b3556e6e7a14271cee57a42ebf97450 before ad445de67359f24088d4305c05fbd7e34c4e35e3; affected 144c6cd24b3556e6e7a14271cee57a42ebf97450 before 920101305e7601a33b9e01019f4ca526af2526ae; affected 144c6cd24b3556e6e7a14271cee57a42ebf97450 before 6d88244bb129755acca696f9227200f4a2d106a6 |
| Linux / Linux | affected 6.14; unaffected 0 before 6.14; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ad445de67359f24088d4305c05fbd7e34c4e35e3
- https://git.kernel.org/stable/c/920101305e7601a33b9e01019f4ca526af2526ae
- https://git.kernel.org/stable/c/6d88244bb129755acca696f9227200f4a2d106a6
ADP enrichment
No English description supplied.
No references supplied.