[ 47.989150][ T313] device veth0_macvtap left promiscuous mode [ 47.995567][ T313] device veth1_vlan left promiscuous mode [ 48.001733][ T313] device veth0_vlan left promiscuous mode [ 51.277236][ T313] team0 (unregistering): Port device team_slave_1 removed [ 51.289155][ T313] team0 (unregistering): Port device team_slave_0 removed [ 51.302801][ T313] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface [ 51.316561][ T313] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface [ 51.359738][ T313] bond0 (unregistering): Released all slaves [ 52.863030][ T5443] can: request_module (can-proto-0) failed. [ 52.881346][ T5443] can: request_module (can-proto-0) failed. [ 71.147171][ T3723] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.15.213' (ECDSA) to the list of known hosts. [ 74.074109][ T5] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 74.454241][ T5] usb 1-1: config 0 interface 0 altsetting 0 endpoint 0x84 has an invalid bInterval 0, changing to 7 [ 74.465517][ T5] usb 1-1: New USB device found, idVendor=15c2, idProduct=0039, bcdDevice=d2.65 [ 74.475188][ T5] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 74.486173][ T5] usb 1-1: config 0 descriptor?? [ 74.529126][ T5] input: iMON Panel, Knob and Mouse(15c2:0039) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/input/input5 [ 74.814375][ T5] rc_core: IR keymap rc-imon-pad not found [ 74.820963][ T5] Registered IR keymap rc-empty [ 74.826112][ T5] imon 1-1:0.0: Looks like you're trying to use an IR protocol this device does not support [ 74.836546][ T5] imon 1-1:0.0: Unsupported IR protocol specified, overriding to iMON IR protocol [ 74.985270][ T5] rc rc0: iMON Remote (15c2:0039) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/rc/rc0 [ 74.995961][ T5] input: iMON Remote (15c2:0039) as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.0/rc/rc0/input6 [ 75.011353][ T5] imon 1-1:0.0: iMON device (15c2:0039, intf0) on usb<1:2> initialized [ 75.164704][ T5898] [ 75.167156][ T5898] ====================================================== [ 75.174232][ T5898] WARNING: possible circular locking dependency detected [ 75.181328][ T5898] 5.11.0-syzkaller #0 Not tainted [ 75.186404][ T5898] ------------------------------------------------------ [ 75.193392][ T5898] syz-executor613/5898 is trying to acquire lock: [ 75.199944][ T5898] ffffffff8b7d1168 (driver_lock){+.+.}-{3:3}, at: display_open+0x1e/0x1e0 [ 75.208423][ T5898] [ 75.208423][ T5898] but task is already holding lock: [ 75.215759][ T5898] ffffffff8b5427b0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x1f/0x2a0 [ 75.224073][ T5898] [ 75.224073][ T5898] which lock already depends on the new lock. [ 75.224073][ T5898] [ 75.234526][ T5898] [ 75.234526][ T5898] the existing dependency chain (in reverse order) is: [ 75.243596][ T5898] [ 75.243596][ T5898] -> #2 (minor_rwsem#2){++++}-{3:3}: [ 75.251198][ T5898] down_write+0x8d/0x150 [ 75.256130][ T5898] usb_register_dev+0x12e/0x700 [ 75.261748][ T5898] imon_probe+0x226b/0x2990 [ 75.267182][ T5898] usb_probe_interface+0x274/0x6a0 [ 75.272780][ T5898] really_probe+0x1fd/0xc60 [ 75.277771][ T5898] driver_probe_device+0x1ed/0x380 [ 75.283638][ T5898] bus_for_each_drv+0x11e/0x1a0 [ 75.289060][ T5898] __device_attach+0x1db/0x400 [ 75.294412][ T5898] bus_probe_device+0x19d/0x250 [ 75.299845][ T5898] device_add+0x99a/0x1ad0 [ 75.304925][ T5898] usb_set_configuration+0x9f9/0x1750 [ 75.310877][ T5898] usb_generic_driver_probe+0x74/0xa0 [ 75.316913][ T5898] usb_probe_device+0x98/0x240 [ 75.322347][ T5898] really_probe+0x1fd/0xc60 [ 75.327666][ T5898] driver_probe_device+0x1ed/0x380 [ 75.333274][ T5898] bus_for_each_drv+0x11e/0x1a0 [ 75.338699][ T5898] __device_attach+0x1db/0x400 [ 75.343985][ T5898] bus_probe_device+0x19d/0x250 [ 75.349567][ T5898] device_add+0x99a/0x1ad0 [ 75.354576][ T5898] usb_new_device.cold+0x69a/0xee1 [ 75.360354][ T5898] hub_event+0x10a3/0x36b0 [ 75.365352][ T5898] process_one_work+0x84c/0x13b0 [ 75.370821][ T5898] worker_thread+0x598/0xf80 [ 75.375986][ T5898] kthread+0x36f/0x450 [ 75.380540][ T5898] ret_from_fork+0x1f/0x30 [ 75.385442][ T5898] [ 75.385442][ T5898] -> #1 (&ictx->lock){+.+.}-{3:3}: [ 75.392897][ T5898] __mutex_lock+0x134/0x1110 [ 75.397978][ T5898] imon_probe+0xec9/0x2990 [ 75.402880][ T5898] usb_probe_interface+0x274/0x6a0 [ 75.408580][ T5898] really_probe+0x1fd/0xc60 [ 75.413589][ T5898] driver_probe_device+0x1ed/0x380 [ 75.419373][ T5898] bus_for_each_drv+0x11e/0x1a0 [ 75.424714][ T5898] __device_attach+0x1db/0x400 [ 75.430207][ T5898] bus_probe_device+0x19d/0x250 [ 75.435736][ T5898] device_add+0x99a/0x1ad0 [ 75.440923][ T5898] usb_set_configuration+0x9f9/0x1750 [ 75.446899][ T5898] usb_generic_driver_probe+0x74/0xa0 [ 75.452871][ T5898] usb_probe_device+0x98/0x240 [ 75.458385][ T5898] really_probe+0x1fd/0xc60 [ 75.463783][ T5898] driver_probe_device+0x1ed/0x380 [ 75.469425][ T5898] bus_for_each_drv+0x11e/0x1a0 [ 75.474859][ T5898] __device_attach+0x1db/0x400 [ 75.480215][ T5898] bus_probe_device+0x19d/0x250 [ 75.485643][ T5898] device_add+0x99a/0x1ad0 [ 75.490735][ T5898] usb_new_device.cold+0x69a/0xee1 [ 75.496534][ T5898] hub_event+0x10a3/0x36b0 [ 75.501440][ T5898] process_one_work+0x84c/0x13b0 [ 75.506866][ T5898] worker_thread+0x598/0xf80 [ 75.511954][ T5898] kthread+0x36f/0x450 [ 75.516510][ T5898] ret_from_fork+0x1f/0x30 [ 75.523848][ T5898] [ 75.523848][ T5898] -> #0 (driver_lock){+.+.}-{3:3}: [ 75.531107][ T5898] __lock_acquire+0x2b3b/0x57d0 [ 75.536547][ T5898] lock_acquire+0x1a8/0x720 [ 75.541711][ T5898] __mutex_lock+0x134/0x1110 [ 75.546790][ T5898] display_open+0x1e/0x1e0 [ 75.551868][ T5898] usb_open+0x1d5/0x2a0 [ 75.556695][ T5898] chrdev_open+0x20f/0x650 [ 75.562120][ T5898] do_dentry_open+0x42a/0xfb0 [ 75.567456][ T5898] path_openat+0x129c/0x2190 [ 75.572543][ T5898] do_filp_open+0x16d/0x390 [ 75.577533][ T5898] do_sys_openat2+0x11e/0x360 [ 75.582783][ T5898] __x64_sys_openat+0x11b/0x1d0 [ 75.588296][ T5898] do_syscall_64+0x2d/0x70 [ 75.593307][ T5898] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 75.599689][ T5898] [ 75.599689][ T5898] other info that might help us debug this: [ 75.599689][ T5898] [ 75.610177][ T5898] Chain exists of: [ 75.610177][ T5898] driver_lock --> &ictx->lock --> minor_rwsem#2 [ 75.610177][ T5898] [ 75.622478][ T5898] Possible unsafe locking scenario: [ 75.622478][ T5898] [ 75.629897][ T5898] CPU0 CPU1 [ 75.635234][ T5898] ---- ---- [ 75.640660][ T5898] lock(minor_rwsem#2); [ 75.644960][ T5898] lock(&ictx->lock); [ 75.651605][ T5898] lock(minor_rwsem#2); [ 75.659375][ T5898] lock(driver_lock); [ 75.663582][ T5898] [ 75.663582][ T5898] *** DEADLOCK *** [ 75.663582][ T5898] [ 75.671778][ T5898] 1 lock held by syz-executor613/5898: [ 75.677201][ T5898] #0: ffffffff8b5427b0 (minor_rwsem#2){++++}-{3:3}, at: usb_open+0x1f/0x2a0 [ 75.686633][ T5898] [ 75.686633][ T5898] stack backtrace: [ 75.692534][ T5898] CPU: 0 PID: 5898 Comm: syz-executor613 Not tainted 5.11.0-syzkaller #0 [ 75.701008][ T5898] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.711129][ T5898] Call Trace: [ 75.715002][ T5898] dump_stack+0x9a/0xcc [ 75.719134][ T5898] check_noncircular+0x25f/0x2e0 [ 75.724140][ T5898] ? print_circular_bug+0x480/0x480 [ 75.729427][ T5898] ? save_trace+0x55d/0x9f0 [ 75.733914][ T5898] ? lockdep_lock+0xc6/0x200 [ 75.738580][ T5898] ? call_rcu_zapped+0xb0/0xb0 [ 75.743331][ T5898] __lock_acquire+0x2b3b/0x57d0 [ 75.748164][ T5898] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 75.754540][ T5898] ? call_rcu_zapped+0xb0/0xb0 [ 75.759280][ T5898] ? lock_chain_count+0x20/0x20 [ 75.764109][ T5898] lock_acquire+0x1a8/0x720 [ 75.768668][ T5898] ? display_open+0x1e/0x1e0 [ 75.773404][ T5898] ? lock_release+0x710/0x710 [ 75.778484][ T5898] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 75.784608][ T5898] __mutex_lock+0x134/0x1110 [ 75.789256][ T5898] ? display_open+0x1e/0x1e0 [ 75.793988][ T5898] ? display_open+0x1e/0x1e0 [ 75.798552][ T5898] ? lock_release+0x710/0x710 [ 75.803229][ T5898] ? mutex_lock_io_nested+0xf60/0xf60 [ 75.808750][ T5898] ? down_read+0x195/0x440 [ 75.813309][ T5898] ? chrdev_open+0x4b4/0x650 [ 75.817865][ T5898] ? rwsem_down_read_slowpath+0x980/0x980 [ 75.823742][ T5898] display_open+0x1e/0x1e0 [ 75.828136][ T5898] usb_open+0x1d5/0x2a0 [ 75.832440][ T5898] chrdev_open+0x20f/0x650 [ 75.837024][ T5898] ? cdev_device_add+0x1e0/0x1e0 [ 75.841933][ T5898] ? security_file_open+0x43/0x400 [ 75.847012][ T5898] do_dentry_open+0x42a/0xfb0 [ 75.851679][ T5898] ? cdev_device_add+0x1e0/0x1e0 [ 75.856583][ T5898] ? security_inode_permission+0x6e/0xb0 [ 75.862275][ T5898] path_openat+0x129c/0x2190 [ 75.866840][ T5898] ? path_lookupat+0x660/0x660 [ 75.871665][ T5898] ? mark_lock+0xee/0x1720 [ 75.876048][ T5898] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 75.881994][ T5898] do_filp_open+0x16d/0x390 [ 75.886462][ T5898] ? may_open_dev+0xd0/0xd0 [ 75.891108][ T5898] ? rwlock_bug.part.0+0x90/0x90 [ 75.896317][ T5898] ? _raw_spin_unlock+0x24/0x40 [ 75.901240][ T5898] ? alloc_fd+0x1b2/0x530 [ 75.905635][ T5898] ? getname_flags.part.0+0x89/0x440 [ 75.911293][ T5898] do_sys_openat2+0x11e/0x360 [ 75.915965][ T5898] ? build_open_flags+0x470/0x470 [ 75.920966][ T5898] ? __context_tracking_exit+0x80/0x90 [ 75.926487][ T5898] ? lock_downgrade+0x6d0/0x6d0 [ 75.931480][ T5898] __x64_sys_openat+0x11b/0x1d0 [ 75.936303][ T5898] ? __ia32_sys_open+0x190/0x190 [ 75.941207][ T5898] ? lockdep_hardirqs_on_prepare+0x17b/0x400 [ 75.947786][ T5898] ? syscall_enter_from_user_mode+0x27/0x70 [ 75.953839][ T5898] ? lockdep_hardirqs_on+0x79/0x100 [ 75.959193][ T5898] do_syscall_64+0x2d/0x70 [ 75.963757][ T5898] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 75.969643][ T5898] RIP: 0033:0x7f5f39fdfbc7 [ 75.974194][ T5898] Code: 25 00 00 41 00 3d 00 00 41 00 74 47 64 8b 04 25 18 00 00 00 85 c0 75 6b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 95 00 00 00 48 8b 4c 24 28 64 48 2b 0c 25 [ 75.994956][ T5898] RSP: 002b:00007ffc895f92f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 76.003491][ T5898] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5f39fdfbc7 [ 76.011533][ T5898] RDX: 0000000000000002 RSI: 00007ffc895f9370 RDI: 00000000