CVE-2022-50829
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50829 is a use-after-free vulnerability in the Linux kernel's ath9k Wi-Fi driver, specifically within the ath9k_hif_usb_reg_in_cb() function of the HIF USB subsystem. The flaw allows a socket buffer (skb) to be freed inside ath9k_htc_rx_msg(), after which a failed usb_submit_urb() call attempts to free the same skb again, triggering a use-after-free condition. An additional memory leak can occur if alloc_skb() fails, leaving rx_buf unreleased while urb->context becomes NULL. The vulnerability was discovered by the Linux Verification Center (linuxtesting.org) using Syzkaller and published on December 30, 2025. It carries an estimated CVSS severity of Medium with an EPSS score of approximately 0.033% (Feedly).

Technical details

The root cause is a use-after-free memory management error (CWE-416) in the ath9k HIF USB driver's receive callback path. When ath9k_htc_rx_msg() processes an incoming USB packet, it may free the skb buffer; if the subsequent usb_submit_urb() call fails, the error-handling code incorrectly attempts to free the already-released skb a second time. A secondary issue exists where a failed alloc_skb() allocation sets urb->context to NULL without releasing rx_buf, resulting in a memory leak. The fix restructures skb lifecycle management so that ath9k_htc_rx_msg() is solely responsible for either freeing the buffer or transferring ownership to another callback, eliminating the double-free scenario (Feedly, Kernel Patch).

Impact

Exploitation of this vulnerability could lead to kernel memory corruption due to the use-after-free condition, potentially resulting in a system crash (denial of service) or, in more severe scenarios, privilege escalation if an attacker can control the freed memory region. The secondary memory leak may gradually degrade system stability on affected devices using ath9k USB Wi-Fi adapters. The vulnerability is confined to systems with ath9k HIF USB hardware attached and running an unpatched Linux kernel version (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches. Fixed versions include: 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, and 6.2. Users should update their Linux kernel to one of these patched versions or later. No configuration-based workaround is available; the recommended action is to apply the relevant stable kernel update for your distribution (Feedly, Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management