INFO: task kworker/0:5:2777 blocked for more than 143 seconds. Not tainted 5.2.0-rc6+ #15 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:5 D24376 2777 2 0x80004000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0x96/0x240 /kernel/sched/core.c:3509 schedule_timeout+0x682/0xb20 /kernel/time/timer.c:1783 do_wait_for_common /kernel/sched/completion.c:83 [inline] __wait_for_common /kernel/sched/completion.c:104 [inline] wait_for_common /kernel/sched/completion.c:115 [inline] wait_for_completion+0x26f/0x3c0 /kernel/sched/completion.c:136 kthread_stop+0xe6/0x5a0 /kernel/kthread.c:559 hwrng_unregister+0x190/0x210 /drivers/char/hw_random/core.c:535 chaoskey_disconnect+0x1b2/0x200 /drivers/usb/misc/chaoskey.c:231 usb_unbind_interface+0x1bd/0x8a0 /drivers/usb/core/driver.c:423 __device_release_driver /drivers/base/dd.c:1081 [inline] device_release_driver_internal+0x404/0x4c0 /drivers/base/dd.c:1112 bus_remove_device+0x2dc/0x4a0 /drivers/base/bus.c:556 device_del+0x460/0xb80 /drivers/base/core.c:2274 usb_disable_device+0x211/0x690 /drivers/usb/core/message.c:1237 usb_disconnect+0x284/0x830 /drivers/usb/core/hub.c:2199 hub_port_connect /drivers/usb/core/hub.c:4949 [inline] hub_port_connect_change /drivers/usb/core/hub.c:5213 [inline] port_event /drivers/usb/core/hub.c:5359 [inline] hub_event+0x13bd/0x3550 /drivers/usb/core/hub.c:5441 process_one_work+0x905/0x1570 /kernel/workqueue.c:2269 worker_thread+0x96/0xe20 /kernel/workqueue.c:2415 kthread+0x30b/0x410 /kernel/kthread.c:255 ret_from_fork+0x24/0x30 /arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: 00000000a4c36e50 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x269 /kernel/locking/lockdep.c:5147 1 lock held by rsyslogd/1615: 2 locks held by getty/1704: #0: 000000009a85b505 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 /drivers/tty/tty_ldisc.c:272 #1: 0000000068deea24 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 /drivers/tty/n_tty.c:2156 2 locks held by getty/1705: #0: 0000000007f55882 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 /drivers/tty/tty_ldisc.c:272 #1: 00000000403bf795 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 /drivers/tty/n_tty.c:2156 2 locks held by getty/1706: #0: 000000009f5a4484 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 /drivers/tty/tty_ldisc.c:272 #1: 000000008354bbaa (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 /drivers/tty/n_tty.c:2156 2 locks held by getty/1707: #0: 00000000ded8fa09 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 /drivers/tty/tty_ldisc.c:272 #1: 00000000a4697ed8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 /drivers/tty/n_tty.c:2156 2 locks held by getty/1708: #0: 000000002fd36b4e (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 /drivers/tty/tty_ldisc.c:272 #1: 000000003202a500 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 /drivers/tty/n_tty.c:2156 2 locks held by getty/1709: #0: 00000000e2793cd5 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 /drivers/tty/tty_ldisc.c:272 #1: 000000009f854159 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 /drivers/tty/n_tty.c:2156 2 locks held by getty/1710: #0: 00000000364bd4f1 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 /drivers/tty/tty_ldisc.c:272 #1: 000000008ba6d545 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 /drivers/tty/n_tty.c:2156 3 locks held by kworker/1:2/1995: #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size /./include/linux/compiler.h:221 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set /./arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set /./include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set /./include/asm-generic/atomic-long.h:40 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data /kernel/workqueue.c:620 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending /kernel/workqueue.c:647 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81a/0x1570 /kernel/workqueue.c:2240 #1: 00000000c6fd1013 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x84e/0x1570 /kernel/workqueue.c:2244 #2: 000000001d662665 (&dev->mutex){....}, at: device_lock /./include/linux/device.h:1208 [inline] #2: 000000001d662665 (&dev->mutex){....}, at: hub_event+0x179/0x3550 /drivers/usb/core/hub.c:5387 5 locks held by kworker/0:5/2777: #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size /./include/linux/compiler.h:221 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set /./arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set /./include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set /./include/asm-generic/atomic-long.h:40 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data /kernel/workqueue.c:620 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending /kernel/workqueue.c:647 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81a/0x1570 /kernel/workqueue.c:2240 #1: 00000000440e0b98 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x84e/0x1570 /kernel/workqueue.c:2244 #2: 0000000068290fd5 (&dev->mutex){....}, at: device_lock /./include/linux/device.h:1208 [inline] #2: 0000000068290fd5 (&dev->mutex){....}, at: hub_event+0x179/0x3550 /drivers/usb/core/hub.c:5387 #3: 00000000c8eb1e4a (&dev->mutex){....}, at: device_lock /./include/linux/device.h:1208 [inline] #3: 00000000c8eb1e4a (&dev->mutex){....}, at: usb_disconnect+0x91/0x830 /drivers/usb/core/hub.c:2190 #4: 00000000c28f63f9 (&dev->mutex){....}, at: device_release_driver_internal+0x23/0x4c0 /drivers/base/dd.c:1109 5 locks held by kworker/0:6/2813: 3 locks held by kworker/1:4/2827: #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size /./include/linux/compiler.h:221 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set /./arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set /./include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set /./include/asm-generic/atomic-long.h:40 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data /kernel/workqueue.c:620 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending /kernel/workqueue.c:647 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81a/0x1570 /kernel/workqueue.c:2240 #1: 000000002010bb18 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x84e/0x1570 /kernel/workqueue.c:2244 #2: 0000000003c93a24 (&dev->mutex){....}, at: device_lock /./include/linux/device.h:1208 [inline] #2: 0000000003c93a24 (&dev->mutex){....}, at: hub_event+0x179/0x3550 /drivers/usb/core/hub.c:5387 4 locks held by kworker/1:6/2982: #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size /./include/linux/compiler.h:221 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set /./arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set /./include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set /./include/asm-generic/atomic-long.h:40 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data /kernel/workqueue.c:620 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending /kernel/workqueue.c:647 [inline] #0: 00000000f259a561 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81a/0x1570 /kernel/workqueue.c:2240 #1: 00000000cdb63a92 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x84e/0x1570 /kernel/workqueue.c:2244 #2: 0000000092ba877e (&dev->mutex){....}, at: device_lock /./include/linux/device.h:1208 [inline] #2: 0000000092ba877e (&dev->mutex){....}, at: hub_event+0x179/0x3550 /drivers/usb/core/hub.c:5387 #3: 000000000d019eb2 (&dev->mutex){....}, at: device_lock /./include/linux/device.h:1208 [inline] #3: 000000000d019eb2 (&dev->mutex){....}, at: __device_attach+0x7b/0x360 /drivers/base/dd.c:820 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 5.2.0-rc6+ #15 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+0x48/0x87 /lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1bd /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+0x989/0xe20 /kernel/hung_task.c:289 kthread+0x30b/0x410 /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: 1757 Comm: syz-executor.3 Not tainted 5.2.0-rc6+ #15 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del /./include/linux/list.h:105 [inline] RIP: 0010:__list_del_entry /./include/linux/list.h:120 [inline] RIP: 0010:__list_del_entry /./include/linux/list.h:115 [inline] RIP: 0010:list_del_init /./include/linux/list.h:176 [inline] RIP: 0010:account_entity_dequeue+0x20c/0x3b0 /kernel/sched/fair.c:2711 Code: 00 0f 85 78 01 00 00 4c 8d 6e 38 4c 8b 7e 30 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 8a 01 00 00 <49> 8d 7f 08 4c 8b 76 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 RSP: 0018:ffff8881b3a2fad0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff8881db332cc0 RCX: 0000000000000220 RDX: 1ffff110394b6317 RSI: ffff8881ca5b1880 RDI: ffff8881ca4300b8 RBP: 0000000000000001 R08: ffff8881ca5b1890 R09: ffff8881ca5b1a28 R10: ffff8881ca5b1a10 R11: ffff8881ca5b19e0 R12: ffff8881ca5b18b0 R13: ffff8881ca5b18b8 R14: ffff8881ca5b1880 R15: ffff8881ca4300b0 FS: 00005555559ee940(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001800 CR3: 00000001b3a24000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dequeue_entity /kernel/sched/fair.c:4014 [inline] dequeue_task_fair+0x254/0x3d30 /kernel/sched/fair.c:5276 __schedule+0x901/0x1680 /kernel/sched/core.c:3409 schedule+0x96/0x240 /kernel/sched/core.c:3509 freezable_schedule /./include/linux/freezer.h:172 [inline] do_nanosleep+0x201/0x6a0 /kernel/time/hrtimer.c:1679 hrtimer_nanosleep+0x258/0x510 /kernel/time/hrtimer.c:1733 __do_sys_nanosleep /kernel/time/hrtimer.c:1767 [inline] __se_sys_nanosleep /kernel/time/hrtimer.c:1754 [inline] __x64_sys_nanosleep+0x19d/0x220 /kernel/time/hrtimer.c:1754 do_syscall_64+0xb7/0x560 /arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457cd0 Code: c0 5b 5d c3 66 0f 1f 44 00 00 8b 04 24 48 83 c4 18 5b 5d c3 66 0f 1f 44 00 00 83 3d 81 ea 61 00 00 75 14 b8 23 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 24 d3 fb ff c3 48 83 ec 08 e8 ea 46 00 00 RSP: 002b:00007ffd4095f2d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000023 RAX: ffffffffffffffda RBX: 000000000008c9b1 RCX: 0000000000457cd0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffd4095f2e0 RBP: 00000000000002a0 R08: 0000000000000001 R09: 00005555559ee940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4095f330 R14: 000000000008c9b1 R15: 00007ffd4095f340