INFO: task kworker/0:2:1547 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:22976 pid: 1547 ppid: 2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x91b/0x1f90 kernel/sched/core.c:5078 schedule+0xcb/0x270 kernel/sched/core.c:5157 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/0xe60 drivers/base/dd.c:554 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:740 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:846 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:914 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbc4/0x1d90 drivers/base/core.c:3109 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/0xe60 drivers/base/dd.c:554 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:740 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:846 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:914 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbc4/0x1d90 drivers/base/core.c:3109 usb_new_device.cold+0x725/0x1057 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 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 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: 6 locks held by kworker/0:0/5: #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246 #1: ffffc9000005fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250 #2: ffff8881091e4218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #2: ffff8881091e4218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff8881091e7570 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3030 [inline] #3: ffff8881091e7570 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5154 [inline] #3: ffff8881091e7570 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] #3: ffff8881091e7570 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5509 [inline] #3: ffff8881091e7570 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x216c/0x42d0 drivers/usb/core/hub.c:5591 #4: ffff88810858ce68 ( hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b6/0x2e40 drivers/usb/core/hub.c:4582 #5: ffffffff87d35110 (ehci_cf_port_reset_rwsem ){.+.+}-{3:3}, at: hub_port_reset+0x199/0x1940 drivers/usb/core/hub.c:2892 6 locks held by kworker/0:1/7: #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246 #1: ffffc9000007fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250 #2: ffff888109224218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #2: ffff888109224218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff88810f1ff218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #3: ffff88810f1ff218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:889 #4: ffff88810e2441a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #4: ffff88810e2441a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:889 #5: ffffffff8835b9a8 (register_mutex#3){+.+.}-{3:3}, at: usb_audio_probe+0x34c/0x2a20 sound/usb/card.c:730 6 locks held by kworker/1:0/17: #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246 #1: ffffc9000012fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250 #2: ffff8881092ec218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #2: ffff8881092ec218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff888107d9d218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #3: ffff888107d9d218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:889 #4: ffff88811286b1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #4: ffff88811286b1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:889 #5: ffff88810927e568 (hcd->bandwidth_mutex){+.+.}-{3:3}, at: usb_set_interface+0x292/0xd20 drivers/usb/core/message.c:1558 1 lock held by khungtaskd/1266: #0: ffffffff87478520 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6259 6 locks held by kworker/0:2/1547: #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246 #1: ffffc90004fa7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250 #2: ffff888108b2c218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #2: ffff888108b2c218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff88810dd62218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #3: ffff88810dd62218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:889 #4: ffff8881164851a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #4: ffff8881164851a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:889 #5: ffffffff878596e8 (rng_mutex){+.+.}-{3:3}, at: hwrng_register+0x7a/0x600 drivers/char/hw_random/core.c:478 4 locks held by systemd-journal/2625: 1 lock held by in:imklog/4281: 2 locks held by agetty/4288: #0: ffff888111008098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc9000050b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2158 3 locks held by kworker/0:5/7285: #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888104086138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246 #1: ffffc90004f77da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250 #2: ffff888109264218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:737 [inline] #2: ffff888109264218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 5 locks held by kworker/1:6/7548: 4 locks held by syz-executor.1/8878: 1 lock held by syz-executor.1/8879: #0: ffff888139d852d8 (&sb->s_type->i_mutex_key#4){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888139d852d8 (&sb->s_type->i_mutex_key#4){+.+.}-{3:3}, at: process_measurement+0x6b7/0x1790 security/integrity/ima/ima_main.c:234 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1266 Comm: khungtaskd Not tainted 5.11.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: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: 8824 Comm: syz-executor.5 Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x412da7 Code: 80 3d f6 25 2a 01 00 0f 85 b6 00 00 00 bb 01 00 00 00 44 8d 4a 04 89 d0 41 89 c0 41 81 e0 ff 1f 00 00 42 8b 3c 85 00 00 77 00 <39> fa 74 2a 85 ff 0f 84 b5 00 00 00 83 c0 01 41 39 c1 75 da 89 d0 RSP: 002b:00007ffda6bb4c40 EFLAGS: 00000202 RAX: 000000003a377326 RBX: 0000000000000001 RCX: 0000001b31520000 RDX: 000000003a377326 RSI: 0000000080000000 RDI: 000000003a377326 RBP: 000000000119c008 R08: 0000000000001326 R09: 000000003a37732a R10: 00007ffda6bb4de0 R11: 0000000000000246 R12: 00007f77e2c97008 R13: 00000000000001ba R14: 00007f77e2c97000 R15: ffffffff81d97089 FS: 0000000003041940 GS: 0000000000000000