------------[ cut here ]------------ percpu_ref_kill_and_confirm called more than once on io_ring_ctx_ref_free! WARNING: CPU: 0 PID: 10292 at lib/percpu-refcount.c:384 percpu_ref_kill_and_confirm+0x112/0x130 lib/percpu-refcount.c:382 Modules linked in: CPU: 0 PID: 10292 Comm: syz-executor.4 Not tainted 5.10.0-rc7-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 67 25 f6 fd 48 8b 55 00 48 c7 c7 c0 3c 0c 8a 48 c7 c6 86 42 71 8b 31 c0 e8 5e 40 84 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:ffffc90002effb68 EFLAGS: 00010046 RAX: d53b7d9658619100 RBX: ffff88807dcd5000 RCX: 0000000000040000 RDX: ffffc9001156a000 RSI: 0000000000003eed RDI: 0000000000003eee RBP: ffff8880251abb08 R08: ffffffff815d2a62 R09: ffffed1017383ffc R10: ffffed1017383ffc R11: 0000000000000000 R12: 1ffff1100fb9aa00 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f4eb45c1700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002362f000 CR4: 00000000001506f0 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:151 get_signal+0x1649/0x1d90 kernel/signal.c:2562 arch_do_signal+0x33/0x610 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0x85/0x170 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x4a/0x170 kernel/entry/common.c:266 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:00007f4eb45c0be8 EFLAGS: 00000206 ORIG_RAX: 00000000000001a9 RAX: fffffffffffffff4 RBX: 0000000020000680 RCX: 000000000045e159 RDX: 0000000020ffb000 RSI: 0000000020000680 RDI: 0000000000002944 RBP: 000000000119c080 R08: 0000000020000740 R09: 0000000020000740 R10: 0000000020000700 R11: 0000000000000206 R12: 0000000020ffb000 R13: 0000000020ffb000 R14: 0000000020000740 R15: 0000000020000700