INFO: task syz-executor.0:21336 blocked for more than 143 seconds. Not tainted 5.15.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26864 pid:21336 ppid: 6548 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 device_lock include/linux/device.h:760 [inline] usbdev_release+0x7a/0x7c0 drivers/usb/core/devio.c:1074 __fput+0x3fe/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0ca601851b RSP: 002b:00007ffdee1a72b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f0ca601851b RDX: 0000000000000000 RSI: 00007f0ca5c1d330 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2cf22de4 R10: 0000000000001e1f R11: 0000000000000293 R12: 00007f0ca616ab60 R13: 00007f0ca616ab60 R14: 00007f0ca6169f60 R15: 000000000008998d INFO: task syz-executor.2:21368 blocked for more than 143 seconds. Not tainted 5.15.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27088 pid:21368 ppid: 6552 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 device_lock include/linux/device.h:760 [inline] usbdev_open+0x153/0x780 drivers/usb/core/devio.c:1029 chrdev_open+0x5fb/0x680 fs/char_dev.c:414 do_dentry_open+0x7cb/0x1020 fs/open.c:822 do_open fs/namei.c:3428 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3561 do_filp_open+0x277/0x4f0 fs/namei.c:3588 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_openat fs/open.c:1232 [inline] __se_sys_openat fs/open.c:1227 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1227 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f3270df57f4 RSP: 002b:00007f326e3b8cc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f3270df57f4 RDX: 0000000000000000 RSI: 00007f326e3b8d60 RDI: 00000000ffffff9c RBP: 00007f326e3b8d60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffc1b72fd2f R14: 00007f326e3b9300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/27: #0: ffffffff8c91c1c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 5 locks held by kworker/u4:2/148: 1 lock held by in:imklog/6222: #0: ffff88801dd8e370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 5 locks held by kworker/1:12/15943: #0: ffff8881423aed38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9001954fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffff88801f438220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801f438220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5662 #3: ffff88801f43c5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3086 [inline] #3: ffff88801f43c5c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect+0xce1/0x27d0 drivers/usb/core/hub.c:5279 #4: ffff88801f29de68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1ef/0x2df0 drivers/usb/core/hub.c:4703 1 lock held by syz-executor.0/21336: #0: ffff88801f438220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff88801f438220 (&dev->mutex){....}-{3:3}, at: usbdev_release+0x7a/0x7c0 drivers/usb/core/devio.c:1074 1 lock held by syz-executor.2/21368: #0: ffff88801f438220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #0: ffff88801f438220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x153/0x780 drivers/usb/core/devio.c:1029 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc3-syzkaller #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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc54/0xca0 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.15.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x37/0x190 lib/smp_processor_id.c:16 Code: 10 49 89 f6 49 89 ff 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 0f 1f 44 00 00 65 8b 1d d2 ab 08 76 65 8b 2d 43 06 09 76 89 ee <81> e6 ff ff ff 7f 31 ff 0f 1f 44 00 00 81 e5 ff ff ff 7f 74 2a 0f RSP: 0018:ffffc90000d276f8 EFLAGS: 00000082 RAX: 28ccd565331ece00 RBX: 0000000000000000 RCX: ffff8880123c09f0 RDX: 0000000000000000 RSI: 0000000080000102 RDI: ffffffff8ab42140 RBP: 0000000080000102 R08: dffffc0000000000 R09: fffffbfff1fa31c1 R10: fffffbfff1fa31c1 R11: 0000000000000000 R12: 0000000000000046 R13: 1ffff920001a4ef0 R14: ffffffff8a4f01e0 R15: ffffffff8ab42140 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6818077000 CR3: 000000002548c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline] lock_acquire+0x1af/0x4d0 kernel/locking/lockdep.c:5627 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x97/0x6a0 lib/debugobjects.c:661 debug_work_activate kernel/workqueue.c:508 [inline] __queue_work+0x917/0xc60 kernel/workqueue.c:1518 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1461 [inline] __run_timers+0x752/0x910 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 run_ksoftirqd+0xc1/0x120 kernel/softirq.c:920 smpboot_thread_fn+0x533/0x9d0 kernel/smpboot.c:164 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 10 49 89 adc %cl,-0x77(%rcx) 3: f6 49 89 ff testb $0xff,-0x77(%rcx) 7: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax e: 00 00 10: 48 89 44 24 08 mov %rax,0x8(%rsp) 15: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 1a: 65 8b 1d d2 ab 08 76 mov %gs:0x7608abd2(%rip),%ebx # 0x7608abf3 21: 65 8b 2d 43 06 09 76 mov %gs:0x76090643(%rip),%ebp # 0x7609066b 28: 89 ee mov %ebp,%esi * 2a: 81 e6 ff ff ff 7f and $0x7fffffff,%esi <-- trapping instruction 30: 31 ff xor %edi,%edi 32: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 37: 81 e5 ff ff ff 7f and $0x7fffffff,%ebp 3d: 74 2a je 0x69 3f: 0f .byte 0xf