CVE-2022-50186

Summary

In 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

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxf951380a6022440335f668f85296096ba13071ba < dda25326839d6e6b1fe59e79616149e44ea4eaa4affected
LinuxLinuxf951380a6022440335f668f85296096ba13071ba < 1f1483361585ae7556492f50f83f038bbdf8c294affected
LinuxLinuxf951380a6022440335f668f85296096ba13071ba < e5646fe3b7ef739c392e59da7db6adf5e1fdef42affected
LinuxLinux5.17affected
LinuxLinux0 < 5.17unaffected
LinuxLinux5.18.18 <= 5.18.*unaffected
LinuxLinux5.19.2 <= 5.19.*unaffected
LinuxLinux6.0 <= *unaffected

Weaknesses

References