Bug 2320551 (CVE-2024-49931) - CVE-2024-49931 kernel: wifi: ath12k: fix array out-of-bound access in SoC stats
Summary: CVE-2024-49931 kernel: wifi: ath12k: fix array out-of-bound access in SoC stats
Keywords:
Status: NEW
Alias: CVE-2024-49931
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2321041
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:10 UTC by OSIDB Bzimport
Modified: 2024-10-22 19:22 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:10:11 UTC
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


Note You need to log in before you can comment on or make changes to this bug.