------------[ cut here ]------------ percpu_ref_kill_and_confirm called more than once on io_ring_ctx_ref_free! WARNING: CPU: 1 PID: 14578 at lib/percpu-refcount.c:384 percpu_ref_kill_and_confirm+0x112/0x130 lib/percpu-refcount.c:382 Modules linked in: CPU: 1 PID: 14578 Comm: syz-executor.1 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:percpu_ref_kill_and_confirm+0x112/0x130 lib/percpu-refcount.c:382 Code: e8 03 42 80 3c 28 00 74 08 48 89 ef e8 e7 c8 f5 fd 48 8b 55 00 48 c7 c7 40 93 0c 8a 48 c7 c6 c6 38 72 8b 31 c0 e8 ae 94 82 fd <0f> 0b 43 80 3c 2c 00 0f 85 5f ff ff ff e9 62 ff ff ff 66 90 66 2e RSP: 0018:ffffc9000d0dfb60 EFLAGS: 00010046 RAX: 6e4bdef229dc0800 RBX: ffff888072feb000 RCX: 0000000000040000 RDX: ffffc9000aa89000 RSI: 0000000000004a6f RDI: 0000000000004a70 RBP: ffff88801d111b08 R08: ffffffff815d8292 R09: ffffed10173a4004 R10: ffffed10173a4004 R11: 0000000000000000 R12: 1ffff1100e5fd600 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f1182eeb700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000074c698 CR3: 0000000026b4c000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: percpu_ref_kill include/linux/percpu-refcount.h:149 [inline] io_ring_ctx_wait_and_kill+0x3b/0x550 fs/io_uring.c:8382 io_uring_release+0x59/0x70 fs/io_uring.c:8420 __fput+0x34f/0x7b0 fs/file_table.c:281 task_work_run+0x137/0x1c0 kernel/task_work.c:168 get_signal+0x1649/0x1d90 kernel/signal.c:2596 arch_do_signal_or_restart+0x3c/0x610 arch/x86/kernel/signal.c:811 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0xac/0x1a0 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x48/0x190 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e159 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1182eeabe8 EFLAGS: 00000206 ORIG_RAX: 00000000000001a9 RAX: fffffffffffffff4 RBX: 0000000020000080 RCX: 000000000045e159 RDX: 00000000206d4000 RSI: 0000000020000080 RDI: 0000000000001ac8 RBP: 000000000119c080 R08: 0000000020000040 R09: 0000000020000040 R10: 0000000020000000 R11: 0000000000000206 R12: 00000000206d4000 R13: 0000000020ee7000 R14: 0000000020000040 R15: 0000000020000000