INFO: task syz-executor.5:17428 blocked for more than 143 seconds. Not tainted 5.9.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27520 pid:17428 ppid: 7263 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xec9/0x2280 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4661 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103 device_lock include/linux/device.h:785 [inline] usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x11b0 fs/open.c:817 do_open fs/namei.c:3251 [inline] path_openat+0x1b9a/0x2730 fs/namei.c:3368 do_filp_open+0x17e/0x3c0 fs/namei.c:3395 do_sys_openat2+0x16d/0x420 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_open fs/open.c:1192 [inline] __se_sys_open fs/open.c:1188 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1188 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x417921 Code: Bad RIP value. RSP: 002b:00007fe2dfc8c820 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000417921 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fe2dfc8c850 RBP: 000000000118bf60 R08: 000000000000000f R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000293 R12: 000000000118bf2c R13: 000000000169fb7f R14: 00007fe2dfc8d9c0 R15: 000000000118bf2c INFO: task syz-executor.5:17436 blocked for more than 143 seconds. Not tainted 5.9.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28136 pid:17436 ppid: 7263 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xec9/0x2280 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4661 __mutex_lock_common kernel/locking/mutex.c:1033 [inline] __mutex_lock+0x3e2/0x10e0 kernel/locking/mutex.c:1103 device_lock include/linux/device.h:785 [inline] usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4b9/0x11b0 fs/open.c:817 do_open fs/namei.c:3251 [inline] path_openat+0x1b9a/0x2730 fs/namei.c:3368 do_filp_open+0x17e/0x3c0 fs/namei.c:3395 do_sys_openat2+0x16d/0x420 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_open fs/open.c:1192 [inline] __se_sys_open fs/open.c:1188 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1188 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x417921 Code: Bad RIP value. RSP: 002b:00007fe2dfc6b820 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000417921 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fe2dfc6b850 RBP: 000000000118c008 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000118bfd4 R13: 000000000169fb7f R14: 00007fe2dfc6c9c0 R15: 000000000118bfd4 Showing all locks held in the system: 1 lock held by khungtaskd/1174: #0: ffffffff8a067f40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5852 1 lock held by in:imklog/6587: #0: ffff8880a788f170 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 3 locks held by kworker/u4:6/9103: 5 locks held by kworker/0:30/12123: #0: ffff8880a63f0d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a63f0d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff8880a63f0d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff8880a63f0d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff8880a63f0d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff8880a63f0d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x82b/0x1670 kernel/workqueue.c:2240 #1: ffffc9000895fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x85f/0x1670 kernel/workqueue.c:2244 #2: ffff888217af3218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:785 [inline] #2: ffff888217af3218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b6/0x3e60 drivers/usb/core/hub.c:5522 #3: ffff888217b07588 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3012 [inline] #3: ffff888217b07588 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5139 [inline] #3: ffff888217b07588 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5348 [inline] #3: ffff888217b07588 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5494 [inline] #3: ffff888217b07588 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x1e4f/0x3e60 drivers/usb/core/hub.c:5576 #4: ffff888217aa0b68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_init+0x1b6/0x2d80 drivers/usb/core/hub.c:4563 1 lock held by syz-executor.5/17428: #0: ffff888217af3218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:785 [inline] #0: ffff888217af3218 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 1 lock held by syz-executor.5/17436: #0: ffff888217af3218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:785 [inline] #0: ffff888217af3218 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x19d/0x930 drivers/usb/core/devio.c:1029 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1174 Comm: khungtaskd Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd7d/0x1000 kernel/hung_task.c:295 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6588 Comm: rs:main Q:Reg Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:debug_lockdep_rcu_enabled+0x23/0x30 kernel/rcu/update.c:291 Code: cc cc cc cc cc cc cc 8b 05 ba d0 32 03 85 c0 74 21 8b 05 2c 02 33 03 85 c0 74 17 65 48 8b 04 25 c0 fe 01 00 8b 80 e4 08 00 00 <85> c0 0f 94 c0 0f b6 c0 c3 cc cc cc cc 55 53 48 c7 c3 00 6c 03 00 RSP: 0018:ffffc90009e377b8 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff815c096e RDX: fffffbfff16b301a RSI: 0000000000000008 RDI: ffffffff8b5980c8 RBP: ffff8880ae535e18 R08: 0000000000000000 R09: ffffffff8b5980cf R10: fffffbfff16b3019 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f1c77a44700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb1b44b4000 CR3: 0000000094f75000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x3cd/0xaf0 kernel/locking/lockdep.c:5003 finish_lock_switch kernel/sched/core.c:3516 [inline] finish_task_switch+0x148/0x790 kernel/sched/core.c:3617 context_switch kernel/sched/core.c:3781 [inline] __schedule+0xed1/0x2280 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 freezable_schedule include/linux/freezer.h:172 [inline] futex_wait_queue_me+0x2a7/0x570 kernel/futex.c:2588 futex_wait+0x1df/0x560 kernel/futex.c:2690 do_futex+0x15b/0x1a50 kernel/futex.c:3749 __do_sys_futex kernel/futex.c:3810 [inline] __se_sys_futex kernel/futex.c:3778 [inline] __x64_sys_futex+0x378/0x4e0 kernel/futex.c:3778 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f1c7a48517f Code: 30 83 f8 20 75 15 be 8b 00 00 00 b8 ca 00 00 00 0f 05 83 f8 00 41 0f 94 c0 eb 0f be 80 00 00 00 45 30 c0 b8 ca 00 00 00 0f 05 <8b> 3c 24 e8 49 2d 00 00 48 8b 7c 24 08 be 01 00 00 00 31 c0 f0 0f RSP: 002b:00007f1c77a43c70 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1c7a48517f RDX: 0000000000000c13 RSI: 0000000000000080 RDI: 00005582a7e8828c RBP: 00005582a7e88288 R08: 00005582a7e88000 R09: 0000000000000609 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1c77a43cd0 R13: 0000000000000000 R14: 00005582a76fe290 R15: 0000000000000000