wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7a0edc3d83aff3a48813d78c9cad9daf38decc74, Kernel 85099c7ce4f9e64c66aa397cd9a37473637ab891, Kernel 96ae4de5bc4c8ba39fd072369398f59495b73f58 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter() In rtw89_sta_info_get_iter() 'status->he_gi' is compared to array size. But then 'rate->he_gi' is used as array index instead of 'status->he_gi'. This can lead to go beyond array boundaries in case of 'rate->he_gi' is not equal to 'status->he_gi' and is bigger than array size. Looks like "copy-paste" mistake. Fix this mistake by replacing 'rate->he_gi' with 'status->he_gi'. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.16, >=e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd <7a0edc3d83aff3a48813d78c9cad9daf38decc74, >=e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd <85099c7ce4f9e64c66aa397cd9a37473637ab891, >=e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd <96ae4de5bc4c8ba39fd072369398f59495b73f58, >=e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd <a2a095c08b95372d6d0c5819b77f071af5e75366 | 7a0edc3d83aff3a48813d78c9cad9daf38decc74, 85099c7ce4f9e64c66aa397cd9a37473637ab891, 96ae4de5bc4c8ba39fd072369398f59495b73f58, a2a095c08b95372d6d0c5819b77f071af5e75366 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket