INFO: task syz-executor.4:8195 blocked for more than 143 seconds. Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27528 pid:8195 ppid:5037 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2143 do_wait_for_common+0x449/0x5f0 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x4a/0x60 kernel/sched/completion.c:138 init_module_from_file kernel/module/main.c:3125 [inline] __do_sys_finit_module kernel/module/main.c:3171 [inline] __se_sys_finit_module+0x48d/0x8d0 kernel/module/main.c:3154 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0787e8c389 RSP: 002b:00007f0788c85168 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 00007f0787fabf80 RCX: 00007f0787e8c389 RDX: 0000000000000002 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f0787ed7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffdc99f22f R14: 00007f0788c85300 R15: 0000000000022000 Showing all locks held in the system: 5 locks held by kworker/0:1/9: #0: ffff88814625c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2569 #1: ffffc900000e7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2571 #2: ffff8880233e6190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff8880233e6190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x5460 drivers/usb/core/hub.c:5739 #3: ffff88808ebd5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff88808ebd5190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x510 drivers/base/dd.c:1003 #4: ffff88807bf5d160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff88807bf5d160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x510 drivers/base/dd.c:1003 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8d326af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8d326eb0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8d326920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4743: #0: ffff88802d8e8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1db0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.3/5034: #0: ffff8880b983bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 5 locks held by kworker/0:7/5194: #0: ffff88814625c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2569 #1: ffffc90005537d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2571 #2: ffff8880231bf190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff8880231bf190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x5460 drivers/usb/core/hub.c:5739 #3: ffff88808ebd7190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff88808ebd7190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x510 drivers/base/dd.c:1003 #4: ffff8880297eb160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff8880297eb160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x510 drivers/base/dd.c:1003 6 locks held by kworker/0:11/5208: #0: ffff88814625c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2569 #1: ffffc900052efd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2571 #2: ffff88802349f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff88802349f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x5460 drivers/usb/core/hub.c:5739 #3: ffff88802354a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3147 [inline] #3: ffff88802354a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5303 [inline] #3: ffff88802354a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] #3: ffff88802354a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline] #3: ffff88802354a4f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x252f/0x5460 drivers/usb/core/hub.c:5793 #4: ffff888022e91a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5304 [inline] #4: ffff888022e91a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5551 [inline] #4: ffff888022e91a68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5711 [inline] #4: ffff888022e91a68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2564/0x5460 drivers/usb/core/hub.c:5793 #5: ffff8880b983bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 5 locks held by kworker/1:8/8510: #0: ffff88814625c538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2569 #1: ffffc90005cffd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2571 #2: ffff8880229de190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff8880229de190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x5460 drivers/usb/core/hub.c:5739 #3: ffff88808f1e3190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff88808f1e3190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x510 drivers/base/dd.c:1003 #4: ffff8880876fc160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff8880876fc160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x510 drivers/base/dd.c:1003 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 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+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4426 Comm: syslogd Not tainted 6.4.0-syzkaller-09774-gb25f62ccb490 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:unwind_next_frame+0x133/0x2390 Code: 6f 35 48 89 e8 48 c1 e8 03 48 89 44 24 30 42 0f b6 04 30 84 c0 0f 85 cb 19 00 00 4c 0f be 7d 00 48 8b 44 24 38 42 80 3c 30 00 <48> 8b 5c 24 18 74 08 48 89 df e8 1e d4 a7 00 4c 03 3b 49 ff cf 4c RSP: 0018:ffffc90005eced10 EFLAGS: 00000246