wifi: ath11k: fix potential buffer underflow in ath11k_hal_rx_msdu_list_get()
0Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Track
exploitation probability
—
observed exploitation
nono source reports it
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.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/69a6a4f60b2da92c0bdfd9264b8ffe053f51f52ahttps://git.kernel.org/stable/c/725c1c3a8c5d920a7d3f5887412f2ad8e95a74f5https://git.kernel.org/stable/c/7f11e70629650ff6ea140984e5ce188b775b2683https://git.kernel.org/stable/c/904367381a922aa2dc3e8bd2488e6c9180516c7ahttps://git.kernel.org/stable/c/a154ca3c441a67d36b3a9ea63a4f11b06abe6223