INFO: task kworker/1:4:32622 blocked for more than 143 seconds. Not tainted 5.11.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:23232 pid:32622 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x8dc/0x1f40 kernel/sched/core.c:5064 schedule+0xcb/0x270 kernel/sched/core.c:5143 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1854 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x168/0x270 kernel/sched/completion.c:138 virtio_cleanup+0x80/0xa0 drivers/char/hw_random/virtio-rng.c:85 cleanup_rng drivers/char/hw_random/core.c:81 [inline] kref_put include/linux/kref.h:65 [inline] drop_current_rng+0xda/0x110 drivers/char/hw_random/core.c:109 set_current_rng+0x2d3/0x490 drivers/char/hw_random/core.c:96 hwrng_register+0x3bf/0x600 drivers/char/hw_random/core.c:505 chaoskey_probe+0x886/0xc50 drivers/usb/misc/chaoskey.c:205 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396 really_probe+0x291/0xde0 drivers/base/dd.c:561 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:745 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:851 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:919 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbc4/0x1d90 drivers/base/core.c:3091 usb_set_configuration+0x113c/0x1910 drivers/usb/core/message.c:2164 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293 really_probe+0x291/0xde0 drivers/base/dd.c:561 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:745 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:851 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:919 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbc4/0x1d90 drivers/base/core.c:3091 usb_new_device.cold+0x71d/0xfe9 drivers/usb/core/hub.c:2555 hub_port_connect drivers/usb/core/hub.c:5223 [inline] hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] port_event drivers/usb/core/hub.c:5509 [inline] hub_event+0x2348/0x42d0 drivers/usb/core/hub.c:5591 process_one_work+0x98d/0x1580 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x82b/0x1120 kernel/workqueue.c:2423 kthread+0x38c/0x460 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Showing all locks held in the system: 1 lock held by khungtaskd/1270: #0: ffffffff8744c5a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6254 1 lock held by systemd-journal/2636: 1 lock held by in:imklog/4289: 2 locks held by login/4297: #0: ffff88811150a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffff88811150a130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:887 [inline] #1: ffff88811150a130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:910 [inline] #1: ffff88811150a130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write+0x27f/0x8b0 drivers/tty/tty_io.c:1045 3 locks held by kworker/0:6/7175: 6 locks held by kworker/1:7/7406: #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246 #1: ffffc90006647da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250 #2: ffff888109205218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:725 [inline] #2: ffff888109205218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff888109280570 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3030 [inline] #3: ffff888109280570 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5154 [inline] #3: ffff888109280570 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] #3: ffff888109280570 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5509 [inline] #3: ffff888109280570 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x216c/0x42d0 drivers/usb/core/hub.c:5591 #4: ffff88810917ba68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b6/0x2e40 drivers/usb/core/hub.c:4582 #5: ffff8881f6b33018 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1319 [inline] #5: ffff8881f6b33018 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x230/0x1f40 kernel/sched/core.c:4981 2 locks held by kworker/0:7/7567: 2 locks held by agetty/2441: #0: ffff888116ec3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc9000465b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2158 2 locks held by agetty/7991: #0: ffff8881165f5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc9000055f2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2158 2 locks held by login/26864: #0: ffff888143de2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffff888143de2130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:887 [inline] #1: ffff888143de2130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:910 [inline] #1: ffff888143de2130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write+0x27f/0x8b0 drivers/tty/tty_io.c:1045 6 locks held by kworker/1:4/32622: #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888104030538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246 #1: ffffc90000187da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250 #2: ffff888109285218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:725 [inline] #2: ffff888109285218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff88810e1bd218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:725 [inline] #3: ffff88810e1bd218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:894 #4: ffff88810f3911a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:725 [inline] #4: ffff88810f3911a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:894 #5: ffffffff877ee1c8 (rng_mutex){+.+.}-{3:3}, at: hwrng_register+0x7a/0x600 drivers/char/hw_random/core.c:478 2 locks held by agetty/6736: #0: ffff888111eae098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc900048fb2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2158 2 locks held by agetty/25994: #0: ffff888143de5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90005b132e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2158 1 lock held by syz-executor.0/30186: #0: ffff88810c18e878 (&dev->lock#7){+.+.}-{3:3}, at: chaoskey_read+0x262/0x600 drivers/usb/misc/chaoskey.c:435 1 lock held by syz-executor.5/30221: #0: ffff88810c18e878 (&dev->lock#7){+.+.}-{3:3}, at: chaoskey_read+0x262/0x600 drivers/usb/misc/chaoskey.c:435 1 lock held by syz-executor.3/30220: #0: ffff88810c18e878 (&dev->lock#7){+.+.}-{3:3}, at: chaoskey_read+0x262/0x600 drivers/usb/misc/chaoskey.c:435 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1270 Comm: khungtaskd Not tainted 5.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x46/0xe0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1da/0x200 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd32/0xf70 kernel/hung_task.c:294 kthread+0x38c/0x460 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2636 Comm: systemd-journal Not tainted 5.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hlock_class kernel/locking/lockdep.c:198 [inline] RIP: 0010:__lock_acquire+0xbde/0x54f0 kernel/locking/lockdep.c:4829 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 e0 d5 ae 89 e8 6a f2 44 00 48 0f a3 1d 42 58 88 08 <0f> 83 78 0c 00 00 48 8d 1c 5b 48 c1 e3 06 48 81 c3 00 da ae 89 48 RSP: 0018:ffffc900001489b8 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 000000000000002b RCX: ffffffff81267d96 RDX: fffffbfff135dabd RSI: 0000000000000008 RDI: ffffffff89aed5e0 RBP: ffff88810e1ccd40 R08: 0000000000000000 R09: ffffffff89aed5e7 R10: fffffbfff135dabc R11: 0000000000000001 R12: ffff88810e1cd6d8 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f804e1ec8c0(0000) GS:ffff8881f6b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8045481000 CR3: 0000000101eab000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x288/0x700 kernel/locking/lockdep.c:5402 rcu_lock_acquire include/linux/rcupdate.h:253 [inline] rcu_read_lock include/linux/rcupdate.h:642 [inline] cgroup_account_cputime include/linux/cgroup.h:781 [inline] update_curr+0x2bb/0x7d0 kernel/sched/fair.c:870 enqueue_entity kernel/sched/fair.c:4217 [inline] enqueue_task_fair+0x644/0x2850 kernel/sched/fair.c:5522 enqueue_task kernel/sched/core.c:1596 [inline] activate_task kernel/sched/core.c:1615 [inline] ttwu_do_activate+0x17b/0x4e0 kernel/sched/core.c:2986 ttwu_queue kernel/sched/core.c:3176 [inline] try_to_wake_up+0x568/0x11a0 kernel/sched/core.c:3454 hrtimer_wakeup+0x43/0x60 kernel/time/hrtimer.c:1773 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x693/0xdf0 kernel/time/hrtimer.c:1583 hrtimer_interrupt+0x300/0x8f0 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0xf5/0x420 arch/x86/kernel/apic/apic.c:1102 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0x7f/0xa0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 RIP: 0010:devkmsg_read+0x3df/0x750 kernel/printk/printk.c:754 Code: 01 80 3c 02 00 0f 85 19 03 00 00 48 c7 c7 60 ea 43 87 4c 89 6d 00 e8 40 e6 7a 04 e8 4b 49 00 00 e8 86 e8 1b 00 fb 48 8b 2c 24 <4c> 89 ff 48 c7 c3 ea ff ff ff 48 89 ee e8 df 36 16 00 49 39 ef 77 RSP: 0018:ffffc90000217d68 EFLAGS: 00000206 RAX: 000000000302d8c5 RBX: ffff88810f1c20f8 RCX: ffffffff812656c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8129255a RBP: 0000000000002000 R08: 0000000000000001 R09: ffffffff89aed65f R10: fffffbfff135dacb R11: 000000000000005c R12: 1ffff92000042fb2 R13: 0000000000015ecd R14: ffff88810f1c0068 R15: 0000000000000072 vfs_read+0x1b5/0x570 fs/read_write.c:494 ksys_read+0x12d/0x250 fs/read_write.c:634 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f804d77c22d Code: c1 20 00 00 75 10 b8 00 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 b8 00 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 97 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fff0f8ab4e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fff0f8adf60 RCX: 00007f804d77c22d RDX: 0000000000002000 RSI: 00007fff0f8abd60 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000008 R09: 000055d75fae87b8 R10: 000055d75fae8780 R11: 0000000000000293 R12: 00007fff0f8abd60 R13: 00007fff0f8adeb8 R14: 000055d75dc28958 R15: 0005b7a07f7c3b79