{"id":"CVE-2022-50186","state":"PUBLISHED","title":"ath11k: fix missing skb drop on htc_tx_completion error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nath11k: fix missing skb drop on htc_tx_completion error\n\nOn htc_tx_completion error the skb is not dropped. This is wrong since\nthe completion_handler logic expect the skb to be consumed anyway even\nwhen an error is triggered. Not freeing the skb on error is a memory\nleak since the skb won't be freed anywere else. Correctly free the\npacket on eid >= ATH11K_HTC_EP_COUNT before returning.\n\nTested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1","publishedAt":"2025-06-18T11:03:33.552Z","updatedAt":"2026-05-11T19:14:27.436Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f951380a6022440335f668f85296096ba13071ba","status":"affected","lessThan":"dda25326839d6e6b1fe59e79616149e44ea4eaa4","versionType":"git"},{"version":"f951380a6022440335f668f85296096ba13071ba","status":"affected","lessThan":"1f1483361585ae7556492f50f83f038bbdf8c294","versionType":"git"},{"version":"f951380a6022440335f668f85296096ba13071ba","status":"affected","lessThan":"e5646fe3b7ef739c392e59da7db6adf5e1fdef42","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/htc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"5.18.18","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19.2","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/htc.c"]}],"references":["https://git.kernel.org/stable/c/dda25326839d6e6b1fe59e79616149e44ea4eaa4","https://git.kernel.org/stable/c/1f1483361585ae7556492f50f83f038bbdf8c294","https://git.kernel.org/stable/c/e5646fe3b7ef739c392e59da7db6adf5e1fdef42"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50186.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50186","state":"PUBLISHED","datePublished":"2025-06-18T11:03:33.552Z","dateUpdated":"2026-05-11T19:14:27.436Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-06-18T10:57:27.427Z"},"containers":{"cna":{"title":"ath11k: fix missing skb drop on htc_tx_completion error","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nath11k: fix missing skb drop on htc_tx_completion error\n\nOn htc_tx_completion error the skb is not dropped. This is wrong since\nthe completion_handler logic expect the skb to be consumed anyway even\nwhen an error is triggered. Not freeing the skb on error is a memory\nleak since the skb won't be freed anywere else. Correctly free the\npacket on eid >= ATH11K_HTC_EP_COUNT before returning.\n\nTested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f951380a6022440335f668f85296096ba13071ba","status":"affected","lessThan":"dda25326839d6e6b1fe59e79616149e44ea4eaa4","versionType":"git"},{"version":"f951380a6022440335f668f85296096ba13071ba","status":"affected","lessThan":"1f1483361585ae7556492f50f83f038bbdf8c294","versionType":"git"},{"version":"f951380a6022440335f668f85296096ba13071ba","status":"affected","lessThan":"e5646fe3b7ef739c392e59da7db6adf5e1fdef42","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/htc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"5.18.18","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19.2","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath11k/htc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/dda25326839d6e6b1fe59e79616149e44ea4eaa4"},{"url":"https://git.kernel.org/stable/c/1f1483361585ae7556492f50f83f038bbdf8c294"},{"url":"https://git.kernel.org/stable/c/e5646fe3b7ef739c392e59da7db6adf5e1fdef42"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:14:27.436Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"5.18.18"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"5.19.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}