INFO: task syz-executor.0:7350 blocked for more than 143 seconds. Not tainted 5.17.0-rc7-syzkaller-00205-g79b00034e9dc #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28048 pid: 7350 ppid: 32626 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 device_lock include/linux/device.h:767 [inline] usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1075 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1f8421bc8b RSP: 002b:00007ffff7773210 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f1f8421bc8b RDX: 0000000000000000 RSI: 0000001b32223e8c RDI: 0000000000000003 RBP: 00007f1f8437d960 R08: 0000000000000000 R09: 0000000067a67a10 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000001e3aac R13: 00007ffff7773310 R14: 00007f1f8437c030 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb84ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by udevd/2964: 2 locks held by getty/3281: #0: ffff88807f16a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 5 locks held by kworker/1:42/9623: #0: ffff888141587138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888141587138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888141587138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888141587138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888141587138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888141587138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90004137db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 #2: ffff88801dfe5220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #2: ffff88801dfe5220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x44d0 drivers/usb/core/hub.c:5688 #3: ffff88801dff9580 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3091 [inline] #3: ffff88801dff9580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5254 [inline] #3: ffff88801dff9580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #3: ffff88801dff9580 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5660 [inline] #3: ffff88801dff9580 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1fba/0x44d0 drivers/usb/core/hub.c:5742 #4: ffff88801d930c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5255 [inline] #4: ffff88801d930c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] #4: ffff88801d930c68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5660 [inline] #4: ffff88801d930c68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x1fe3/0x44d0 drivers/usb/core/hub.c:5742 1 lock held by syz-executor.0/7350: #0: ffff88801dfe5220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline] #0: ffff88801dfe5220 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x83/0x4b0 drivers/usb/core/devio.c:1075 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc7-syzkaller-00205-g79b00034e9dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2964 Comm: udevd Not tainted 5.17.0-rc7-syzkaller-00205-g79b00034e9dc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3695 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3714 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3769 [inline] RIP: 0010:__lock_acquire+0x16e7/0x56c0 kernel/locking/lockdep.c:5027 Code: ed a0 58 f3 8f 48 85 db 74 63 48 83 eb 08 74 5d 48 ba 00 00 00 00 00 fc ff df 48 89 e9 48 8b 6c 24 08 eb 06 48 83 eb 08 74 40 <48> 8d 7b 18 48 89 f8 48 c1 e8 03 80 3c 10 00 0f 85 e5 3a 00 00 48 RSP: 0018:ffffc9000274fb30 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: ffffffff8f362140 RCX: 0000000000005dd3 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8ffc5948 RBP: 0da60fab1e3139f0 R08: 0000000000000000 R09: ffffffff8ffc594f R10: fffffbfff1ff8b29 R11: 0000000000000001 R12: ffff88807de527b0 R13: ffff88807de51d00 R14: ffffffff8d9460e8 R15: 0000000000000000 FS: 00007f86c7f52840(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f64a3f73990 CR3: 0000000019e99000 CR4: 0000000000350ef0 Call Trace: lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] d_alloc+0x6a/0x230 fs/dcache.c:1851 __lookup_hash+0xc8/0x180 fs/namei.c:1604 do_unlinkat+0x281/0x650 fs/namei.c:4202 __do_sys_unlink fs/namei.c:4266 [inline] __se_sys_unlink fs/namei.c:4264 [inline] __x64_sys_unlink+0xc6/0x110 fs/namei.c:4264 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f86c80ab2d7 Code: f0 ff ff 73 01 c3 48 8b 0d 9e db 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 71 db 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc793fd398 EFLAGS: 00000202 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f86c80ab2d7 RDX: 0000000000000000 RSI: 000000007ed6b400 RDI: 0000559b677560d8 RBP: 0000559b6827b0c0 R08: 000000007ed7c60d R09: 00007ffc794a6080 R10: 00007ffc794a6090 R11: 0000000000000202 R12: 0000000000000bb8 R13: 0000559b68277000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: ed in (%dx),%eax 1: a0 58 f3 8f 48 85 db movabs 0x6374db85488ff358,%al 8: 74 63 a: 48 83 eb 08 sub $0x8,%rbx e: 74 5d je 0x6d 10: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 17: fc ff df 1a: 48 89 e9 mov %rbp,%rcx 1d: 48 8b 6c 24 08 mov 0x8(%rsp),%rbp 22: eb 06 jmp 0x2a 24: 48 83 eb 08 sub $0x8,%rbx 28: 74 40 je 0x6a * 2a: 48 8d 7b 18 lea 0x18(%rbx),%rdi <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 48 c1 e8 03 shr $0x3,%rax 35: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) 39: 0f 85 e5 3a 00 00 jne 0x3b24 3f: 48 rex.W