INFO: task syz-executor.0:2846 blocked for more than 143 seconds. Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26896 pid:2846 tgid:2846 ppid:5111 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747 device_lock include/linux/device.h:992 [inline] usbdev_release+0x87/0x470 drivers/usb/core/devio.c:1096 __fput+0x270/0xb70 fs/file_table.c:394 __fput_sync+0x47/0x50 fs/file_table.c:475 __do_sys_close fs/open.c:1587 [inline] __se_sys_close fs/open.c:1572 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1572 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fd4af47bada RSP: 002b:00007fd4af6bfb10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007fd4af47bada RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007fd4af59d980 R08: 0000001b32220000 R09: 0000000000000049 R10: 0000000081301562 R11: 0000000000000293 R12: 00000000001004bc R13: ffffffffffffffff R14: 00007fd4af000000 R15: 000000000010017b INFO: task syz-executor.0:2859 blocked for more than 143 seconds. Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26512 pid:2859 tgid:2846 ppid:5111 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747 device_lock include/linux/device.h:992 [inline] usbdev_open+0x1b4/0x8c0 drivers/usb/core/devio.c:1051 chrdev_open+0x26d/0x6e0 fs/char_dev.c:414 do_dentry_open+0x8d6/0x18c0 fs/open.c:948 do_open fs/namei.c:3622 [inline] path_openat+0x1e5a/0x2c50 fs/namei.c:3779 do_filp_open+0x1de/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fd4af47b7e0 RSP: 002b:00007fd4b01dac00 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000001501 RCX: 00007fd4af47b7e0 RDX: 0000000000001501 RSI: 00007fd4b01daca0 RDI: 00000000ffffff9c RBP: 00007fd4b01daca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000006e R14: 00007fd4af59c050 R15: 00007fd4af6bfa48 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 1 lock held by udevd/4523: 2 locks held by getty/4822: #0: ffff8880264b30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015e72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 5 locks held by kworker/1:4/5160: #0: ffff888140681138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2602 #1: ffffc90004b7fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2603 #2: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e10 drivers/usb/core/hub.c:5768 #3: ffff888142b10510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3131 [inline] #3: ffff888142b10510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] #3: ffff888142b10510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #3: ffff888142b10510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff888142b10510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x27fe/0x4e10 drivers/usb/core/hub.c:5822 #4: ffff88802059e368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] #4: ffff88802059e368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #4: ffff88802059e368 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #4: ffff88802059e368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2827/0x4e10 drivers/usb/core/hub.c:5822 2 locks held by kworker/u4:3/29357: 1 lock held by syz-executor.0/2846: #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x87/0x470 drivers/usb/core/devio.c:1096 1 lock held by syz-executor.0/2859: #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b4/0x8c0 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.3/3039: #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b4/0x8c0 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.2/3109: #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b4/0x8c0 drivers/usb/core/devio.c:1051 1 lock held by syz-executor.3/3135: #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #0: ffff888020dfc190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x1b4/0x8c0 drivers/usb/core/devio.c:1051 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4523 Comm: udevd Not tainted 6.7.0-rc6-syzkaller-00010-g2cf4f94d8e86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:trace_irq_disable include/trace/events/preemptirq.h:36 [inline] RIP: 0010:trace_hardirqs_off_finish kernel/trace/trace_preemptirq.c:78 [inline] RIP: 0010:trace_hardirqs_off_finish+0x57/0x120 kernel/trace/trace_preemptirq.c:73 Code: 07 0f 87 ca 00 00 00 89 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 10 33 19 8f e8 c1 f8 4f 00 48 0f a3 1d 09 0c 8b 0d <0f> 82 8b 00 00 00 5b 5d c3 65 8b 1d b5 95 75 7e 83 fb 07 0f 87 97 RSP: 0018:ffffc9000337ff08 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff818e26ff RDX: fffffbfff1e32663 RSI: 0000000000000008 RDI: ffffffff8f193310 RBP: ffffffff8a7ff208 R08: 0000000000000000 R09: fffffbfff1e32662 R10: ffffffff8f193317 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f06e4eb6c80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561897596100 CR3: 0000000019718000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __enter_from_user_mode kernel/entry/common.c:29 [inline] syscall_enter_from_user_mode+0x78/0x120 kernel/entry/common.c:108 do_syscall_64+0x1c/0x110 arch/x86/entry/common.c:79 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f06e4f99457 Code: 73 01 c3 48 8b 0d d1 d9 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 e8 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 76 48 8b 15 a2 d9 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd585081c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 00007ffd585082c8 RCX: 00007f06e4f99457 RDX: 0000000000000008 RSI: 00007ffd585082c8 RDI: 000000000000000b RBP: 000056198148ce10 R08: 000000004770c0dc R09: 0000000000000001 R10: 0000000000000bb8 R11: 0000000000000246 R12: 0000000000000bb8 R13: 000056198149e1e0 R14: 0000000000000000 R15: 0000000000000000