CVE-2022-50297
wifi: ath9k: verify the expected usb_endpoints are present
Check your servers for CVE-2022-50297
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50297 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath9k: verify the expected usb_endpoints are present
The bug arises when a USB device claims to be an ATH9K but doesn't have the expected endpoints. (In this case there was an interrupt endpoint where the driver expected a bulk endpoint.) The kernel needs to be able to handle such devices without getting an internal error.
usb 1-1: BOGUS urb xfer, pipe 3 != type 1 WARNING: CPU: 3 PID: 500 at drivers/usb/core/urb.c:493 usb_submit_urb+0xce2/0x1430 drivers/usb/core/urb.c:493 Modules linked in: CPU: 3 PID: 500 Comm: kworker/3:2 Not tainted 5.10.135-syzkaller #0 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Workqueue: events request_firmware_work_func RIP: 0010:usb_submit_urb+0xce2/0x1430 drivers/usb/core/urb.c:493 Call Trace: ath9k_hif_usb_alloc_rx_urbs drivers/net/wireless/ath/ath9k/hif_usb.c:908 [inline] ath9k_hif_usb_alloc_urbs+0x75e/0x1010 drivers/net/wireless/ath/ath9k/hif_usb.c:1019 ath9k_hif_usb_dev_init drivers/net/wireless/ath/ath9k/hif_usb.c:1109 [inline] ath9k_hif_usb_firmware_cb+0x142/0x530 drivers/net/wireless/ath/ath9k/hif_usb.c:1242 request_firmware_work_func+0x12e/0x240 drivers/base/firmware_loader/main.c:1097 process_one_work+0x9af/0x1600 kernel/workqueue.c:2279 worker_thread+0x61d/0x12f0 kernel/workqueue.c:2425 kthread+0x3b4/0x4a0 kernel/kthread.c:313 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:299
Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.74% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fb9987d0f748c983bb795a86f47522313f701a08, before 932f0a5e829fb0b823f96d7fa9a0f4fc96660b77 affected from fb9987d0f748c983bb795a86f47522313f701a08, before d008a202a0528a058bac658e657c010ce8534f4a affected from fb9987d0f748c983bb795a86f47522313f701a08, before d64436af0bc3c9e579be761d7684f228fb95f3bb affected from fb9987d0f748c983bb795a86f47522313f701a08, before ca57748593ddd8e46d033fbaeb9d01ec533a6bfe affected from fb9987d0f748c983bb795a86f47522313f701a08, before 1824ccabee5445347b83642e4087cc2eca070343 affected from fb9987d0f748c983bb795a86f47522313f701a08, before c319196a0e34ed2e66d6f876f58d8d446335c2a7 affected from fb9987d0f748c983bb795a86f47522313f701a08, before 2d2eccf52ea0215c8d386b62af0b5fd4fc122bd5 affected from fb9987d0f748c983bb795a86f47522313f701a08, before 0b7e6d681e00a96cde2b32a15ffa70e1be2e3209 affected from fb9987d0f748c983bb795a86f47522313f701a08, before 16ef02bad239f11f322df8425d302be62f0443ce
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50297 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50297
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50297
trivy image --scanners vuln IMAGE | grep CVE-2022-50297
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/932f0a5e829fb0b823f96d7fa9a0f4fc96660b77 git.kernel.org
- https://git.kernel.org/stable/c/d008a202a0528a058bac658e657c010ce8534f4a git.kernel.org
- https://git.kernel.org/stable/c/d64436af0bc3c9e579be761d7684f228fb95f3bb git.kernel.org
- https://git.kernel.org/stable/c/ca57748593ddd8e46d033fbaeb9d01ec533a6bfe git.kernel.org
- https://git.kernel.org/stable/c/1824ccabee5445347b83642e4087cc2eca070343 git.kernel.org
- https://git.kernel.org/stable/c/c319196a0e34ed2e66d6f876f58d8d446335c2a7 git.kernel.org
- https://git.kernel.org/stable/c/2d2eccf52ea0215c8d386b62af0b5fd4fc122bd5 git.kernel.org
- https://git.kernel.org/stable/c/0b7e6d681e00a96cde2b32a15ffa70e1be2e3209 git.kernel.org
- https://git.kernel.org/stable/c/16ef02bad239f11f322df8425d302be62f0443ce git.kernel.org
Source: the record CVE-2022-50297 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse