INFO: task kworker/u4:0:8 blocked for more than 143 seconds. Not tainted 5.15.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:0 state:D stack:20408 pid: 8 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 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 io_uring_try_cancel_iowq fs/io_uring.c:9567 [inline] io_uring_try_cancel_requests+0x27c/0xc50 fs/io_uring.c:9597 io_ring_exit_work+0x11c/0x1d10 fs/io_uring.c:9397 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 INFO: task kworker/u4:4:1077 blocked for more than 143 seconds. Not tainted 5.15.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:4 state:D stack:19736 pid: 1077 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 io_ring_exit_work+0x6a0/0x1d10 fs/io_uring.c:9439 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Showing all locks held in the system: 3 locks held by kworker/u4:0/8: #0: ffff888011069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000cd7d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffff8880899f40a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9567 [inline] #2: ffff8880899f40a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x27c/0xc50 fs/io_uring.c:9597 1 lock held by khungtaskd/26: #0: ffffffff8c91c980 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:4/1077: #0: ffff888011069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90004aefd20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 1 lock held by in:imklog/6231: #0: ffff888072610ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 3 locks held by kworker/u4:5/25192: 1 lock held by syz-executor.3/26042: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc6-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+0xc82/0xcd0 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: 26042 Comm: syz-executor.3 Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hlock_class kernel/locking/lockdep.c:194 [inline] RIP: 0010:__lock_acquire+0x12ca/0x2b00 kernel/locking/lockdep.c:5012 Code: 80 3c 38 00 74 12 4c 89 f7 e8 e2 cf 69 00 48 bf 00 00 00 00 00 fc ff df 49 83 3e 00 0f 84 b2 0b 00 00 48 8b 44 24 38 8a 04 38 <84> c0 0f 85 2b 12 00 00 48 8b 44 24 20 8b 18 81 e3 ff 1f 00 00 48 RSP: 0018:ffffc90002f8f080 EFLAGS: 00000086 RAX: 1ffff11003a99100 RBX: 0000000000000753 RCX: ffffffff81655250 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffffc90002f8f1d0 R08: dffffc0000000000 R09: fffffbfff1fa37f6 R10: fffffbfff1fa37f6 R11: 0000000000000000 R12: ffff88801d4c8000 R13: ffff88801d4c8a48 R14: ffffffff8f6ba960 R15: 03a7fc5f454ce4fb FS: 00007fbf67305700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7baed1b000 CR3: 0000000027302000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __fs_reclaim_acquire mm/page_alloc.c:4539 [inline] fs_reclaim_acquire+0x77/0x110 mm/page_alloc.c:4553 might_alloc include/linux/sched/mm.h:198 [inline] slab_pre_alloc_hook mm/slab.h:492 [inline] slab_alloc_node mm/slub.c:3127 [inline] slab_alloc mm/slub.c:3221 [inline] kmem_cache_alloc_trace+0x42/0x310 mm/slub.c:3238 kmalloc include/linux/slab.h:591 [inline] io_add_buffers fs/io_uring.c:4382 [inline] io_provide_buffers fs/io_uring.c:4416 [inline] io_issue_sqe+0x349e/0xa1f0 fs/io_uring.c:6728 __io_queue_sqe+0xe3/0xfe0 fs/io_uring.c:6957 tctx_task_work+0x37d/0x600 fs/io_uring.c:2156 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:214 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x180/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:0x7fbf69d8fa39 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbf67305188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000800 RBX: 00007fbf69e92f60 RCX: 00007fbf69d8fa39 RDX: 0000000000000000 RSI: 0000000000006019 RDI: 0000000000000006 RBP: 00007fbf69de9e8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffa2d883af R14: 00007fbf67305300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 80 3c 38 00 cmpb $0x0,(%rax,%rdi,1) 4: 74 12 je 0x18 6: 4c 89 f7 mov %r14,%rdi 9: e8 e2 cf 69 00 callq 0x69cff0 e: 48 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%rdi 15: fc ff df 18: 49 83 3e 00 cmpq $0x0,(%r14) 1c: 0f 84 b2 0b 00 00 je 0xbd4 22: 48 8b 44 24 38 mov 0x38(%rsp),%rax 27: 8a 04 38 mov (%rax,%rdi,1),%al * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 85 2b 12 00 00 jne 0x125d 32: 48 8b 44 24 20 mov 0x20(%rsp),%rax 37: 8b 18 mov (%rax),%ebx 39: 81 e3 ff 1f 00 00 and $0x1fff,%ebx 3f: 48 rex.W