wifi: ath12k: fix possible out-of-bound read in ath12k_htt_pull_ppdu_stats()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.5.136.6.36.7In 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.
From the CVE record · Linux
The Linux kernel’s ath12k Wi-Fi driver could read out of bounds when parsing an HTT message with an unexpected length or user count. The issue was found during code review and only compile-tested; the input does not establish how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with the ath12k Wi-Fi driver should check their kernel versions against the vendor advisory; affected versions are not specified.