uvcvideo: Found UVC 0.00 device (18cd:cafe) uvcvideo 5-1:0.0: Entity type for entity Output 0 was not initialized! ------------[ cut here ]------------ kernel BUG at drivers/media/mc/mc-entity.c:666! invalid opcode: 0000 [#1] SMP KASAN CPU: 1 PID: 3306 Comm: kworker/1:5 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:media_create_pad_link+0x40f/0x530 drivers/media/mc/mc-entity.c:666 Code: 83 45 3a 01 45 31 e4 e8 9f 93 59 fd 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 88 93 59 fd 0f 0b e8 81 93 59 fd <0f> 0b e8 7a 93 59 fd 0f 0b e8 53 23 81 fd e9 91 fc ff ff e8 49 23 RSP: 0018:ffff8881d34f7058 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8881c8b27070 RCX: ffffc9000d979000 RDX: 0000000000040000 RSI: ffffffff83e4e0df RDI: 0000000000000000 RBP: ffff8881cd47e870 R08: ffff8881d3430000 R09: ffffed1038279291 R10: ffffed1038279290 R11: ffff8881c13c9483 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f940a179000 CR3: 00000001c8010000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: uvc_mc_create_links drivers/media/usb/uvc/uvc_entity.c:50 [inline] uvc_mc_register_entities+0x468/0x77a drivers/media/usb/uvc/uvc_entity.c:114 uvc_register_chains drivers/media/usb/uvc/uvc_driver.c:2075 [inline] uvc_probe.cold+0x2137/0x29de drivers/media/usb/uvc/uvc_driver.c:2201 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361 really_probe+0x281/0x6d0 drivers/base/dd.c:548 driver_probe_device+0x104/0x210 drivers/base/dd.c:721 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430 __device_attach+0x217/0x360 drivers/base/dd.c:894 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490 device_add+0x1480/0x1c20 drivers/base/core.c:2487 usb_set_configuration+0xe67/0x1740 drivers/usb/core/message.c:2023 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210 usb_probe_device+0x99/0x100 drivers/usb/core/driver.c:266 really_probe+0x281/0x6d0 drivers/base/dd.c:548 driver_probe_device+0x104/0x210 drivers/base/dd.c:721 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430 __device_attach+0x217/0x360 drivers/base/dd.c:894 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490 device_add+0x1480/0x1c20 drivers/base/core.c:2487 usb_new_device.cold+0x6a4/0xe79 drivers/usb/core/hub.c:2537 hub_port_connect drivers/usb/core/hub.c:5184 [inline] hub_port_connect_change drivers/usb/core/hub.c:5324 [inline] port_event drivers/usb/core/hub.c:5470 [inline] hub_event+0x1e59/0x3860 drivers/usb/core/hub.c:5552 process_one_work+0x92b/0x1530 kernel/workqueue.c:2264 process_scheduled_works kernel/workqueue.c:2326 [inline] worker_thread+0x7ab/0xe20 kernel/workqueue.c:2412 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace fcfec24d8af261a1 ]--- RIP: 0010:media_create_pad_link+0x40f/0x530 drivers/media/mc/mc-entity.c:666 Code: 83 45 3a 01 45 31 e4 e8 9f 93 59 fd 44 89 e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 88 93 59 fd 0f 0b e8 81 93 59 fd <0f> 0b e8 7a 93 59 fd 0f 0b e8 53 23 81 fd e9 91 fc ff ff e8 49 23 RSP: 0018:ffff8881d34f7058 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8881c8b27070 RCX: ffffc9000d979000 RDX: 0000000000040000 RSI: ffffffff83e4e0df RDI: 0000000000000000 RBP: ffff8881cd47e870 R08: ffff8881d3430000 R09: ffffed1038279291 R10: ffffed1038279290 R11: ffff8881c13c9483 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f940a179000 CR3: 00000001c8010000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400