CVE-2024-49931
JSON

7.8high

wifi: ath12k: fix array out-of-bound access in SoC stats

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix array out-of-bound access in SoC stats Currently, the ath12k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath12k_dp_rx_process() function access ath12k_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 ath12k_dp_rx_process() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Affected

Product or packageVersionsReported by
Linux Linuxfrom d889913205cf7ebda905b1e62c5867ed4e39f6c2 before d0e4274d9dc9f8409d56d622cd3ecf7b6fd49e2f, from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before a4aef827a41cdaf6201bbaf773c1eae4e20e967b, from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before ad791e3ec60cb66c1e4dc121ffbf872df312427d, from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before e106b7ad13c1d246adaa57df73edb8f8b8acb240, 6.3
Not affected: before 6.3, from 6.6.55 up to 6.6.*, from 6.10.14 up to 6.10.*, from 6.11.3 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelbefore 6.6.55, from 6.7 before 6.10.14, from 6.11 before 6.11.3NVD

Classification

CWE-129

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: ath12k: fix array out-of-bound access in SoC stats Currently, the ath12k_soc_dp_stats::hal_reo_error array is defined with a maximum size of DP_REO_DST_RING_MAX. However, the ath12k_dp_rx_process() function access ath12k_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 ath12k_dp_rx_process() to use the normal ring ID directly instead of the SRNG ring ID to avoid out-of-bounds array access. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: ath12k: arreglo de acceso fuera de los límites a la matriz en las estadísticas de SoC Actualmente, la matriz ath12k_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 ath12k_dp_rx_process() accede a ath12k_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 ath12k_dp_rx_process() 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: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

References

Sources

SourceRecordLicence
CVE ListCVE-2024-49931 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-49931 changed 2026-06-17Public domain