ath11k: fix missing skb drop on htc_tx_completion error
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 |
|
|
5.18.185.19.26.0In the Linux kernel, the following vulnerability has been resolved:
ath11k: fix missing skb drop on htc_tx_completion error
On htc_tx_completion error the skb is not dropped. This is wrong since the completion_handler logic expect the skb to be consumed anyway even when an error is triggered. Not freeing the skb on error is a memory leak since the skb won't be freed anywere else. Correctly free the packet on eid >= ATH11K_HTC_EP_COUNT before returning.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1
From the CVE record · Linux
The Linux kernel’s ath11k driver fails to free a packet when HTC transmit completion encounters an error, causing a memory leak. The input does not establish whether an attacker can trigger the error or specify network, authentication, or user-interaction conditions.
Engineers running Linux kernels with the ath11k driver should check their builds; affected versions were not specified.