CVE-2024-49930 wifi: ath11k: fix array out-of-bound access in SoC stats

High 8.8 Published Updated

An out-of-bounds array access in the ath11k WiFi driver can lead to memory corruption, potentially causing system crashes or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-49930?

CVE-2024-49930 is a high-severity memory corruption vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

Weakness: CWE-129

Which versions are affected by CVE-2024-49930?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-49930?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-49930 being exploited?

There is no known exploitation of CVE-2024-49930 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-51528, BELL-CVE-2024-49930, DEBIAN-CVE-2024-49930, GHSA-9354-rmch-rmj8, UBUNTU-CVE-2024-49930.

Is CVE-2024-49930 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free