INFO: task kworker/u4:0:8 blocked for more than 143 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:0 state:D stack:25136 pid: 8 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_uring_try_cancel_iowq fs/io_uring.c:9567 [inline] io_uring_try_cancel_requests+0x7d1/0xc30 fs/io_uring.c:9597 io_ring_exit_work+0x137/0x19a0 fs/io_uring.c:9397 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 3 locks held by kworker/u4:0/8: #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268 #1: ffffc90000cd7db0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272 #2: ffff88801e8be0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9567 [inline] #2: ffff88801e8be0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x7d1/0xc30 fs/io_uring.c:9597 1 lock held by khungtaskd/27: #0: ffffffff8b981b20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6233: #0: ffff88807f40b9f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.4/13314: 2 locks held by syz-executor.4/13315: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc7-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2963 Comm: systemd-journal Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x7/0x80 kernel/kcov.c:270 Code: 01 4c 89 44 38 e8 48 c7 44 38 e0 06 00 00 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 53 41 89 fb 41 89 f1 03 00 00 00 65 48 8b 0c 25 40 f0 01 00 48 89 ce 4c 8b 54 24 08 RSP: 0018:ffffc900022dfc10 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81730143 RDX: ffffed100f5aecfa RSI: 0000000000000c01 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000c01 R10: ffffed100f5aecf9 R11: 0000000000000000 R12: 0000000000000cc0 R13: 0000000000000c01 R14: ffff88807ad75580 R15: 0000000000000002 FS: 00007fb2ebf2d8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2e9425018 CR3: 000000007ddd0000 CR4: 0000000000350ee0 Call Trace: __cpuset_node_allowed+0x99/0x5c0 kernel/cgroup/cpuset.c:3521 __cpuset_zone_allowed include/linux/cpuset.h:79 [inline] cpuset_zone_allowed include/linux/cpuset.h:85 [inline] get_any_partial mm/slub.c:2195 [inline] get_partial mm/slub.c:2231 [inline] ___slab_alloc+0x9dc/0x1050 mm/slub.c:2996 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3088 slab_alloc_node mm/slub.c:3179 [inline] slab_alloc mm/slub.c:3221 [inline] kmem_cache_alloc+0x365/0x390 mm/slub.c:3226 getname_flags.part.0+0x50/0x4f0 fs/namei.c:138 getname_flags+0x9a/0xe0 include/linux/audit.h:319 user_path_at_empty+0x2b/0x60 fs/namei.c:2800 user_path_at include/linux/namei.h:57 [inline] do_faccessat+0x127/0x850 fs/open.c:421 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:0x7fb2eb1e89c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fffd6c7d8b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007fffd6c807d0 RCX: 00007fb2eb1e89c7 RDX: 00007fb2ebc59a00 RSI: 0000000000000000 RDI: 00005558ce57c9a3 RBP: 00007fffd6c7d8f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fffd6c807d0 R15: 00007fffd6c7dde0 ---------------- Code disassembly (best guess): 0: 01 4c 89 44 add %ecx,0x44(%rcx,%rcx,4) 4: 38 e8 cmp %ch,%al 6: 48 c7 44 38 e0 06 00 movq $0x6,-0x20(%rax,%rdi,1) d: 00 00 f: 48 89 4c 38 f0 mov %rcx,-0x10(%rax,%rdi,1) 14: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) 19: 48 89 10 mov %rdx,(%rax) 1c: c3 retq 1d: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 23: 53 push %rbx 24: 41 89 fb mov %edi,%r11d 27: 41 89 f1 mov %esi,%r9d * 2a: bf 03 00 00 00 mov $0x3,%edi <-- trapping instruction 2f: 65 48 8b 0c 25 40 f0 mov %gs:0x1f040,%rcx 36: 01 00 38: 48 89 ce mov %rcx,%rsi 3b: 4c 8b 54 24 08 mov 0x8(%rsp),%r10