INFO: task kworker/1:0:8598 blocked for more than 143 seconds. Not tainted 6.1.0-rc3-syzkaller-00054-gd65e6b6e884a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:29328 pid:8598 ppid:2 flags:0x00004000 Workqueue: pm hcd_resume_work Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x979/0x2770 kernel/sched/core.c:6503 schedule+0xda/0x1b0 kernel/sched/core.c:6579 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6638 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa44/0x1350 kernel/locking/mutex.c:747 device_lock include/linux/device.h:835 [inline] usb_remote_wakeup+0x1f/0xe0 drivers/usb/core/hub.c:3779 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2ea/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff87a95f50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 3 locks held by kworker/1:1/24: 1 lock held by khungtaskd/26: #0: ffffffff87a96aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6494 3 locks held by kworker/1:2/713: #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000221fda8 ((work_completion)(&hub->events) ){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f751190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x4810 drivers/usb/core/hub.c:5737 2 locks held by getty/1234: #0: ffff88810020a098 (&tty->ldisc_sem){++++}-{0:0} , at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 5 locks held by kworker/0:3/4047: #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc90001dafda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f818190 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:835 [inline] , at: hub_event+0x1bc/0x4810 drivers/usb/core/hub.c:5737 #3: ffff8881f6837cd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] #3: ffff8881f6837cd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1354 [inline] #3: ffff8881f6837cd8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1644 [inline] #3: ffff8881f6837cd8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x236/0x2770 kernel/sched/core.c:6420 #4: ffff88810d4dddc8 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xa9/0x1f20 kernel/sched/core.c:4076 6 locks held by kworker/0:5/4079: 5 locks held by kworker/1:6/4107: 6 locks held by kworker/0:6/4175: #0: ffff888109bfd938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000211fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f7f8190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f7f8190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bc/0x4810 drivers/usb/core/hub.c:5737 #3: ffff888109692190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #3: ffff888109692190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #4: ffff88811125d118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #4: ffff88811125d118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983 #5: ffffffff87a85aa0 (console_lock){+.+.}-{0:0}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] #5: ffffffff87a85aa0 (console_lock){+.+.}-{0:0}, at: raw_spin_rq_lock kernel/sched/sched.h:1354 [inline] #5: ffffffff87a85aa0 (console_lock){+.+.}-{0:0}, at: rq_lock kernel/sched/sched.h:1644 [inline] #5: ffffffff87a85aa0 (console_lock){+.+.}-{0:0}, at: ttwu_queue kernel/sched/core.c:3867 [inline] #5: ffffffff87a85aa0 (console_lock){+.+.}-{0:0}, at: try_to_wake_up+0xb4b/0x1f20 kernel/sched/core.c:4192 3 locks held by kworker/1:0/8598: #0: ffff8881008a9d38 ((wq_completion)pm ){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] ){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] ){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] ){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] ){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] ){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260 #1: ffffc9000f5bfda8 ((work_completion)(&hcd->wakeup_work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 #2: ffff88810f769190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff88810f769190 (&dev->mutex){....}-{3:3}, at: usb_remote_wakeup+0x1f/0xe0 drivers/usb/core/hub.c:3779 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 6.1.0-rc3-syzkaller-00054-gd65e6b6e884a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x32f/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc71/0xfc0 kernel/hung_task.c:377 kthread+0x2ea/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4079 Comm: kworker/0:5 Not tainted 6.1.0-rc3-syzkaller-00054-gd65e6b6e884a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: usb_hub_wq hub_event RIP: 0010:accumulate_sum kernel/sched/pelt.c:117 [inline] RIP: 0010:___update_load_sum kernel/sched/pelt.c:226 [inline] RIP: 0010:__update_load_avg_cfs_rq+0x528/0x9a0 kernel/sched/pelt.c:322 Code: 54 24 10 e8 ea 30 fe ff 48 8b 7c 24 08 48 b9 00 00 00 00 00 fc ff df 48 8b 54 24 10 48 c1 ef 03 80 3c 0f 00 0f 85 79 03 00 00 <4c> 8d 8d 90 00 00 00 48 89 85 88 00 00 00 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90000007bb0 EFLAGS: 00000046 RAX: 000000000115d955 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: 0000000000001974 RSI: 0000000000000006 RDI: 1ffff110219f9191 RBP: ffff88810cfc8c00 R08: 0000000000000000 R09: ffffffff88e36b17 R10: ffff88810cfc8d00 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000001800 R14: ffff88810cfc8c9c R15: 0000000000000006 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c627000 CR3: 0000000136f0e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_cfs_rq_load_avg kernel/sched/fair.c:4072 [inline] update_load_avg+0x153/0x1de0 kernel/sched/fair.c:4185 enqueue_entity kernel/sched/fair.c:4616 [inline] enqueue_task_fair+0x2af/0x1ed0 kernel/sched/fair.c:5937 enqueue_task kernel/sched/core.c:2060 [inline] activate_task kernel/sched/core.c:2085 [inline] ttwu_do_activate+0x181/0x450 kernel/sched/core.c:3664 ttwu_queue kernel/sched/core.c:3869 [inline] try_to_wake_up+0xb81/0x1f20 kernel/sched/core.c:4192 hrtimer_wakeup+0x43/0x60 kernel/time/hrtimer.c:1939 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x690/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x17c/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x89/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:207 Code: 48 89 ef 5d e9 91 f6 1e 00 5d be 03 00 00 00 e9 d6 5c d0 00 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 49 a4 bb 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc9000212eac0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000c5ec000 RDX: 0000000000040000 RSI: ffffffff812cee21 RDI: 0000000000000007 RBP: ffffc9000212eb00 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000057 R13: ffff88810089b880 R14: 0000000000000200 R15: ffffc9000212ec20 console_trylock_spinning kernel/printk/printk.c:1919 [inline] vprintk_emit+0x3f7/0x5f0 kernel/printk/printk.c:2267 dev_vprintk_emit+0x36e/0x3b2 drivers/base/core.c:4736 dev_printk_emit+0xba/0xf1 drivers/base/core.c:4747 __netdev_printk+0x1c6/0x27a net/core/dev.c:11213 netdev_warn+0xd7/0x109 net/core/dev.c:11266 asix_read_cmd.cold+0x53/0x60 drivers/net/usb/asix_common.c:33 asix_check_host_enable+0xfd/0x1c0 drivers/net/usb/asix_common.c:102 __asix_mdio_read+0x93/0x220 drivers/net/usb/asix_common.c:506 asix_phy_reset+0x104/0x170 drivers/net/usb/asix_devices.c:215 ax88172_bind+0x437/0x5f0 drivers/net/usb/asix_devices.c:275 usbnet_probe+0xb4a/0x2680 drivers/net/usb/usbnet.c:1745 usb_probe_interface+0x30b/0x7f0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:560 [inline] really_probe+0x249/0xb90 drivers/base/dd.c:639 __driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:778 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:808 __device_attach_driver+0x1d0/0x2e0 drivers/base/dd.c:936 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x1e4/0x530 drivers/base/dd.c:1008 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xbd5/0x1e90 drivers/base/core.c:3517 usb_set_configuration+0x1019/0x1900 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238 usb_probe_device+0xd4/0x2c0 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:560 [inline] really_probe+0x249/0xb90 drivers/base/dd.c:639 __driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:778 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:808 __device_attach_driver+0x1d0/0x2e0 drivers/base/dd.c:936 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x1e4/0x530 drivers/base/dd.c:1008 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xbd5/0x1e90 drivers/base/core.c:3517 usb_new_device.cold+0x685/0x10ad drivers/usb/core/hub.c:2573 hub_port_connect drivers/usb/core/hub.c:5405 [inline] hub_port_connect_change drivers/usb/core/hub.c:5549 [inline] port_event drivers/usb/core/hub.c:5709 [inline] hub_event+0x2d58/0x4810 drivers/usb/core/hub.c:5791 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2ea/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306