CVE-2024-49930

In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix array out-of-bound access in SoC stats Currently, the ath11k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath11k_dp_process_rx() function access ath11k_soc_dp_stats::hal_reo_error using the REO destination SRNG ring ID, which is incorrect. SRNG ring ID differ from normal ring ID, and this usage leads to out-of-bounds array access. To fix this issue, modify ath11k_dp_process_rx() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
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:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Oct 2024, 15:23

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/01b77f5ee11c89754fb836af8f76799d3b72ae2f - () https://git.kernel.org/stable/c/01b77f5ee11c89754fb836af8f76799d3b72ae2f - Patch
References () https://git.kernel.org/stable/c/0f26f26944035ec67546a944f182cbad6577a9c0 - () https://git.kernel.org/stable/c/0f26f26944035ec67546a944f182cbad6577a9c0 - Patch
References () https://git.kernel.org/stable/c/4dd732893bd38cec51f887244314e2b47f0d658f - () https://git.kernel.org/stable/c/4dd732893bd38cec51f887244314e2b47f0d658f - Patch
References () https://git.kernel.org/stable/c/6045ef5b4b00fee3629689f791992900a1c94009 - () https://git.kernel.org/stable/c/6045ef5b4b00fee3629689f791992900a1c94009 - Patch
References () https://git.kernel.org/stable/c/69f253e46af98af17e3efa3e5dfa72fcb7d1983d - () https://git.kernel.org/stable/c/69f253e46af98af17e3efa3e5dfa72fcb7d1983d - Patch
References () https://git.kernel.org/stable/c/73e235728e515faccc104b0153b47d0f263b3344 - () https://git.kernel.org/stable/c/73e235728e515faccc104b0153b47d0f263b3344 - Patch
References () https://git.kernel.org/stable/c/7a552bc2f3efe2aaf77a85cb34cdf4a63d81a1a7 - () https://git.kernel.org/stable/c/7a552bc2f3efe2aaf77a85cb34cdf4a63d81a1a7 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-129

23 Oct 2024, 15:13

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: ath11k: arreglo de acceso fuera de los límites a la matriz en las estadísticas de SoC Actualmente, la matriz ath11k_soc_dp_stats::hal_reo_error está definida con un tamaño máximo de DP_REO_DST_RING_MAX. Sin embargo, la función ath11k_dp_process_rx() accede a ath11k_soc_dp_stats::hal_reo_error utilizando el ID de anillo SRNG de destino REO, lo cual es incorrecto. El ID de anillo SRNG difiere del ID de anillo normal, y este uso conduce a un acceso a la matriz fuera de los límites. Para solucionar este problema, modifique ath11k_dp_process_rx() para utilizar el ID de anillo normal directamente en lugar del ID de anillo SRNG para evitar el acceso a la matriz fuera de los límites. Probado en: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1

21 Oct 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-21 18:15

Updated : 2024-10-25 15:23


NVD link : CVE-2024-49930

Mitre link : CVE-2024-49930

CVE.ORG link : CVE-2024-49930


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-129

Improper Validation of Array Index