INFO: task kworker/1:2:83 blocked for more than 143 seconds. Not tainted 5.4.0-rc6+ #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:2 D23368 83 2 0x80004000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xca/0x250 kernel/sched/core.c:4136 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4195 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x881/0x1360 kernel/locking/mutex.c:1103 input_disconnect_device drivers/input/input.c:732 [inline] __input_unregister_device+0x23/0x430 drivers/input/input.c:2081 input_unregister_device+0xb4/0xf0 drivers/input/input.c:2268 iforce_usb_disconnect+0x5e/0xf0 drivers/input/joystick/iforce/iforce-usb.c:261 usb_unbind_interface+0x1bd/0x8a0 drivers/usb/core/driver.c:423 __device_release_driver drivers/base/dd.c:1134 [inline] device_release_driver_internal+0x42f/0x500 drivers/base/dd.c:1165 bus_remove_device+0x2dc/0x4a0 drivers/base/bus.c:532 device_del+0x420/0xb20 drivers/base/core.c:2376 usb_disable_device+0x211/0x690 drivers/usb/core/message.c:1237 usb_disconnect+0x284/0x8d0 drivers/usb/core/hub.c:2200 hub_port_connect drivers/usb/core/hub.c:5035 [inline] hub_port_connect_change drivers/usb/core/hub.c:5324 [inline] port_event drivers/usb/core/hub.c:5470 [inline] hub_event+0x16f2/0x3800 drivers/usb/core/hub.c:5552 process_one_work+0x92b/0x1530 kernel/workqueue.c:2269 worker_thread+0x96/0xe20 kernel/workqueue.c:2415 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 2 locks held by kworker/u4:0/7: #0: ffff8881da029928 ((wq_completion)events_unbound){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da029928 ((wq_completion)events_unbound){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da029928 ((wq_completion)events_unbound){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da029928 ((wq_completion)events_unbound){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da029928 ((wq_completion)events_unbound){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8881da029928 ((wq_completion)events_unbound){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8881da029928 ((wq_completion)events_unbound){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2240 #1: ffff8881da1f7dd0 ((work_completion)(&sub_info->work)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2244 1 lock held by khungtaskd/22: #0: ffffffff86cfe8a0 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:5335 6 locks held by kworker/1:2/83: #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2240 #1: ffff8881d89b7dd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2244 #2: ffff8881d514e200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1462 [inline] #2: ffff8881d514e200 (&dev->mutex){....}, at: hub_event+0x1b2/0x3800 drivers/usb/core/hub.c:5498 #3: ffff8881d2f7c200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1462 [inline] #3: ffff8881d2f7c200 (&dev->mutex){....}, at: usb_disconnect+0x91/0x8d0 drivers/usb/core/hub.c:2191 #4: ffff8881da3d0190 (&dev->mutex){....}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1162 #5: ffff8881ccd652a8 (&dev->mutex#2){+.+.}, at: input_disconnect_device drivers/input/input.c:732 [inline] #5: ffff8881ccd652a8 (&dev->mutex#2){+.+.}, at: __input_unregister_device+0x23/0x430 drivers/input/input.c:2081 6 locks held by kworker/0:2/102: 1 lock held by rsyslogd/1600: 2 locks held by login/1691: #0: ffff8881d141a090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffff8881d141a118 (&tty->atomic_write_lock){+.+.}, at: tty_write_lock+0x1e/0x80 drivers/tty/tty_io.c:887 2 locks held by getty/1692: #0: ffff8881d21e3090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc9000046d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1693: #0: ffff8881d2131090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc900004512e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1694: #0: ffff8881d21e2090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc900004692e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1695: #0: ffff8881d1461090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc900004752e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1696: #0: ffff8881d2034090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc900004612e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 2 locks held by getty/1697: #0: ffff8881d1863090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: ffffc9000043d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x223/0x1ae0 drivers/tty/n_tty.c:2156 3 locks held by kworker/0:3/2735: 2 locks held by kworker/0:5/2755: #0: ffff8881da028d28 ((wq_completion)events){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881da028d28 ((wq_completion)events){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881da028d28 ((wq_completion)events){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881da028d28 ((wq_completion)events){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881da028d28 ((wq_completion)events){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8881da028d28 ((wq_completion)events){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8881da028d28 ((wq_completion)events){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2240 #1: ffff8881ae56fdd0 ((work_completion)(&pwq->unbound_release_work)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2244 5 locks held by kworker/1:6/3069: 5 locks held by kworker/0:8/3621: #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8881d8f46128 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x827/0x1530 kernel/workqueue.c:2240 #1: ffff8881d5d97dd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85b/0x1530 kernel/workqueue.c:2244 #2: ffff8881d51bb200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1462 [inline] #2: ffff8881d51bb200 (&dev->mutex){....}, at: hub_event+0x1b2/0x3800 drivers/usb/core/hub.c:5498 #3: ffff8881c974b200 (&dev->mutex){....}, at: device_lock include/linux/device.h:1462 [inline] #3: ffff8881c974b200 (&dev->mutex){....}, at: __device_attach+0x7b/0x360 drivers/base/dd.c:871 #4: ffff8881d1860190 (&dev->mutex){....}, at: device_lock include/linux/device.h:1462 [inline] #4: ffff8881d1860190 (&dev->mutex){....}, at: __device_attach+0x7b/0x360 drivers/base/dd.c:871 2 locks held by syz-executor.3/7159: #0: ffff8881d3de3148 (&evdev->mutex){+.+.}, at: evdev_close_device drivers/input/evdev.c:425 [inline] #0: ffff8881d3de3148 (&evdev->mutex){+.+.}, at: evdev_release+0xeb/0x1c0 drivers/input/evdev.c:466 #1: ffff8881ccd652a8 (&dev->mutex#2){+.+.}, at: input_close_device+0x42/0x1a0 drivers/input/input.c:673 1 lock held by syz-executor.4/8924: #0: ffff8881d5397148 (&evdev->mutex){+.+.}, at: evdev_flush+0x6f/0x140 drivers/input/evdev.c:334 1 lock held by syz-executor.4/8931: 1 lock held by syz-executor.5/8951: #0: ffff8881d3de3148 (&evdev->mutex){+.+.}, at: evdev_open_device drivers/input/evdev.c:407 [inline] #0: ffff8881d3de3148 (&evdev->mutex){+.+.}, at: evdev_open+0x293/0x510 drivers/input/evdev.c:499 1 lock held by modprobe/8955: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 22 Comm: khungtaskd Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xca/0x13e lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x55/0x96 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1c7 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0x9a4/0xe50 kernel/hung_task.c:289 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8931 Comm: syz-executor.4 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_switch+0x37/0x70 kernel/kcov.c:309 Code: 08 48 83 f8 20 74 52 77 39 48 83 f8 08 74 43 48 83 f8 10 75 28 bf 03 00 00 00 4c 8b 65 00 31 db 4d 85 e4 74 18 48 8b 74 dd 10 <48> 83 c3 01 48 8b 4c 24 18 e8 5b fe ff ff 49 39 dc 75 e8 5b 5d 41 RSP: 0018:ffff8881ce20fc60 EFLAGS: 00000006 RAX: 0000000000000002 RBX: 0000000000000008 RCX: ffffffff83a38471 RDX: 0000000000000000 RSI: 0000000000000014 RDI: 0000000000000005 RBP: ffffffff86236840 R08: ffff8881ade33000 R09: ffffed103b66658d R10: ffffed103b66658c R11: ffff8881db332c63 R12: 000000000000000b R13: 0000000000000000 R14: 0000000000000000 R15: ffff8881d701c210 FS: 00007fab2be45700(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020ede000 CR3: 00000001b4ad4000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: input_get_disposition drivers/input/input.c:266 [inline] input_handle_event+0x31/0x13a0 drivers/input/input.c:369 input_inject_event+0x30a/0x323 drivers/input/input.c:470 evdev_write+0x2c9/0x410 drivers/input/evdev.c:542 __vfs_write+0x76/0x100 fs/read_write.c:494 vfs_write+0x262/0x5c0 fs/read_write.c:558 ksys_write+0x1e8/0x250 fs/read_write.c:611 do_syscall_64+0xb7/0x580 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a219 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fab2be44c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 00000000ffffff45 RSI: 0000000020001200 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fab2be456d4 R13: 00000000004cabbd R14: 00000000004e30a8 R15: 00000000ffffffff