INFO: task kworker/0:2:107 blocked for more than 143 seconds. Not tainted 5.2.0-rc1+ #10 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:2 D24392 107 2 0x80004000 Workqueue: pm hcd_resume_work Call Trace: schedule+0x96/0x240 kernel/sched/core.c:3508 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:3567 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x7fb/0x12b0 kernel/locking/mutex.c:1072 device_lock include/linux/device.h:1207 [inline] usb_remote_wakeup+0x1f/0xb0 drivers/usb/core/hub.c:3598 process_one_work+0x905/0x1570 kernel/workqueue.c:2268 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 kthread+0x30b/0x410 kernel/kthread.c:254 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Showing all locks held in the system: 8 locks held by kworker/0:0/5: 1 lock held by khungtaskd/23: #0: 00000000160eab83 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:5146 3 locks held by kworker/0:2/107: #0: 0000000027679e07 ((wq_completion)pm){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 0000000027679e07 ((wq_completion)pm){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 0000000027679e07 ((wq_completion)pm){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 0000000027679e07 ((wq_completion)pm){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 0000000027679e07 ((wq_completion)pm){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 0000000027679e07 ((wq_completion)pm){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 0000000027679e07 ((wq_completion)pm){+.+.}, at: process_one_work+0x81a/0x1570 kernel/workqueue.c:2239 #1: 000000002e81b430 ((work_completion)(&hcd->wakeup_work)){+.+.}, at: process_one_work+0x84e/0x1570 kernel/workqueue.c:2243 #2: 000000002ab8030f (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 000000002ab8030f (&dev->mutex){....}, at: usb_remote_wakeup+0x1f/0xb0 drivers/usb/core/hub.c:3598 1 lock held by rsyslogd/1613: #0: 00000000527cc1c3 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe3/0x100 fs/file.c:801 2 locks held by getty/1702: #0: 000000007dec2434 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000089a00212 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2156 2 locks held by getty/1703: #0: 000000004f66d43d (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000018865a32 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2156 2 locks held by getty/1704: #0: 000000009dad3e49 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000004e1128b6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2156 2 locks held by getty/1705: #0: 00000000facdad0b (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000155cf66c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2156 2 locks held by getty/1706: #0: 00000000e243e481 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000003f455d1b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2156 2 locks held by getty/1707: #0: 000000008861c2de (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000076f69c4c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2156 2 locks held by getty/1708: #0: 00000000d088862f (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000005eb0999e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1a50 drivers/tty/n_tty.c:2156 6 locks held by kworker/1:4/2744: 6 locks held by kworker/0:3/2752: 6 locks held by kworker/0:4/2803: 6 locks held by kworker/0:5/2942: #0: 00000000c57d8167 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:221 [inline] #0: 00000000c57d8167 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000c57d8167 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000c57d8167 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000c57d8167 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000c57d8167 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000c57d8167 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81a/0x1570 kernel/workqueue.c:2239 #1: 00000000f7b08a45 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x84e/0x1570 kernel/workqueue.c:2243 #2: 00000000ecb04ee4 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 00000000ecb04ee4 (&dev->mutex){....}, at: hub_event+0x179/0x3590 drivers/usb/core/hub.c:5378 #3: 0000000004d4d901 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2994 [inline] #3: 0000000004d4d901 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5020 [inline] #3: 0000000004d4d901 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] #3: 0000000004d4d901 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5350 [inline] #3: 0000000004d4d901 (&port_dev->status_lock){+.+.}, at: hub_event+0x18e8/0x3590 drivers/usb/core/hub.c:5432 #4: 000000004cbc14a3 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1b6/0x2c00 drivers/usb/core/hub.c:4529 #5: 0000000064cdbdf9 (ehci_cf_port_reset_rwsem){.+.+}, at: hub_port_reset+0x17a/0x1440 drivers/usb/core/hub.c:2856 5 locks held by kworker/0:6/3080: 1 lock held by syz-executor.1/6526: 1 lock held by syz-executor.0/6553: #0: 000000009a3667ed (udc_lock){+.+.}, at: usb_gadget_probe_driver+0x8c/0x360 drivers/usb/gadget/udc/core.c:1377 1 lock held by udevd/6561: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 5.2.0-rc1+ #10 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:204 [inline] watchdog+0x989/0xe20 kernel/hung_task.c:288 kthread+0x30b/0x410 kernel/kthread.c:254 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: 2803 Comm: kworker/0:4 Not tainted 5.2.0-rc1+ #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:update_blocked_averages+0x151d/0x28f0 kernel/sched/fair.c:7782 Code: 48 8d b8 e0 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 5e 08 00 00 48 8b 84 24 90 00 00 00 <48> 8b 98 e0 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 78 48 RSP: 0018:ffff8881db209e00 EFLAGS: 00000046 RAX: ffff8881db232c00 RBX: ffff8881db2335c0 RCX: 0000000000000000 RDX: 1ffff1103b6466bc RSI: ffff8881db2335c0 RDI: ffff8881db2335e0 RBP: ffff8881db209ee0 R08: ffff8881db232e50 R09: ffffed103b646748 R10: ffffed103b646747 R11: ffff8881db233a3b R12: ffff8881db233440 R13: dffffc0000000000 R14: 000000000000267c R15: ffff8881db232e00 FS: 0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f99ed5c6000 CR3: 00000001d3a9f000 CR4: 00000000001406f0 Call Trace: run_rebalance_domains+0x1ea/0x290 kernel/sched/fair.c:10135 __do_softirq+0x219/0x8b0 kernel/softirq.c:293 invoke_softirq kernel/softirq.c:374 [inline] irq_exit+0x17c/0x1a0 kernel/softirq.c:414 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0xe2/0x480 arch/x86/kernel/apic/apic.c:1067 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:806 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:85 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1740 [inline] RIP: 0010:vprintk_emit+0x3cd/0x3e0 kernel/printk/printk.c:1984 Code: 00 83 fb ff 75 d6 e9 db fc ff ff e8 4d 01 15 00 e8 f8 26 1a 00 41 56 9d e9 b1 fd ff ff e8 3b 01 15 00 e8 e6 26 1a 00 41 56 9d 2a ff ff ff 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 RSP: 0018:ffff8881d0aa6c58 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: 0000000000000200 RCX: 1ffff1103a191424 RDX: 0000000000000000 RSI: ffff8881d0c8a100 RDI: ffff8881d0c8a034 RBP: ffff8881d0aa6ca0 R08: ffff8881d0c89800 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000059 R13: ffff8881d9e64800 R14: 0000000000000246 R15: 0000000000000000 dev_vprintk_emit+0x4fc/0x541 drivers/base/core.c:3190 dev_printk_emit+0xba/0xf1 drivers/base/core.c:3201 __netdev_printk net/core/dev.c:9632 [inline] __netdev_printk+0x1c6/0x27c net/core/dev.c:9628 netdev_warn+0xd7/0x109 net/core/dev.c:9685 asix_read_cmd.cold+0x3a/0x46 drivers/net/usb/asix_common.c:41 asix_mdio_read+0x124/0x250 drivers/net/usb/asix_common.c:471 asix_phy_reset.isra.0+0x109/0x170 drivers/net/usb/asix_devices.c:227 ax88172_bind drivers/net/usb/asix_devices.c:284 [inline] ax88172_bind+0x406/0x566 drivers/net/usb/asix_devices.c:238 usbnet_probe+0xb43/0x2480 drivers/net/usb/usbnet.c:1728 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361 really_probe+0x281/0x660 drivers/base/dd.c:509 driver_probe_device+0x104/0x210 drivers/base/dd.c:670 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454 __device_attach+0x217/0x360 drivers/base/dd.c:843 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514 device_add+0xae6/0x16f0 drivers/base/core.c:2111 usb_set_configuration+0xdf6/0x1670 drivers/usb/core/message.c:2023 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210 usb_probe_device+0x99/0x100 drivers/usb/core/driver.c:266 really_probe+0x281/0x660 drivers/base/dd.c:509 driver_probe_device+0x104/0x210 drivers/base/dd.c:670 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454 __device_attach+0x217/0x360 drivers/base/dd.c:843 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514 device_add+0xae6/0x16f0 drivers/base/core.c:2111 usb_new_device.cold+0x8c1/0x1016 drivers/usb/core/hub.c:2534 hub_port_connect drivers/usb/core/hub.c:5089 [inline] hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] port_event drivers/usb/core/hub.c:5350 [inline] hub_event+0x1ada/0x3590 drivers/usb/core/hub.c:5432 process_one_work+0x905/0x1570 kernel/workqueue.c:2268 worker_thread+0x96/0xe20 kernel/workqueue.c:2414 kthread+0x30b/0x410 kernel/kthread.c:254 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352