Warning: Permanently added '10.128.1.124' (ED25519) to the list of known hosts. executing program [ 37.886875][ T694] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 38.246932][ T694] usb 1-1: config 0 contains an unexpected descriptor of type 0x2, skipping [ 38.255748][ T694] usb 1-1: config 0 has 1 interface, different from the descriptor's value: 2 [ 38.264746][ T694] usb 1-1: config 0 interface 0 altsetting 6 has an invalid endpoint with address 0x0, skipping [ 38.275245][ T694] usb 1-1: config 0 interface 0 altsetting 6 has an invalid endpoint with address 0x0, skipping [ 38.285720][ T694] usb 1-1: config 0 interface 0 altsetting 6 endpoint 0xE has invalid maxpacket 1024, setting to 64 [ 38.296519][ T694] usb 1-1: config 0 interface 0 altsetting 6 has a duplicate endpoint with address 0xE, skipping [ 38.307106][ T694] usb 1-1: config 0 interface 0 altsetting 1 has an invalid endpoint with address 0x0, skipping [ 38.317555][ T694] usb 1-1: config 0 interface 0 altsetting 1 has an invalid endpoint with address 0x0, skipping [ 38.327999][ T694] usb 1-1: config 0 interface 0 altsetting 1 endpoint 0xB has an invalid bInterval 0, changing to 7 [ 38.338800][ T694] usb 1-1: config 0 interface 0 altsetting 1 endpoint 0x4 has invalid wMaxPacketSize 0 [ 38.348467][ T694] usb 1-1: config 0 interface 0 altsetting 1 endpoint 0xD has invalid wMaxPacketSize 0 [ 38.358137][ T694] usb 1-1: config 0 interface 0 altsetting 1 has an invalid endpoint with address 0x0, skipping [ 38.368595][ T694] usb 1-1: config 0 interface 0 altsetting 1 has a duplicate endpoint with address 0xB, skipping [ 38.379140][ T694] usb 1-1: config 0 interface 0 altsetting 1 endpoint 0x6 has invalid maxpacket 1024, setting to 64 [ 38.389952][ T694] usb 1-1: config 0 interface 0 altsetting 1 has a duplicate endpoint with address 0xB, skipping [ 38.400483][ T694] usb 1-1: config 0 interface 0 has no altsetting 0 [ 38.566989][ T694] usb 1-1: New USB device found, idVendor=1f71, idProduct=3301, bcdDevice=17.9b [ 38.576035][ T694] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 38.584054][ T694] usb 1-1: Product: syz [ 38.588412][ T694] usb 1-1: Manufacturer: syz [ 38.592990][ T694] usb 1-1: SerialNumber: syz [ 38.600496][ T694] usb 1-1: config 0 descriptor?? executing program [ 38.898167][ T694] usbtv 1-1:0.0: Fushicai USBTV007 Audio-Video Grabber [ 38.910915][ T694] usb 1-1: USB disconnect, device number 2 [ 38.951232][ T694] [ 38.953580][ T694] ============================================ [ 38.959753][ T694] WARNING: possible recursive locking detected [ 38.965928][ T694] 6.8.0-rc3-syzkaller-00047-ged5551279c91 #0 Not tainted [ 38.972955][ T694] -------------------------------------------- [ 38.979104][ T694] kworker/0:2/694 is trying to acquire lock: [ 38.985082][ T694] ffff888109f20b70 (&usbtv->vb2q_lock){+.+.}-{3:3}, at: vb2_video_unregister_device+0x12b/0x2d0 [ 38.995570][ T694] [ 38.995570][ T694] but task is already holding lock: [ 39.002936][ T694] ffff888109f20b70 (&usbtv->vb2q_lock){+.+.}-{3:3}, at: usbtv_video_free+0x28/0x70 [ 39.012273][ T694] [ 39.012273][ T694] other info that might help us debug this: [ 39.020331][ T694] Possible unsafe locking scenario: [ 39.020331][ T694] [ 39.027773][ T694] CPU0 [ 39.031034][ T694] ---- [ 39.034296][ T694] lock(&usbtv->vb2q_lock); [ 39.038872][ T694] lock(&usbtv->vb2q_lock); [ 39.043445][ T694] [ 39.043445][ T694] *** DEADLOCK *** [ 39.043445][ T694] [ 39.051572][ T694] May be due to missing lock nesting notation [ 39.051572][ T694] [ 39.060048][ T694] 7 locks held by kworker/0:2/694: [ 39.065144][ T694] #0: ffff888106ad2138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 [ 39.075846][ T694] #1: ffffc90001c0fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 [ 39.087049][ T694] #2: ffff88810af2f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1be/0x4f40 [ 39.095900][ T694] #3: ffff888107799190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10a/0x910 [ 39.105112][ T694] #4: ffff88810779a160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 [ 39.115613][ T694] #5: ffff888109f20b70 (&usbtv->vb2q_lock){+.+.}-{3:3}, at: usbtv_video_free+0x28/0x70 [ 39.125332][ T694] #6: ffff888109f20ae0 (&usbtv->v4l2_lock){+.+.}-{3:3}, at: usbtv_video_free+0x32/0x70 [ 39.135138][ T694] [ 39.135138][ T694] stack backtrace: [ 39.141089][ T694] CPU: 0 PID: 694 Comm: kworker/0:2 Not tainted 6.8.0-rc3-syzkaller-00047-ged5551279c91 #0 [ 39.151043][ T694] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 39.161084][ T694] Workqueue: usb_hub_wq hub_event [ 39.166096][ T694] Call Trace: [ 39.169357][ T694] [ 39.172283][ T694] dump_stack_lvl+0xd9/0x1b0 [ 39.176866][ T694] __lock_acquire+0x210a/0x3b30 [ 39.182052][ T694] ? lockdep_hardirqs_on_prepare+0x420/0x420 [ 39.188018][ T694] ? reacquire_held_locks+0x4c0/0x4c0 [ 39.193375][ T694] lock_acquire+0x1ae/0x520 [ 39.197952][ T694] ? vb2_video_unregister_device+0x12b/0x2d0 [ 39.203924][ T694] ? lock_sync+0x190/0x190 [ 39.208324][ T694] ? preempt_count_sub+0x160/0x160 [ 39.213418][ T694] __mutex_lock+0x175/0x9d0 [ 39.217902][ T694] ? vb2_video_unregister_device+0x12b/0x2d0 [ 39.223870][ T694] ? kobject_put+0xbe/0x440 [ 39.229141][ T694] ? vb2_video_unregister_device+0x12b/0x2d0 [ 39.235109][ T694] ? device_del+0x713/0xa50 [ 39.239601][ T694] ? mutex_trylock+0x130/0x130 [ 39.244349][ T694] ? __device_link_del+0x380/0x380 [ 39.249446][ T694] ? kobject_put+0xbe/0x440 [ 39.253937][ T694] ? vb2_video_unregister_device+0x12b/0x2d0 [ 39.259910][ T694] vb2_video_unregister_device+0x12b/0x2d0 [ 39.265718][ T694] usbtv_video_free+0x4a/0x70 [ 39.270380][ T694] usbtv_disconnect+0x5c/0xd0 [ 39.277044][ T694] usb_unbind_interface+0x1e5/0x960 [ 39.282230][ T694] ? kernfs_find_ns+0x2eb/0x3f0 [ 39.287077][ T694] ? usb_autopm_get_interface+0xe0/0xe0 [ 39.292619][ T694] device_remove+0x11f/0x170 [ 39.297204][ T694] device_release_driver_internal+0x44a/0x610 [ 39.303279][ T694] bus_remove_device+0x22c/0x420 [ 39.308209][ T694] device_del+0x39a/0xa50 [ 39.312537][ T694] ? __device_link_del+0x380/0x380 [ 39.317635][ T694] ? kobject_put+0x1f6/0x440 [ 39.322219][ T694] usb_disable_device+0x36c/0x7f0 [ 39.327240][ T694] usb_disconnect+0x2e1/0x910 [ 39.331916][ T694] hub_event+0x1be0/0x4f40 [ 39.336337][ T694] ? hub_port_debounce+0x3d0/0x3d0 [ 39.341472][ T694] ? check_irq_usage+0xa01/0x1490 [ 39.346486][ T694] ? lock_sync+0x190/0x190 [ 39.350975][ T694] ? reacquire_held_locks+0x4c0/0x4c0 [ 39.356333][ T694] process_one_work+0x886/0x15d0 [ 39.361281][ T694] ? hub_port_debounce+0x3d0/0x3d0 [ 39.366390][ T694] ? workqueue_congested+0x300/0x300 [ 39.371665][ T694] ? assign_work+0x1a0/0x250 [ 39.376242][ T694] worker_thread+0x8b9/0x1290 [ 39.380908][ T694] ? __kthread_parkme+0x14b/0x220 [ 39.385938][ T694] ? process_one_work+0x15d0/0x15d0 [ 39.391123][ T694] kthread+0x2c6/0x3a0 [ 39.395204][ T694] ? _raw_spin_unlock_irq+0x23/0x50 [ 39.400393][ T694] ? kthread_complete_and_exit+0x40/0x40 [ 39.406026][ T694] ret_from_fork+0x45/0x80 [ 39.410431][ T694] ? kthread_complete_and_exit+0x40/0x40 [ 39.416051][ T694] ret_from_fork_asm+0x11/0x20 [ 39.420808][ T694] executing program executing program