CVE-2023-52827 wifi: ath12k: fix possible out-of-bound read in ath12k_htt_pull_ppdu_stats()
An out-of-bounds read in the ath12k WiFi driver allows attackers to cause denial of service or disclose sensitive kernel memory.
- 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-2023-52827?
CVE-2023-52827 is a high-severity memory corruption vulnerability in Linux kernel, published on 21 May 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: ath12k: fix possible out-of-bound read in ath12k_htt_pull_ppdu_stats()
len is extracted from HTT message and could be an unexpected value in case errors happen, so add validation before using to avoid possible out-of-bound read in the following message iteration and parsing.
The same issue also applies to ppdu_info->ppdu_stats.common.num_users, so validate it before using too.
These are found during code review.
Compile test only.
Weakness: CWE-125
Which versions are affected by CVE-2023-52827?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52827?
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-2023-52827 being exploited?
There is no known exploitation of CVE-2023-52827 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-42234, BELL-CVE-2023-52827, DEBIAN-CVE-2023-52827, GHSA-29xq-869p-3chq, UBUNTU-CVE-2023-52827.