INFO: task kworker/1:2:2102 blocked for more than 143 seconds. Not tainted 6.1.45-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:24704 pid:2102 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 usb_kill_urb+0x1c5/0x300 drivers/usb/core/urb.c:728 usb_start_wait_urb+0x1ac/0x510 drivers/usb/core/message.c:64 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x2ad/0x4c0 drivers/usb/core/message.c:153 hub_port_init+0xa05/0x2430 drivers/usb/core/hub.c:4827 hub_port_connect drivers/usb/core/hub.c:5284 [inline] hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] port_event drivers/usb/core/hub.c:5655 [inline] hub_event+0x294a/0x57b0 drivers/usb/core/hub.c:5737 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 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/12: #0: ffffffff8d12a0b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12a8b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d129ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 5 locks held by kworker/1:2/2102: #0: ffff888018284138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc90007e6fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2267 #2: ffff88814571d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff88814571d190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x57b0 drivers/usb/core/hub.c:5683 #3: ffff888145bb14f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3105 [inline] #3: ffff888145bb14f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5251 [inline] #3: ffff888145bb14f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] #3: ffff888145bb14f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5655 [inline] #3: ffff888145bb14f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2278/0x57b0 drivers/usb/core/hub.c:5737 #4: ffff88814578db68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5252 [inline] #4: ffff88814578db68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5499 [inline] #4: ffff88814578db68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5655 [inline] #4: ffff88814578db68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x22a1/0x57b0 drivers/usb/core/hub.c:5737 2 locks held by getty/3267: #0: ffff88814ba5f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 1 lock held by syz-executor969/3531: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 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+0xf18/0xf60 kernel/hung_task.c:377 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3531 Comm: syz-executor969 Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:wait_consider_task+0xbd/0x2e20 kernel/exit.c:1389 Code: 36 00 48 89 5c 24 08 48 81 c3 4c 05 00 00 48 89 d8 48 c1 e8 03 48 89 44 24 40 42 0f b6 04 28 84 c0 0f 85 2d 24 00 00 44 8b 33 10 00 00 00 44 89 f6 e8 26 65 36 00 41 83 fe 10 0f 84 ac 1e 00 RSP: 0018:ffffc90003baf9e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88807f27c0cc RCX: ffff88807542bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90003bafcc0 RBP: ffffc90003bafbd0 R08: ffffffff8153a3db R09: ffffffff81539c7a R10: 0000000000000002 R11: ffff88807542bb80 R12: ffffc90003bafcc0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00005555569bc380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5976f021d0 CR3: 00000000166cc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_wait_thread kernel/exit.c:1495 [inline] do_wait+0x328/0xb70 kernel/exit.c:1612 kernel_wait4+0x29e/0x3e0 kernel/exit.c:1775 __do_sys_wait4 kernel/exit.c:1803 [inline] __se_sys_wait4 kernel/exit.c:1799 [inline] __x64_sys_wait4+0x130/0x1e0 kernel/exit.c:1799 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5976e85833 Code: fe ff e9 41 ff ff ff 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 80 3d 31 a8 07 00 00 49 89 ca 74 14 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5d c3 0f 1f 40 00 48 83 ec 28 89 54 24 14 48 RSP: 002b:00007ffc200c5a58 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000004ad8 RCX: 00007f5976e85833 RDX: 0000000040000001 RSI: 00007ffc200c5a64 RDI: 00000000ffffffff RBP: 000000000008c084 R08: 00007ffc201400b0 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc200c5a64 R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.089 msecs