Warning: Permanently added '10.128.0.117' (ECDSA) to the list of known hosts. executing program [ 24.193334][ T69] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 24.553211][ T69] usb 1-1: config 0 interface 0 altsetting 0 endpoint 0x84 has an invalid bInterval 0, changing to 7 [ 24.564201][ T69] usb 1-1: New USB device found, idVendor=15c2, idProduct=0035, bcdDevice=d2.65 [ 24.573305][ T69] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 24.582930][ T69] usb 1-1: config 0 descriptor?? [ 24.628686][ T69] input: iMON Panel, Knob and Mouse(15c2:0035) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/input/input5 [ 24.843208][ T69] imon:send_packet: packet tx failed (-71) [ 24.863137][ T69] imon 1-1:0.0: panel buttons/knobs setup failed [ 24.869592][ T69] Registered IR keymap rc-imon-pad [ 24.882974][ T69] imon:send_packet: packet tx failed (-71) [ 24.902984][ T69] imon 1-1:0.0: remote input dev register failed [ 24.909393][ T69] imon 1-1:0.0: imon_init_intf0: rc device setup failed [ 25.003087][ T69] imon 1-1:0.0: unable to initialize intf0, err 0 [ 25.010560][ T69] imon:imon_probe: failed to initialize context! [ 25.016960][ T69] imon 1-1:0.0: unable to register, err -19 [ 25.024808][ T69] usb 1-1: USB disconnect, device number 2 [ 25.382646][ T69] usb 1-1: new high-speed USB device number 3 using dummy_hcd [ 25.742512][ T69] usb 1-1: config 0 interface 0 altsetting 0 endpoint 0x84 has an invalid bInterval 0, changing to 7 [ 25.753583][ T69] usb 1-1: New USB device found, idVendor=15c2, idProduct=0035, bcdDevice=d2.65 [ 25.762654][ T69] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 25.773837][ T69] usb 1-1: config 0 descriptor?? [ 25.816865][ T69] input: iMON Panel, Knob and Mouse(15c2:0035) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/input/input7 [ 26.052264][ T69] Registered IR keymap rc-imon-pad [ 26.272609][ T69] rc rc0: iMON Remote (15c2:0035) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/rc/rc0 [ 26.283325][ T69] input: iMON Remote (15c2:0035) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/rc/rc0/input8 [ 26.306240][ T69] imon 1-1:0.0: iMON device (15c2:0035, intf0) on usb<1:3> initialized [ 26.452306][ T337] [ 26.454677][ T337] ====================================================== [ 26.461665][ T337] WARNING: possible circular locking dependency detected [ 26.468652][ T337] 5.8.0-rc3-syzkaller #0 Not tainted [ 26.473929][ T337] ------------------------------------------------------ [ 26.480915][ T337] syz-executor535/337 is trying to acquire lock: [ 26.487203][ T337] ffffffff87b35f68 (driver_lock){+.+.}-{3:3}, at: display_open+0x1f/0x220 [ 26.495680][ T337] [ 26.495680][ T337] but task is already holding lock: [ 26.503009][ T337] ffffffff878ac990 (minor_rwsem){++++}-{3:3}, at: usb_open+0x23/0x270 [ 26.511134][ T337] [ 26.511134][ T337] which lock already depends on the new lock. [ 26.511134][ T337] [ 26.521510][ T337] [ 26.521510][ T337] the existing dependency chain (in reverse order) is: [ 26.530501][ T337] [ 26.530501][ T337] -> #2 (minor_rwsem){++++}-{3:3}: [ 26.538202][ T337] down_write+0x92/0x150 [ 26.542939][ T337] usb_register_dev+0x19d/0x740 [ 26.548316][ T337] imon_probe+0x2459/0x2b60 [ 26.553313][ T337] usb_probe_interface+0x315/0x7f0 [ 26.558914][ T337] really_probe+0x291/0xc90 [ 26.563961][ T337] driver_probe_device+0x26b/0x3d0 [ 26.569573][ T337] __device_attach_driver+0x1d1/0x290 [ 26.575433][ T337] bus_for_each_drv+0x15f/0x1e0 [ 26.580770][ T337] __device_attach+0x28d/0x430 [ 26.586022][ T337] bus_probe_device+0x1e4/0x290 [ 26.591360][ T337] device_add+0xb09/0x1b40 [ 26.596266][ T337] usb_set_configuration+0xf05/0x18a0 [ 26.602125][ T337] usb_generic_driver_probe+0xba/0xf2 [ 26.607986][ T337] usb_probe_device+0xd9/0x250 [ 26.613250][ T337] really_probe+0x291/0xc90 [ 26.618248][ T337] driver_probe_device+0x26b/0x3d0 [ 26.623852][ T337] __device_attach_driver+0x1d1/0x290 [ 26.629719][ T337] bus_for_each_drv+0x15f/0x1e0 [ 26.635103][ T337] __device_attach+0x28d/0x430 [ 26.640363][ T337] bus_probe_device+0x1e4/0x290 [ 26.645704][ T337] device_add+0xb09/0x1b40 [ 26.650647][ T337] usb_new_device.cold+0x71d/0xfd4 [ 26.656256][ T337] hub_event+0x2361/0x4390 [ 26.661160][ T337] process_one_work+0x94c/0x15f0 [ 26.666582][ T337] worker_thread+0x82b/0x1120 [ 26.671746][ T337] kthread+0x392/0x470 [ 26.676303][ T337] ret_from_fork+0x1f/0x30 [ 26.681228][ T337] [ 26.681228][ T337] -> #1 (&ictx->lock){+.+.}-{3:3}: [ 26.689351][ T337] __mutex_lock+0x134/0x10a0 [ 26.694431][ T337] imon_probe+0xfbf/0x2b60 [ 26.699349][ T337] usb_probe_interface+0x315/0x7f0 [ 26.704961][ T337] really_probe+0x291/0xc90 [ 26.709960][ T337] driver_probe_device+0x26b/0x3d0 [ 26.715562][ T337] __device_attach_driver+0x1d1/0x290 [ 26.721436][ T337] bus_for_each_drv+0x15f/0x1e0 [ 26.726779][ T337] __device_attach+0x28d/0x430 [ 26.732033][ T337] bus_probe_device+0x1e4/0x290 [ 26.737378][ T337] device_add+0xb09/0x1b40 [ 26.742328][ T337] usb_set_configuration+0xf05/0x18a0 [ 26.748225][ T337] usb_generic_driver_probe+0xba/0xf2 [ 26.754085][ T337] usb_probe_device+0xd9/0x250 [ 26.759335][ T337] really_probe+0x291/0xc90 [ 26.764326][ T337] driver_probe_device+0x26b/0x3d0 [ 26.769923][ T337] __device_attach_driver+0x1d1/0x290 [ 26.775819][ T337] bus_for_each_drv+0x15f/0x1e0 [ 26.781157][ T337] __device_attach+0x28d/0x430 [ 26.786409][ T337] bus_probe_device+0x1e4/0x290 [ 26.791781][ T337] device_add+0xb09/0x1b40 [ 26.796688][ T337] usb_new_device.cold+0x71d/0xfd4 [ 26.802287][ T337] hub_event+0x2361/0x4390 [ 26.807201][ T337] process_one_work+0x94c/0x15f0 [ 26.812627][ T337] worker_thread+0x64c/0x1120 [ 26.817790][ T337] kthread+0x392/0x470 [ 26.822346][ T337] ret_from_fork+0x1f/0x30 [ 26.827246][ T337] [ 26.827246][ T337] -> #0 (driver_lock){+.+.}-{3:3}: [ 26.834526][ T337] __lock_acquire+0x2ace/0x5530 [ 26.839876][ T337] lock_acquire+0x183/0x940 [ 26.844868][ T337] __mutex_lock+0x134/0x10a0 [ 26.849958][ T337] display_open+0x1f/0x220 [ 26.854874][ T337] usb_open+0x1df/0x270 [ 26.859520][ T337] chrdev_open+0x266/0x770 [ 26.864426][ T337] do_dentry_open+0x4ff/0x1170 [ 26.869769][ T337] path_openat+0x192c/0x26b0 [ 26.874849][ T337] do_filp_open+0x17e/0x3c0 [ 26.879841][ T337] do_sys_openat2+0x16f/0x3b0 [ 26.885005][ T337] __x64_sys_open+0x119/0x1c0 [ 26.890170][ T337] do_syscall_64+0x50/0x90 [ 26.895074][ T337] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 26.901451][ T337] [ 26.901451][ T337] other info that might help us debug this: [ 26.901451][ T337] [ 26.911645][ T337] Chain exists of: [ 26.911645][ T337] driver_lock --> &ictx->lock --> minor_rwsem [ 26.911645][ T337] [ 26.923583][ T337] Possible unsafe locking scenario: [ 26.923583][ T337] [ 26.931000][ T337] CPU0 CPU1 [ 26.936343][ T337] ---- ---- [ 26.941678][ T337] lock(minor_rwsem); [ 26.945816][ T337] lock(&ictx->lock); [ 26.952366][ T337] lock(minor_rwsem); [ 26.958916][ T337] lock(driver_lock); [ 26.962961][ T337] [ 26.962961][ T337] *** DEADLOCK *** [ 26.962961][ T337] [ 26.971162][ T337] 1 lock held by syz-executor535/337: [ 26.976495][ T337] #0: ffffffff878ac990 (minor_rwsem){++++}-{3:3}, at: usb_open+0x23/0x270 [ 26.985058][ T337] [ 26.985058][ T337] stack backtrace: [ 26.990920][ T337] CPU: 1 PID: 337 Comm: syz-executor535 Not tainted 5.8.0-rc3-syzkaller #0 [ 26.999469][ T337] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.009500][ T337] Call Trace: [ 27.012763][ T337] dump_stack+0xf6/0x16e [ 27.016992][ T337] check_noncircular+0x324/0x3e0 [ 27.021896][ T337] ? print_circular_bug+0x360/0x360 [ 27.027084][ T337] ? call_rcu_zapped+0xb0/0xb0 [ 27.031823][ T337] ? mark_lock+0xbc/0x1590 [ 27.036212][ T337] ? stack_trace_consume_entry+0x160/0x160 [ 27.042006][ T337] ? __lock_acquire+0x16e5/0x5530 [ 27.047000][ T337] __lock_acquire+0x2ace/0x5530 [ 27.051820][ T337] ? lockdep_hardirqs_on_prepare+0x550/0x550 [ 27.057952][ T337] lock_acquire+0x183/0x940 [ 27.062425][ T337] ? display_open+0x1f/0x220 [ 27.067001][ T337] ? lock_release+0x7e0/0x7e0 [ 27.071670][ T337] ? lockdep_hardirqs_on_prepare+0x550/0x550 [ 27.077808][ T337] ? __lock_acquire+0x16e5/0x5530 [ 27.082800][ T337] __mutex_lock+0x134/0x10a0 [ 27.087378][ T337] ? display_open+0x1f/0x220 [ 27.091937][ T337] ? display_open+0x1f/0x220 [ 27.096496][ T337] ? mutex_lock_io_nested+0xf50/0xf50 [ 27.101834][ T337] ? down_read+0x115/0x420 [ 27.106216][ T337] ? down_write+0x150/0x150 [ 27.110693][ T337] ? do_raw_spin_lock+0x120/0x260 [ 27.115701][ T337] display_open+0x1f/0x220 [ 27.120096][ T337] ? display_close+0x160/0x160 [ 27.124834][ T337] usb_open+0x1df/0x270 [ 27.128963][ T337] ? usb_devnode+0xa0/0xa0 [ 27.133348][ T337] chrdev_open+0x266/0x770 [ 27.137731][ T337] ? cdev_device_add+0x210/0x210 [ 27.142636][ T337] ? security_file_open+0x1f5/0x3f0 [ 27.147803][ T337] do_dentry_open+0x4ff/0x1170 [ 27.152535][ T337] ? cdev_device_add+0x210/0x210 [ 27.158655][ T337] path_openat+0x192c/0x26b0 [ 27.163213][ T337] ? path_lookupat+0x830/0x830 [ 27.167949][ T337] ? lock_acquire+0x183/0x940 [ 27.172592][ T337] do_filp_open+0x17e/0x3c0 [ 27.177062][ T337] ? may_open_dev+0xf0/0xf0 [ 27.181537][ T337] ? rwlock_bug.part.0+0x90/0x90 [ 27.186444][ T337] ? _raw_spin_unlock+0x1a/0x30 [ 27.191260][ T337] ? __alloc_fd+0x28d/0x600 [ 27.195731][ T337] do_sys_openat2+0x16f/0x3b0 [ 27.200808][ T337] ? build_open_flags+0x650/0x650 [ 27.205802][ T337] ? put_timespec64+0x120/0x120 [ 27.210621][ T337] __x64_sys_open+0x119/0x1c0 [ 27.215265][ T337] ? do_sys_open+0x140/0x140 [ 27.219838][ T337] ? do_syscall_64+0x1c/0x90 [ 27.224398][ T337] ? lockdep_hardirqs_on_prepare+0x370/0x550 [ 27.230358][ T337] do_syscall_64+0x50/0x90 [ 27.234743][ T337] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 27.240603][ T337] RIP: 0033:0x4018e0 [ 27.244721][ T337] Code: Bad RIP value. [ 27.248756][ T337] RSP: 002b:00007ffe6aedc388 EFLAGS: 00000246 ORIG_RAX: 00