CVE-2022-50829
wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < f127c2b4c967025e5c3a4ce7e13b79135d46a33d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 988bd27de2484faf17afe0408db2e3d9e5ac61fc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 98d9172822dc6f38138333941984bd759a89d419; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 355f16f756aad0c95cdaa0c14a34ab4137d32815; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 53b9bb1a00c4285ee7f58a11129dbea015db61bc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 71fc0ad671a62c494d2aec731baeabd3bfe6c95d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < dd95f2239fc846795fc926787c3ae0ca701c9840
- Anyone running Linux 3.0
Vulnerability facts
- Affected
- Linux >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < f127c2b4c967025e5c3a4ce7e13b79135d46a33d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 988bd27de2484faf17afe0408db2e3d9e5ac61fc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 98d9172822dc6f38138333941984bd759a89d419; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 355f16f756aad0c95cdaa0c14a34ab4137d32815; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 53b9bb1a00c4285ee7f58a11129dbea015db61bc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 71fc0ad671a62c494d2aec731baeabd3bfe6c95d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < dd95f2239fc846795fc926787c3ae0ca701c9840; Linux 3.0
- Fixed in
- Linux 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c, Linux 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f, Linux 988bd27de2484faf17afe0408db2e3d9e5ac61fc, Linux 98d9172822dc6f38138333941984bd759a89d419, Linux 355f16f756aad0c95cdaa0c14a34ab4137d32815, Linux 53b9bb1a00c4285ee7f58a11129dbea015db61bc, Linux 71fc0ad671a62c494d2aec731baeabd3bfe6c95d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < f127c2b4c967025e5c3a4ce7e13b79135d46a33d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 988bd27de2484faf17afe0408db2e3d9e5ac61fc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 98d9172822dc6f38138333941984bd759a89d419; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 355f16f756aad0c95cdaa0c14a34ab4137d32815; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 53b9bb1a00c4285ee7f58a11129dbea015db61bc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 71fc0ad671a62c494d2aec731baeabd3bfe6c95d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < dd95f2239fc846795fc926787c3ae0ca701c9840 | — | cvelist |
| Linux | 3.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50829. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50829.md Affected: Linux >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < f127c2b4c967025e5c3a4ce7e13b79135d46a33d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f; >= 3deff76095c4ac4252e27c5… Fixed in: Linux 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c, Linux 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f, Linux 988bd27de2484faf17afe0408db2e3d9e5ac61fc, Linux 98d9172822dc6f38138333941984bd759a89d419, Linux 355f16f756aad0c95cdaa0c14a34ab4137d32815, Linux 53b9bb1a00c4285ee7f58a11129dbea015db61bc, Linux 71fc0… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/5e8751a977a49a6e00cce1a8da5ca16da83f9c8c
- https://git.kernel.org/stable/c/f127c2b4c967025e5c3a4ce7e13b79135d46a33d
- https://git.kernel.org/stable/c/0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f
- https://git.kernel.org/stable/c/988bd27de2484faf17afe0408db2e3d9e5ac61fc
- https://git.kernel.org/stable/c/98d9172822dc6f38138333941984bd759a89d419
- https://git.kernel.org/stable/c/355f16f756aad0c95cdaa0c14a34ab4137d32815
- https://git.kernel.org/stable/c/53b9bb1a00c4285ee7f58a11129dbea015db61bc
- https://git.kernel.org/stable/c/71fc0ad671a62c494d2aec731baeabd3bfe6c95d
- https://git.kernel.org/stable/c/dd95f2239fc846795fc926787c3ae0ca701c9840
FAQ
Is CVE-2022-50829 being exploited?
There is no confirmed exploitation: CVE-2022-50829 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50829?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50829?
Linux >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < f127c2b4c967025e5c3a4ce7e13b79135d46a33d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 988bd27de2484faf17afe0408db2e3d9e5ac61fc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 98d9172822dc6f38138333941984bd759a89d419; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 355f16f756aad0c95cdaa0c14a34ab4137d32815; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 53b9bb1a00c4285ee7f58a11129dbea015db61bc; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < 71fc0ad671a62c494d2aec731baeabd3bfe6c95d; >= 3deff76095c4ac4252e27c537db3041f619c23a2, < dd95f2239fc846795fc926787c3ae0ca701c9840; Linux 3.0.
Is there a fix for CVE-2022-50829?
Yes. Fixed in Linux 5e8751a977a49a6e00cce1a8da5ca16da83f9c8c, Linux 0c8dd2ea4b419da96ab4953e4967e9363e2f8a4f, Linux 988bd27de2484faf17afe0408db2e3d9e5ac61fc, Linux 98d9172822dc6f38138333941984bd759a89d419, Linux 355f16f756aad0c95cdaa0c14a34ab4137d32815, Linux 53b9bb1a00c4285ee7f58a11129dbea015db61bc, Linux 71fc0ad671a62c494d2aec731baeabd3bfe6c95d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50829?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.