{"id":"CVE-2022-50297","summary":"wifi: ath9k: verify the expected usb_endpoints are present","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath9k: verify the expected usb_endpoints are present\n\nThe bug arises when a USB device claims to be an ATH9K but doesn't\nhave the expected endpoints. (In this case there was an interrupt\nendpoint where the driver expected a bulk endpoint.) The kernel\nneeds to be able to handle such devices without getting an internal error.\n\nusb 1-1: BOGUS urb xfer, pipe 3 != type 1\nWARNING: CPU: 3 PID: 500 at drivers/usb/core/urb.c:493 usb_submit_urb+0xce2/0x1430 drivers/usb/core/urb.c:493\nModules linked in:\nCPU: 3 PID: 500 Comm: kworker/3:2 Not tainted 5.10.135-syzkaller #0\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014\nWorkqueue: events request_firmware_work_func\nRIP: 0010:usb_submit_urb+0xce2/0x1430 drivers/usb/core/urb.c:493\nCall Trace:\n ath9k_hif_usb_alloc_rx_urbs drivers/net/wireless/ath/ath9k/hif_usb.c:908 [inline]\n ath9k_hif_usb_alloc_urbs+0x75e/0x1010 drivers/net/wireless/ath/ath9k/hif_usb.c:1019\n ath9k_hif_usb_dev_init drivers/net/wireless/ath/ath9k/hif_usb.c:1109 [inline]\n ath9k_hif_usb_firmware_cb+0x142/0x530 drivers/net/wireless/ath/ath9k/hif_usb.c:1242\n request_firmware_work_func+0x12e/0x240 drivers/base/firmware_loader/main.c:1097\n process_one_work+0x9af/0x1600 kernel/workqueue.c:2279\n worker_thread+0x61d/0x12f0 kernel/workqueue.c:2425\n kthread+0x3b4/0x4a0 kernel/kthread.c:313\n ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:299\n\nFound by Linux Verification Center (linuxtesting.org) with Syzkaller.","modified":"2026-04-02T08:28:22.989851Z","published":"2025-09-15T14:45:53.146Z","related":["SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50297.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b7e6d681e00a96cde2b32a15ffa70e1be2e3209"},{"type":"WEB","url":"https://git.kernel.org/stable/c/16ef02bad239f11f322df8425d302be62f0443ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1824ccabee5445347b83642e4087cc2eca070343"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d2eccf52ea0215c8d386b62af0b5fd4fc122bd5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/932f0a5e829fb0b823f96d7fa9a0f4fc96660b77"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c319196a0e34ed2e66d6f876f58d8d446335c2a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca57748593ddd8e46d033fbaeb9d01ec533a6bfe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d008a202a0528a058bac658e657c010ce8534f4a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d64436af0bc3c9e579be761d7684f228fb95f3bb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50297.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50297"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fb9987d0f748c983bb795a86f47522313f701a08"},{"fixed":"932f0a5e829fb0b823f96d7fa9a0f4fc96660b77"},{"fixed":"d008a202a0528a058bac658e657c010ce8534f4a"},{"fixed":"d64436af0bc3c9e579be761d7684f228fb95f3bb"},{"fixed":"ca57748593ddd8e46d033fbaeb9d01ec533a6bfe"},{"fixed":"1824ccabee5445347b83642e4087cc2eca070343"},{"fixed":"c319196a0e34ed2e66d6f876f58d8d446335c2a7"},{"fixed":"2d2eccf52ea0215c8d386b62af0b5fd4fc122bd5"},{"fixed":"0b7e6d681e00a96cde2b32a15ffa70e1be2e3209"},{"fixed":"16ef02bad239f11f322df8425d302be62f0443ce"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50297.json"}}],"schema_version":"1.7.5"}