INFO: task kworker/1:1:26 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:23384 pid:26 tgid:26 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x19f5/0x4b30 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 usb_kill_urb+0x1c9/0x300 drivers/usb/core/urb.c:713 usb_start_wait_urb+0x1b0/0x520 drivers/usb/core/message.c:65 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x2b1/0x4c0 drivers/usb/core/message.c:154 get_bMaxPacketSize0 drivers/usb/core/hub.c:4768 [inline] hub_port_init+0xbfa/0x2620 drivers/usb/core/hub.c:4964 hub_port_connect drivers/usb/core/hub.c:5412 [inline] hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] port_event drivers/usb/core/hub.c:5783 [inline] hub_event+0x29e5/0x5050 drivers/usb/core/hub.c:5865 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2706 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:243 INFO: task syz-executor.0:5442 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25032 pid:5442 tgid:5442 ppid:5358 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x19f5/0x4b30 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:752 device_lock include/linux/device.h:990 [inline] usbdev_release+0x7a/0x7a0 drivers/usb/core/devio.c:1096 __fput+0x428/0x890 fs/file_table.c:376 __do_sys_close fs/open.c:1554 [inline] __se_sys_close+0x15f/0x220 fs/open.c:1539 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x85/0x160 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f4c1507cc9a RSP: 002b:00007ffd09ea26d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f4c1507cc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000032 R08: 0000001b32960000 R09: 00007f4c151abf8c R10: 00007ffd09ea2820 R11: 0000000000000293 R12: 00007f4c14c000c8 R13: ffffffffffffffff R14: 00007f4c14c00000 R15: 0000000000013a6f Showing all locks held in the system: 5 locks held by kworker/1:1/26: #0: ffff888015ed3938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888015ed3938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2706 #1: ffffc90000a1fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90000a1fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2706 #2: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5050 drivers/usb/core/hub.c:5811 #3: ffff888021659510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3169 [inline] #3: ffff888021659510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5380 [inline] #3: ffff888021659510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] #3: ffff888021659510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5783 [inline] #3: ffff888021659510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x264e/0x5050 drivers/usb/core/hub.c:5865 #4: ffff8880204c2c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5381 [inline] #4: ffff8880204c2c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] #4: ffff8880204c2c68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5783 [inline] #4: ffff8880204c2c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2682/0x5050 drivers/usb/core/hub.c:5865 1 lock held by khungtaskd/29: #0: ffffffff8d52c6a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d52c6a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d52c6a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by klogd/4445: #0: ffff8880b993c958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 2 locks held by getty/4752: #0: ffff8880278fc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5442: #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x7a/0x7a0 drivers/usb/core/devio.c:1096 1 lock held by syz-executor.0/5742: #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x156/0x770 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/5761: #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x156/0x770 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/5780: #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x156/0x770 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.0/5801: #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #0: ffff8880215e5190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x156/0x770 drivers/usb/core/devio.c:1051 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 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+0x198/0x2f0 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+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4438 Comm: syslogd Not tainted 6.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__lock_acquire+0xe8/0x7fb0 kernel/locking/lockdep.c:5002 Code: 2b f3 65 4c 8b 3d e8 27 97 7e 48 c7 c0 dc 49 bc 8e 48 c1 e8 03 42 0f b6 04 00 84 c0 48 89 bc 24 80 00 00 00 0f 85 75 18 00 00 <83> 3d 9d b2 4f 0d 00 48 89 9c 24 10 01 00 00 0f 84 f8 0f 00 00 83 RSP: 0018:ffffc9000302f380 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 1ffff92000605e94 RCX: 0000000000000000 RDX: ffff8880730501e8 RSI: 0000000000000000 RDI: ffff8880730501e8 RBP: ffffc9000302f648 R08: dffffc0000000000 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1d782e6 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffff888073b58000 FS: 00007f0d2a5b6380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563e34d28600 CR3: 000000001fad2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 __skb_try_recv_datagram+0x19c/0x6a0 net/core/datagram.c:263 __unix_dgram_recvmsg+0x2a5/0x12c0 net/unix/af_unix.c:2368 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg net/socket.c:1068 [inline] sock_read_iter+0x3ab/0x500 net/socket.c:1138 call_read_iter include/linux/fs.h:2081 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x96b/0xb60 fs/read_write.c:476 ksys_read+0x1a0/0x2c0 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x85/0x160 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f0d2a70ab6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffc5b65908 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f0d2a70ab6a RDX: 00000000000000ff RSI: 0000560575cf2950 RDI: 0000000000000000 RBP: 0000560575cf2910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007f0d2a8a93a3 R11: 0000000000000246 R12: 0000560575cf299e R13: 0000560575cf2950 R14: 0000000000000000 R15: 00007f0d2a8e7a80