CVE-2022-50186: ath11k: fix missing skb drop on htc_tx_completion error
In the Linux kernel, the following vulnerability has been resolved:
ath11k: fix missing skb drop on htctxcompletion error
On htctxcompletion error the skb is not dropped. This is wrong since the completionhandler 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 >= ATH11KHTCEPCOUNT before returning.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01208-QCAHKSWPLSILICONZ-1
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.18.18 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.19.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.2-1 - Compensating control
In the ath11k HTC transmit completion error path, drop/free the skb packet before returning; specifically, correctly free the packet when eid >= ATH11K_HTC_EP_COUNT, since the completion handler expects the skb to be consumed even when an error occurs.
Event History
Frequently Asked Questions
What is the severity of CVE-2022-50186?
CVE-2022-50186 is classified as a low severity vulnerability in the Linux kernel.
How does CVE-2022-50186 affect system performance?
CVE-2022-50186 can lead to improper handling of socket buffers, potentially affecting network performance.
How do I fix CVE-2022-50186?
To fix CVE-2022-50186, update the Linux kernel to the latest version where this vulnerability has been addressed.
Which versions of the Linux kernel are affected by CVE-2022-50186?
CVE-2022-50186 affects the versions of the Linux kernel before the fix was applied.
Is CVE-2022-50186 exploitative in the wild?
As of now, there are no known active exploits for CVE-2022-50186 in the wild.