{"id":"CVE-2022-49151","published":"2025-02-26T01:55:17Z","modified":"2026-05-11T18:54:07Z","title":"can: mcba_usb: properly check endpoint type","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: mcba_usb: properly check endpoint type\n\nSyzbot reported warning in usb_submit_urb() which is caused by wrong\nendpoint type. We should check that in endpoint is actually present to\nprevent this warning.\n\nFound pipes are now saved to struct mcba_priv and code uses them\ndirectly instead of making pipes in place.\n\nFail log:\n\n| usb 5-1: BOGUS urb xfer, pipe 3 != type 1\n| WARNING: CPU: 1 PID: 49 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502\n| Modules linked in:\n| CPU: 1 PID: 49 Comm: kworker/1:2 Not tainted 5.17.0-rc6-syzkaller-00184-g38f80f42147f #0\n| Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014\n| Workqueue: usb_hub_wq hub_event\n| RIP: 0010:usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502\n| ...\n| Call Trace:\n|  <TASK>\n|  mcba_usb_start drivers/net/can/usb/mcba_usb.c:662 [inline]\n|  mcba_usb_probe+0x8a3/0xc50 drivers/net/can/usb/mcba_usb.c:858\n|  usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396\n|  call_driver_probe drivers/base/dd.c:517 [inline]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00269,"percentile":0.18941,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5598442edc29e8f6f2380e4b471dc1a3fcd80508","tags":[]},{"url":"https://git.kernel.org/stable/c/b48d1bb3f1ca337ad653022aefb5a40a47dfe5cd","tags":[]},{"url":"https://git.kernel.org/stable/c/cbd110b8dd7ad763bf413f71c0484116ae9302d4","tags":[]},{"url":"https://git.kernel.org/stable/c/ef0acc514123140157b19a9ff2e2de5d91d612bc","tags":[]},{"url":"https://git.kernel.org/stable/c/fa9c1f14002dc0d5293e16a2007bd89b6e79207b","tags":[]},{"url":"https://git.kernel.org/stable/c/88272b4a37913bdf6f339162a7920bd8e9b49de2","tags":[]},{"url":"https://git.kernel.org/stable/c/f2ec3cd0f34f8c3f94bc21fbba14868301c9c49d","tags":[]},{"url":"https://git.kernel.org/stable/c/136bed0bfd3bc9c95c88aafff2d22ecb3a919f23","tags":[]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":3.79}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < 5598442edc29e8f6f2380e4b471dc1a3fcd80508",">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < b48d1bb3f1ca337ad653022aefb5a40a47dfe5cd",">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < cbd110b8dd7ad763bf413f71c0484116ae9302d4",">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < ef0acc514123140157b19a9ff2e2de5d91d612bc",">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < fa9c1f14002dc0d5293e16a2007bd89b6e79207b",">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < 88272b4a37913bdf6f339162a7920bd8e9b49de2",">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < f2ec3cd0f34f8c3f94bc21fbba14868301c9c49d",">= 51f3baad7de943780ce0c17bd7975df567dd6e14, < 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23"]},{"vendor":"Linux","product":"Linux","versions":["4.12"]}],"euvd":{"id":"EUVD-2022-55074","exploited":false,"provenance":"source"}}