RBP: 00007f20bdf74ca0 R08: 0000000020000180 R09: 0000000020000180 R10: 0000000020000140 R11: 0000000000000206 R12: 0000000020ffb000 R13: 0000000020ffa000 R14: 0000000020000180 R15: 0000000020000140 ------------[ cut here ]------------ percpu_ref_kill_and_confirm called more than once on io_ring_ctx_ref_free! WARNING: CPU: 0 PID: 2074 at lib/percpu-refcount.c:382 percpu_ref_kill_and_confirm+0x126/0x180 lib/percpu-refcount.c:382 Modules linked in: CPU: 0 PID: 2074 Comm: syz-executor.5 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+0x126/0x180 lib/percpu-refcount.c:382 Code: 5d 08 48 8d 7b 08 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5d 48 8b 53 08 48 c7 c6 00 f1 9c 89 48 c7 c7 60 f0 9c 89 e8 16 9d f6 04 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 RSP: 0018:ffffc900169e7e10 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff88806ca62e00 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff8158c855 RDI: fffff52002d3cfb4 RBP: ffff88802e2e9000 R08: 0000000000000001 R09: ffff8880b9e2011b R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88805e608910 FS: 00007f20bdf75700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016b9e60 CR3: 0000000028c1d000 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+0x2b/0x450 fs/io_uring.c:8382 io_uring_release+0x3e/0x50 fs/io_uring.c:8420 __fput+0x285/0x920 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x17e/0x1a0 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x260 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:00007f20bdf74be8 EFLAGS: 00000206 ORIG_RAX: 00000000000001a9 RAX: fffffffffffffff4 RBX: 00000000200000c0 RCX: 000000000045e159 RDX: 0000000020ffb000 RSI: 00000000200000c0 RDI: 000000000000070f RBP: 00007f20bdf74ca0 R08: 0000000020000180 R09: 0000000020000180 R10: 0000000020000140 R11: 0000000000000206 R12: 0000000020ffb000 R13: 0000000020ffa000 R14: 0000000020000180 R15: 0000000020000140