CVE-2022-50829 Details
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb() It is possible that skb is freed in ath9k_htc_rx_msg(), then usb_submit_urb() fails and we try to free skb again. It causes use-after-free bug. Moreover, if alloc_skb() fails, urb->context becomes NULL but rx_buf is not freed and there can be a memory leak. The patch removes unnecessary nskb and makes skb processing more clear: it is supposed that ath9k_htc_rx_msg() either frees old skb or passes its managing to another callback function. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
A use-after-free vulnerability has been identified in the Linux kernel's ath9k wireless driver, specifically within the USB high-speed interface handling. The issue arises in the 'ath9k_hif_usb_reg_in_cb' callback function, where a socket buffer (skb) can be freed prematurely. If the 'ath9k_htc_rx_msg' function frees the skb and subsequently 'usb_submit_urb' fails, the skb is attempted to be freed again, leading to a use-after-free condition. Additionally, if 'alloc_skb' fails, the 'urb->context' is set to NULL without freeing the 'rx_buf', causing a memory leak. This vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed. The official Linux kernel Git repository contains the patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/355f16f756aad0c95cdaa0c14a34ab4137d32815 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/53b9bb1a00c4285ee7f58a11129dbea015db61bc | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5e8751a977a49a6e00cce1a8da5ca16da83f9c8c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/71fc0ad671a62c494d2aec731baeabd3bfe6c95d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/988bd27de2484faf17afe0408db2e3d9e5ac61fc | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/98d9172822dc6f38138333941984bd759a89d419 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/dd95f2239fc846795fc926787c3ae0ca701c9840 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f127c2b4c967025e5c3a4ce7e13b79135d46a33d | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Atheros ath9k | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion