Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to < a2a095c08b95372d6d0c5819b77f071af5e75366affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to < 7a0edc3d83aff3a48813d78c9cad9daf38decc74affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to < 96ae4de5bc4c8ba39fd072369398f59495b73f58affectede3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd to < 85099c7ce4f9e64c66aa397cd9a37473637ab891affected
Linux Linux
Default version status: affected
5.16affected0 to < 5.16unaffected6.1.103 to ≤ 6.1.*unaffected6.6.44 to ≤ 6.6.*unaffected6.10.3 to ≤ 6.10.*unaffected6.11 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a2a095c08b95372d6d0c5819b77f071af5e75366 ↗
- https://git.kernel.org/stable/c/7a0edc3d83aff3a48813d78c9cad9daf38decc74 ↗
- https://git.kernel.org/stable/c/96ae4de5bc4c8ba39fd072369398f59495b73f58 ↗
- https://git.kernel.org/stable/c/85099c7ce4f9e64c66aa397cd9a37473637ab891 ↗
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html ↗