INFO: task kworker/1:6:25728 blocked for more than 143 seconds. Not tainted 6.5.0-rc4-syzkaller-00075-g98a9e32bdf25 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:6 state:D stack:23648 pid:25728 ppid:2 flags:0x00004000 Workqueue: events console_callback Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc79/0x30a0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x27a/0x2c0 kernel/time/timer.c:2143 ___down_common kernel/locking/semaphore.c:225 [inline] __down_common+0x328/0x6c0 kernel/locking/semaphore.c:246 down+0x74/0xa0 kernel/locking/semaphore.c:63 console_lock+0x2c/0x80 kernel/printk/printk.c:2600 console_callback+0x63/0x4c0 drivers/tty/vt/vt.c:2934 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff87ea74b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/13: #0: ffffffff87ea71b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 6 locks held by kworker/1:1/25: 1 lock held by khungtaskd/28: #0: ffffffff87ea80c0 (rcu_read_lock){....}-{1:2} , at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/2433: #0: ffff888102243098 (&tty->ldisc_sem ){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000452f0 ( &ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 5 locks held by kworker/0:3/5284: 5 locks held by kworker/0:6/5304: #0: ffff88810ce54538 ((wq_completion)usb_hub_wq){+.+.}-{0:0} , at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] , at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] , at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] , at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] , at: set_work_data kernel/workqueue.c:675 [inline] , at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] , at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000256fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff888106bca190 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:958 [inline] , at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777 #3: ffff888106bcd500 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3185 [inline] (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5341 [inline] (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5589 [inline] (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5749 [inline] (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2ad8/0x5330 drivers/usb/core/hub.c:5831 #4: ffff888106731e68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5342 [inline] #4: ffff888106731e68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5589 [inline] #4: ffff888106731e68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5749 [inline] #4: ffff888106731e68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2afe/0x5330 drivers/usb/core/hub.c:5831 6 locks held by kworker/1:4/5332: 2 locks held by kworker/1:6/25728: #0: ffff888100070d38 ((wq_completion)events ){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000b8dfd80 ( console_work){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 4 locks held by kworker/0:11/30251: 5 locks held by kworker/0:12/30988: #0: ffff88810ce54538 ((wq_completion)usb_hub_wq ){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] ){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] ){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] ){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] ){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] ){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] ){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc9000560fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 #2: ffff888106bea190 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:958 [inline] , at: hub_event+0x1cc/0x5330 drivers/usb/core/hub.c:5777 #3: ffff888106bed500 (&port_dev->status_lock ){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3185 [inline] ){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5341 [inline] ){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5589 [inline] ){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5749 [inline] ){+.+.}-{3:3}, at: hub_event+0x2ad8/0x5330 drivers/usb/core/hub.c:5831 #4: ffff888106339668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5342 [inline] #4: ffff888106339668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5589 [inline] #4: ffff888106339668 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5749 [inline] #4: ffff888106339668 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2afe/0x5330 drivers/usb/core/hub.c:5831 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc4-syzkaller-00075-g98a9e32bdf25 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x27b/0x2e0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5304 Comm: kworker/0:6 Not tainted 6.5.0-rc4-syzkaller-00075-g98a9e32bdf25 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:is_migration_disabled kernel/sched/sched.h:1196 [inline] RIP: 0010:select_task_rq kernel/sched/core.c:3619 [inline] RIP: 0010:try_to_wake_up+0x3ee/0x12c0 kernel/sched/core.c:4330 Code: c0 74 08 3c 03 0f 8e 06 0d 00 00 41 83 be c8 03 00 00 01 0f 8e 62 05 00 00 49 8d be f0 03 00 00 48 b8 00 00 00 00 00 fc ff df <48> 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 01 0f 8e 68 0e 00 RSP: 0018:ffffc90000007d68 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 1ffff92000000fb2 RCX: 0000000000000001 RDX: 1ffff110226c3b59 RSI: ffffffff868799a0 RDI: ffff88811361daf0 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff12625ea R10: ffffffff89312f57 R11: 0000000000003c00 R12: ffff88811361e0a0 R13: ffff88811361d714 R14: ffff88811361d700 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe7c683838 CR3: 000000014013c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1942 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x89/0xb0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1972 [inline] RIP: 0010:vprintk_emit+0x3f6/0x640 kernel/printk/printk.c:2306 Code: 00 00 e8 cd d8 1b 00 9c 8f 45 d0 48 8b 45 d0 31 ff 25 00 02 00 00 49 89 c6 48 89 c6 e8 43 d4 1b 00 4d 85 f6 0f 85 fa 01 00 00 0f 1e fa e8 a1 d8 1b 00 45 31 c9 41 b8 01 00 00 00 31 c9 68 a6 RSP: 0018:ffffc9000256f418 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 000000000000001a RCX: ffffc90004226000 RDX: 0000000000040000 RSI: ffffffff8130749a RDI: 0000000000000007 RBP: ffffc9000256f450 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000200 R13: ffff888103e43a00 R14: 0000000000000001 R15: 0000000000000000 dev_vprintk_emit drivers/base/core.c:4840 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4851 __dev_printk+0xf5/0x270 drivers/base/core.c:4863 _dev_err+0xe5/0x120 drivers/base/core.c:4906 usb_get_configuration+0x552b/0x5640 drivers/usb/core/config.c:877 usb_enumerate_device drivers/usb/core/hub.c:2445 [inline] usb_new_device+0x1115/0x1960 drivers/usb/core/hub.c:2583 hub_port_connect drivers/usb/core/hub.c:5445 [inline] hub_port_connect_change drivers/usb/core/hub.c:5589 [inline] port_event drivers/usb/core/hub.c:5749 [inline] hub_event+0x30fd/0x5330 drivers/usb/core/hub.c:5831 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 process_scheduled_works kernel/workqueue.c:2664 [inline] worker_thread+0x896/0x1110 kernel/workqueue.c:2750 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304