7.8high
wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before a2a095c08b95372d6d0c5819b77f071af5e75366, from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 7a0edc3d83aff3a48813d78c9cad9daf38decc74, from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 96ae4de5bc4c8ba39fd072369398f59495b73f58, from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 85099c7ce4f9e64c66aa397cd9a37473637ab891, 5.16 Not affected: before 5.16, from 6.1.103 up to 6.1.*, from 6.6.44 up to 6.6.*, from 6.10.3 up to 6.10.*, from 6.11 up to * | CVE List |
| linux linux_kernel | from 5.16 before 6.1.103, from 6.2 before 6.6.44, from 6.7 before 6.10.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: rtw89: corrige el error de índice de matriz en rtw89_sta_info_get_iter() En rtw89_sta_info_get_iter() 'status->he_gi' se compara con el tamaño de la matriz. Pero luego se usa 'rate->he_gi' como índice de matriz en lugar de 'status->he_gi'. Esto puede llevar a ir más allá de los límites de la matriz en caso de que 'rate->he_gi' no sea igual a 'status->he_gi' y sea mayor que el tamaño de la matriz. Parece un error de "copiar y pegar". Corrija este error reemplazando 'rate->he_gi' con 'status->he_gi'. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con SVACE.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43842 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-43842 changed 2026-06-17 | Public domain |