wifi: ath11k: fix potential buffer underflow in ath11k_hal_rx_msdu_list_get()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d5c65159f2895379e11ca13f62feabe93278985d · < a154ca3c441a67d36b3a9ea63a4f11b06abe6223| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: fix potential buffer underflow in ath11k_hal_rx_msdu_list_get()
When the first entry in msdu_details has a zero buffer address, the code accesses msdu_details[i - 1] with i == 0, causing a buffer underflow.
Fix similarly to ath12k_wifi7_hal_rx_msdu_list_get() by adding a separate check for i == 0 before the main condition to prevent the out-of-bounds access.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The ath11k Wi-Fi driver can access memory before the msdu_details buffer when its first entry has a zero buffer address. The input does not establish whether an attacker can trigger this condition, or whether doing so requires network access, authentication, or user interaction.
Engineers running Linux kernels that include the ath11k Wi-Fi driver should check their kernel version; affected versions are not specified.