Warning: Permanently added '10.128.0.104' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.959589][ T12] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 28.319646][ T12] usb 1-1: config 0 interface 0 altsetting 0 endpoint 0x84 has an invalid bInterval 0, changing to 7 [ 28.332410][ T12] usb 1-1: New USB device found, idVendor=15c2, idProduct=0035, bcdDevice=d2.65 [ 28.341860][ T12] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 28.351427][ T12] usb 1-1: config 0 descriptor?? [ 28.393197][ T12] input: iMON Panel, Knob and Mouse(15c2:0035) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/input/input5 [ 28.629703][ T12] Registered IR keymap rc-imon-pad [ 28.850111][ T12] rc rc0: iMON Remote (15c2:0035) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/rc/rc0 [ 28.860756][ T12] input: iMON Remote (15c2:0035) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/rc/rc0/input6 [ 28.876136][ T12] imon 1-1:0.0: iMON device (15c2:0035, intf0) on usb<1:2> initialized [ 29.029839][ T1714] [ 29.032330][ T1714] ====================================================== [ 29.039323][ T1714] WARNING: possible circular locking dependency detected [ 29.046860][ T1714] 5.4.0-rc3+ #0 Not tainted [ 29.051510][ T1714] ------------------------------------------------------ [ 29.058764][ T1714] syz-executor388/1714 is trying to acquire lock: [ 29.065146][ T1714] ffffffff8741e4c0 (driver_lock#2){+.+.}, at: display_open+0x1f/0x1d0 [ 29.073371][ T1714] [ 29.073371][ T1714] but task is already holding lock: [ 29.083410][ T1714] ffffffff8721ef08 (minor_rwsem){++++}, at: usb_open+0x23/0x270 [ 29.091112][ T1714] [ 29.091112][ T1714] which lock already depends on the new lock. [ 29.091112][ T1714] [ 29.102053][ T1714] [ 29.102053][ T1714] the existing dependency chain (in reverse order) is: [ 29.111044][ T1714] [ 29.111044][ T1714] -> #2 (minor_rwsem){++++}: [ 29.117979][ T1714] down_write+0x92/0x150 [ 29.122916][ T1714] usb_register_dev+0x131/0x670 [ 29.129388][ T1714] imon_probe+0x244d/0x2aed [ 29.134386][ T1714] usb_probe_interface+0x305/0x7a0 [ 29.139990][ T1714] really_probe+0x281/0x6d0 [ 29.145039][ T1714] driver_probe_device+0x104/0x210 [ 29.150649][ T1714] __device_attach_driver+0x1c2/0x220 [ 29.156545][ T1714] bus_for_each_drv+0x162/0x1e0 [ 29.161894][ T1714] __device_attach+0x217/0x360 [ 29.167152][ T1714] bus_probe_device+0x1e4/0x290 [ 29.174151][ T1714] device_add+0xae6/0x16f0 [ 29.179153][ T1714] usb_set_configuration+0xdf6/0x1670 [ 29.185682][ T1714] generic_probe+0x9d/0xd5 [ 29.191256][ T1714] usb_probe_device+0x99/0x100 [ 29.196527][ T1714] really_probe+0x281/0x6d0 [ 29.201544][ T1714] driver_probe_device+0x104/0x210 [ 29.207163][ T1714] __device_attach_driver+0x1c2/0x220 [ 29.213084][ T1714] bus_for_each_drv+0x162/0x1e0 [ 29.218463][ T1714] __device_attach+0x217/0x360 [ 29.223726][ T1714] bus_probe_device+0x1e4/0x290 [ 29.229073][ T1714] device_add+0xae6/0x16f0 [ 29.233997][ T1714] usb_new_device.cold+0x6a4/0xe79 [ 29.239603][ T1714] hub_event+0x1dd0/0x37e0 [ 29.244515][ T1714] process_one_work+0x92b/0x1530 [ 29.249946][ T1714] worker_thread+0x96/0xe20 [ 29.254940][ T1714] kthread+0x318/0x420 [ 29.259501][ T1714] ret_from_fork+0x24/0x30 [ 29.264405][ T1714] [ 29.264405][ T1714] -> #1 (&ictx->lock){+.+.}: [ 29.273502][ T1714] __mutex_lock+0x158/0x1360 [ 29.278757][ T1714] imon_probe+0xf0c/0x2aed [ 29.283685][ T1714] usb_probe_interface+0x305/0x7a0 [ 29.289375][ T1714] really_probe+0x281/0x6d0 [ 29.294718][ T1714] driver_probe_device+0x104/0x210 [ 29.300325][ T1714] __device_attach_driver+0x1c2/0x220 [ 29.306463][ T1714] bus_for_each_drv+0x162/0x1e0 [ 29.311958][ T1714] __device_attach+0x217/0x360 [ 29.317224][ T1714] bus_probe_device+0x1e4/0x290 [ 29.322572][ T1714] device_add+0xae6/0x16f0 [ 29.327746][ T1714] usb_set_configuration+0xdf6/0x1670 [ 29.333677][ T1714] generic_probe+0x9d/0xd5 [ 29.338595][ T1714] usb_probe_device+0x99/0x100 [ 29.343865][ T1714] really_probe+0x281/0x6d0 [ 29.348975][ T1714] driver_probe_device+0x104/0x210 [ 29.354586][ T1714] __device_attach_driver+0x1c2/0x220 [ 29.360455][ T1714] bus_for_each_drv+0x162/0x1e0 [ 29.365800][ T1714] __device_attach+0x217/0x360 [ 29.371055][ T1714] bus_probe_device+0x1e4/0x290 [ 29.377178][ T1714] device_add+0xae6/0x16f0 [ 29.383478][ T1714] usb_new_device.cold+0x6a4/0xe79 [ 29.389355][ T1714] hub_event+0x1dd0/0x37e0 [ 29.394440][ T1714] process_one_work+0x92b/0x1530 [ 29.400229][ T1714] worker_thread+0x96/0xe20 [ 29.407672][ T1714] kthread+0x318/0x420 [ 29.413360][ T1714] ret_from_fork+0x24/0x30 [ 29.418962][ T1714] [ 29.418962][ T1714] -> #0 (driver_lock#2){+.+.}: [ 29.429531][ T1714] __lock_acquire+0x1f74/0x3b60 [ 29.435587][ T1714] lock_acquire+0x127/0x320 [ 29.442144][ T1714] __mutex_lock+0x158/0x1360 [ 29.447233][ T1714] display_open+0x1f/0x1d0 [ 29.452138][ T1714] usb_open+0x1df/0x270 [ 29.456795][ T1714] chrdev_open+0x219/0x5c0 [ 29.461701][ T1714] do_dentry_open+0x494/0x1120 [ 29.466952][ T1714] path_openat+0x1430/0x3ff0 [ 29.472042][ T1714] do_filp_open+0x1a1/0x280 [ 29.477046][ T1714] do_sys_open+0x3c0/0x580 [ 29.481953][ T1714] do_syscall_64+0xb7/0x580 [ 29.486945][ T1714] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.493324][ T1714] [ 29.493324][ T1714] other info that might help us debug this: [ 29.493324][ T1714] [ 29.503520][ T1714] Chain exists of: [ 29.503520][ T1714] driver_lock#2 --> &ictx->lock --> minor_rwsem [ 29.503520][ T1714] [ 29.515637][ T1714] Possible unsafe locking scenario: [ 29.515637][ T1714] [ 29.523056][ T1714] CPU0 CPU1 [ 29.528391][ T1714] ---- ---- [ 29.533812][ T1714] lock(minor_rwsem); [ 29.537858][ T1714] lock(&ictx->lock); [ 29.544418][ T1714] lock(minor_rwsem); [ 29.550970][ T1714] lock(driver_lock#2); [ 29.555180][ T1714] [ 29.555180][ T1714] *** DEADLOCK *** [ 29.555180][ T1714] [ 29.563295][ T1714] 1 lock held by syz-executor388/1714: [ 29.568715][ T1714] #0: ffffffff8721ef08 (minor_rwsem){++++}, at: usb_open+0x23/0x270 [ 29.576753][ T1714] [ 29.576753][ T1714] stack backtrace: [ 29.582710][ T1714] CPU: 0 PID: 1714 Comm: syz-executor388 Not tainted 5.4.0-rc3+ #0 [ 29.590564][ T1714] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.600589][ T1714] Call Trace: [ 29.603854][ T1714] dump_stack+0xca/0x13e [ 29.608068][ T1714] check_noncircular+0x32e/0x3e0 [ 29.612976][ T1714] ? profile_setup.cold+0xc1/0xc1 [ 29.617980][ T1714] ? print_circular_bug.isra.0+0x1e0/0x1e0 [ 29.624027][ T1714] ? usage_accumulate+0xa0/0xa0 [ 29.628864][ T1714] ? graph_lock+0x80/0x180 [ 29.633249][ T1714] ? hlock_class+0x120/0x120 [ 29.637811][ T1714] ? mark_lock+0xbc/0x1160 [ 29.642196][ T1714] ? find_first_zero_bit+0x94/0xb0 [ 29.647282][ T1714] __lock_acquire+0x1f74/0x3b60 [ 29.652117][ T1714] ? mark_held_locks+0xe0/0xe0 [ 29.656859][ T1714] ? hlock_class+0x120/0x120 [ 29.661418][ T1714] ? mark_lock+0xbc/0x1160 [ 29.665808][ T1714] ? find_first_zero_bit+0x94/0xb0 [ 29.670888][ T1714] lock_acquire+0x127/0x320 [ 29.675365][ T1714] ? display_open+0x1f/0x1d0 [ 29.679924][ T1714] __mutex_lock+0x158/0x1360 [ 29.684484][ T1714] ? display_open+0x1f/0x1d0 [ 29.689044][ T1714] ? mark_held_locks+0xe0/0xe0 [ 29.693773][ T1714] ? display_open+0x1f/0x1d0 [ 29.698332][ T1714] ? __lock_acquire+0x145e/0x3b60 [ 29.703332][ T1714] ? mutex_trylock+0x2c0/0x2c0 [ 29.708063][ T1714] ? lock_acquire+0x127/0x320 [ 29.712706][ T1714] ? usb_open+0x23/0x270 [ 29.716926][ T1714] ? down_read+0x115/0x420 [ 29.721312][ T1714] ? m_show+0x4f0/0x4f0 [ 29.725435][ T1714] ? display_open+0x1f/0x1d0 [ 29.729992][ T1714] display_open+0x1f/0x1d0 [ 29.734379][ T1714] ? usb_tx_callback+0x110/0x110 [ 29.739287][ T1714] usb_open+0x1df/0x270 [ 29.743421][ T1714] ? usb_devnode+0xa0/0xa0 [ 29.747817][ T1714] chrdev_open+0x219/0x5c0 [ 29.752203][ T1714] ? cdev_put.part.0+0x50/0x50 [ 29.756945][ T1714] do_dentry_open+0x494/0x1120 [ 29.761679][ T1714] ? cdev_put.part.0+0x50/0x50 [ 29.766409][ T1714] ? chmod_common+0x3c0/0x3c0 [ 29.771053][ T1714] ? inode_permission+0xbe/0x3a0 [ 29.775977][ T1714] path_openat+0x1430/0x3ff0 [ 29.780535][ T1714] ? save_stack+0x1b/0x80 [ 29.784857][ T1714] ? do_sys_open+0x294/0x580 [ 29.789416][ T1714] ? do_syscall_64+0xb7/0x580 [ 29.794077][ T1714] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.800113][ T1714] ? path_lookupat.isra.0+0x8d0/0x8d0 [ 29.805976][ T1714] ? __lock_acquire+0x145e/0x3b60 [ 29.810977][ T1714] do_filp_open+0x1a1/0x280 [ 29.815447][ T1714] ? may_open_dev+0xf0/0xf0 [ 29.819919][ T1714] ? __alloc_fd+0x46d/0x600 [ 29.824388][ T1714] ? _raw_spin_unlock+0x1f/0x30 [ 29.829225][ T1714] ? __alloc_fd+0x46d/0x600 [ 29.833701][ T1714] do_sys_open+0x3c0/0x580 [ 29.838085][ T1714] ? filp_open+0x70/0x70 [ 29.842295][ T1714] ? switch_fpu_return+0x1c2/0x430 [ 29.847376][ T1714] ? hrtimer_nanosleep+0x4f0/0x4f0 [ 29.852456][ T1714] ? trace_hardirqs_off_caller+0x55/0x1e0 [ 29.858143][ T1714] do_syscall_64+0xb7/0x580 [ 29.862623][ T1714] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.868483][ T1714] RIP: 0033:0x4016a0 [ 29.872350][ T1714] Code: 01 f0 ff ff 0f 83 00 0b 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 8d 24 2d 00 00 75 14 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 d4 0a 00 00 c3 48 83 ec 08 e8 3a 00 00 00 [ 29.891923][ T1714] RSP: 002b:00007ffdb357acd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 29.900305][ T1714] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004016a0 [ 29.908250][ T1714] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00007ffdb357acf0 [ 29.916196][ T1714] RBP: 00000000006cb018 R08: 0000000000000000 R09: 000000000000000f [ 29.924138][ T1714] R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000402600 [ 29.932079][ T