CVE-2024-43842

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

30 Sep 2024, 13:55

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-129
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/7a0edc3d83aff3a48813d78c9cad9daf38decc74 - () https://git.kernel.org/stable/c/7a0edc3d83aff3a48813d78c9cad9daf38decc74 - Patch
References () https://git.kernel.org/stable/c/85099c7ce4f9e64c66aa397cd9a37473637ab891 - () https://git.kernel.org/stable/c/85099c7ce4f9e64c66aa397cd9a37473637ab891 - Patch
References () https://git.kernel.org/stable/c/96ae4de5bc4c8ba39fd072369398f59495b73f58 - () https://git.kernel.org/stable/c/96ae4de5bc4c8ba39fd072369398f59495b73f58 - Patch
References () https://git.kernel.org/stable/c/a2a095c08b95372d6d0c5819b77f071af5e75366 - () https://git.kernel.org/stable/c/a2a095c08b95372d6d0c5819b77f071af5e75366 - Patch

19 Aug 2024, 12:59

Type Values Removed Values Added
Summary
  • (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.

17 Aug 2024, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-17 10:15

Updated : 2024-09-30 13:55


NVD link : CVE-2024-43842

Mitre link : CVE-2024-43842

CVE.ORG link : CVE-2024-43842


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-129

Improper Validation of Array Index