INFO: task kworker/1:0:17 blocked for more than 143 seconds. Not tainted 5.6.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/1:0 D27296 17 2 0x80004000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0xcd/0x2b0 kernel/sched/core.c:4154 schedule_timeout+0x682/0xb20 kernel/time/timer.c:1871 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+0x17a/0x780 kernel/kthread.c:559 hwrng_unregister+0x24f/0x330 drivers/char/hw_random/core.c:556 chaoskey_disconnect+0x216/0x290 drivers/usb/misc/chaoskey.c:232 usb_unbind_interface+0x1bd/0x8a0 drivers/usb/core/driver.c:436 __device_release_driver drivers/base/dd.c:1137 [inline] device_release_driver_internal+0x42f/0x500 drivers/base/dd.c:1168 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:533 device_del+0x481/0xd30 drivers/base/core.c:2677 usb_disable_device+0x23d/0x790 drivers/usb/core/message.c:1237 usb_disconnect+0x293/0x900 drivers/usb/core/hub.c:2211 hub_port_connect drivers/usb/core/hub.c:5046 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x1a1d/0x4300 drivers/usb/core/hub.c:5563 process_one_work+0x94b/0x1620 kernel/workqueue.c:2264 worker_thread+0x96/0xe20 kernel/workqueue.c:2410 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: 5 locks held by kworker/0:0/5: #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x82a/0x1620 kernel/workqueue.c:2235 #1: ffff8881da1dfdd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85e/0x1620 kernel/workqueue.c:2239 #2: ffff8881d48eb200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8881d48eb200 (&dev->mutex){....}, at: hub_event+0x1be/0x4300 drivers/usb/core/hub.c:5509 #3: ffff8881d9668200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8881d9668200 (&dev->mutex){....}, at: __device_attach+0x7b/0x390 drivers/base/dd.c:874 #4: ffff8881d3fab190 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #4: ffff8881d3fab190 (&dev->mutex){....}, at: __device_attach+0x7b/0x390 drivers/base/dd.c:874 4 locks held by kworker/0:1/12: 5 locks held by kworker/1:0/17: #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x82a/0x1620 kernel/workqueue.c:2235 #1: ffff8881da267dd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85e/0x1620 kernel/workqueue.c:2239 #2: ffff8881d4952200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8881d4952200 (&dev->mutex){....}, at: hub_event+0x1be/0x4300 drivers/usb/core/hub.c:5509 #3: ffff8881ad9fd200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #3: ffff8881ad9fd200 (&dev->mutex){....}, at: usb_disconnect+0x91/0x900 drivers/usb/core/hub.c:2202 #4: ffff8881c7e88190 (&dev->mutex){....}, at: device_release_driver_internal+0x23/0x500 drivers/base/dd.c:1165 1 lock held by khungtaskd/23: #0: ffffffff87109060 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x264 kernel/locking/lockdep.c:5331 6 locks held by kworker/1:2/83: #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x82a/0x1620 kernel/workqueue.c:2235 #1: ffff8881d8abfdd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85e/0x1620 kernel/workqueue.c:2239 #2: ffff8881d4998200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8881d4998200 (&dev->mutex){....}, at: hub_event+0x1be/0x4300 drivers/usb/core/hub.c:5509 #3: ffff8881d499a540 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:3008 [inline] #3: ffff8881d499a540 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5126 [inline] #3: ffff8881d499a540 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] #3: ffff8881d499a540 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5481 [inline] #3: ffff8881d499a540 (&port_dev->status_lock){+.+.}, at: hub_event+0x1fae/0x4300 drivers/usb/core/hub.c:5563 #4: ffff8881d4efc660 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b6/0x2e60 drivers/usb/core/hub.c:4550 #5: ffffffff8767fb08 (ehci_cf_port_reset_rwsem){.+.+}, at: hub_port_reset+0x186/0x1790 drivers/usb/core/hub.c:2870 5 locks held by kworker/0:2/95: #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:615 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:642 [inline] #0: ffff8881d88b8d28 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x82a/0x1620 kernel/workqueue.c:2235 #1: ffff8881d58efdd0 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x85e/0x1620 kernel/workqueue.c:2239 #2: ffff8881d48cc200 (&dev->mutex){....}, at: device_lock include/linux/device.h:771 [inline] #2: ffff8881d48cc200 (&dev->mutex){....}, at: hub_event+0x1be/0x4300 drivers/usb/core/hub.c:5509 #3: ffff8881d48ce540 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:3008 [inline] #3: ffff8881d48ce540 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5126 [inline] #3: ffff8881d48ce540 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] #3: ffff8881d48ce540 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5481 [inline] #3: ffff8881d48ce540 (&port_dev->status_lock){+.+.}, at: hub_event+0x1fae/0x4300 drivers/usb/core/hub.c:5563 #4: ffff8881d52d8e60 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b6/0x2e60 drivers/usb/core/hub.c:4550 1 lock held by rsyslogd/1675: #0: ffff8881cfaf34e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:821 2 locks held by getty/1766: #0: ffff8881ce9da090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900008372e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/1767: #0: ffff8881cee6f090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000083b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/1768: #0: ffff8881ce988090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900008432e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/1769: #0: ffff8881cea03090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900008532e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/1770: #0: ffff8881ce989090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900008572e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/1771: #0: ffff8881ceaad090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc9000084b2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by getty/1772: #0: ffff8881cee3b090 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc900008272e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21d/0x1b30 drivers/tty/n_tty.c:2156 6 locks held by kworker/0:3/4540: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 5.6.0-rc5-syzkaller #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+0xef/0x16e lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1db/0x207 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+0xa99/0xfd0 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:enqueue_task_fair+0x1a3/0x23a0 kernel/sched/fair.c:5258 Code: 74 08 3c 03 0f 8e ce 14 00 00 45 8b 47 40 45 85 c0 0f 85 3d 09 00 00 49 8d bf 58 01 00 00 48 89 f8 48 c1 e8 03 42 80 3c 20 00 <0f> 85 98 15 00 00 4d 8b af 58 01 00 00 44 89 f0 83 e0 41 83 f8 01 RSP: 0018:ffff8881db209c68 EFLAGS: 00000046 RAX: 1ffff1103560e96b RBX: 0000000000000010 RCX: 1ffffffff0bcd461 RDX: 1ffff1103560e9ba RSI: ffff8881ab074980 RDI: ffff8881ab074b58 RBP: ffff8881ab074a40 R08: 0000000000000000 R09: ffffffff88c18008 R10: ffffffff88c18010 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff8881ab074a00 R14: 0000000000000009 R15: ffff8881ab074a00 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff7b9b40518 CR3: 00000001d027b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_task kernel/sched/core.c:1307 [inline] activate_task+0xfb/0x320 kernel/sched/core.c:1329 ttwu_do_activate+0xca/0x130 kernel/sched/core.c:2260 ttwu_queue kernel/sched/core.c:2405 [inline] try_to_wake_up+0xa86/0x1690 kernel/sched/core.c:2639 hrtimer_wakeup+0x43/0x60 kernel/time/hrtimer.c:1769 __run_hrtimer kernel/time/hrtimer.c:1517 [inline] __hrtimer_run_queues+0x32c/0xd20 kernel/time/hrtimer.c:1579 hrtimer_interrupt+0x2e8/0x730 kernel/time/hrtimer.c:1641 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1119 [inline] smp_apic_timer_interrupt+0xfe/0x540 arch/x86/kernel/apic/apic.c:1144 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:85 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1751 [inline] RIP: 0010:vprintk_emit+0x3c8/0x3d0 kernel/printk/printk.c:1995 Code: 00 83 fb ff 75 d6 e9 e0 fc ff ff e8 e2 01 16 00 e8 dd 4a 1b 00 41 56 9d e9 b6 fd ff ff e8 d0 01 16 00 e8 cb 4a 1b 00 41 56 9d 2a ff ff ff 0f 1f 00 55 48 89 f5 53 48 89 fb e8 b3 01 16 00 49 RSP: 0018:ffff8881da226d10 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: 0000000000000200 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffff8881da212170 RDI: ffff8881da2120cc RBP: ffff8881da226d58 R08: ffff8881da211880 R09: fffffbfff1266e8f R10: fffffbfff1266e8e R11: ffffffff89337477 R12: 000000000000002c R13: ffff8881d8c78000 R14: 0000000000000246 R15: 0000000000000000 dev_vprintk_emit+0x4fc/0x541 drivers/base/core.c:3616 dev_printk_emit+0xba/0xf1 drivers/base/core.c:3627 __dev_printk+0x1db/0x203 drivers/base/core.c:3639 _dev_warn+0xd7/0x109 drivers/base/core.c:3683 cp210x_attach.cold+0x3b/0x9b drivers/usb/serial/cp210x.c:1866 usb_serial_probe.cold+0x1180/0x27c2 drivers/usb/serial/usb-serial.c:1027 usb_probe_interface+0x310/0x800 drivers/usb/core/driver.c:374 really_probe+0x290/0xac0 drivers/base/dd.c:551 driver_probe_device+0x223/0x350 drivers/base/dd.c:724 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:831 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431 __device_attach+0x217/0x390 drivers/base/dd.c:897 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0x1459/0x1bf0 drivers/base/core.c:2500 usb_set_configuration+0xe47/0x17d0 drivers/usb/core/message.c:2023 usb_generic_driver_probe+0x9d/0xe0 drivers/usb/core/generic.c:241 usb_probe_device+0xd9/0x230 drivers/usb/core/driver.c:272 really_probe+0x290/0xac0 drivers/base/dd.c:551 driver_probe_device+0x223/0x350 drivers/base/dd.c:724 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:831 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431 __device_attach+0x217/0x390 drivers/base/dd.c:897 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0x1459/0x1bf0 drivers/base/core.c:2500 usb_new_device.cold+0x540/0xcd0 drivers/usb/core/hub.c:2548 hub_port_connect drivers/usb/core/hub.c:5195 [inline] hub_port_connect_change drivers/usb/core/hub.c:5335 [inline] port_event drivers/usb/core/hub.c:5481 [inline] hub_event+0x21cb/0x4300 drivers/usb/core/hub.c:5563 process_one_work+0x94b/0x1620 kernel/workqueue.c:2264 worker_thread+0x96/0xe20 kernel/workqueue.c:2410 kthread+0x318/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352