WARNING: CPU: 3 PID: 146 at lib/percpu-refcount.c:113 __percpu_ref_exit+0x98/0x100 lib/percpu-refcount.c:113 Modules linked in: CPU: 3 PID: 146 Comm: kworker/u17:3 Not tainted 5.12.0-rc1-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: events_unbound io_ring_exit_work RIP: 0010:__percpu_ref_exit+0x98/0x100 lib/percpu-refcount.c:113 Code: fd 49 8d 7c 24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 61 49 83 7c 24 10 00 74 07 e8 d8 a8 b1 fd <0f> 0b e8 d1 a8 b1 fd 48 89 ef e8 39 ed e0 fd 48 89 da 48 b8 00 00 RSP: 0018:ffffc90000bb7c98 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88806a6e8000 RCX: 0000000000000000 RDX: ffff8880129a0000 RSI: ffffffff83c18e98 RDI: ffff888023cb7b90 RBP: 0000607f8106c898 R08: 0000000000000000 R09: ffffffff8fab6977 R10: ffffffff83c18e38 R11: 0000000000000009 R12: ffff888023cb7b80 R13: ffff88806b100000 R14: ffff888023cb7b80 R15: ffff8880109ae800 FS: 0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f99ce3b7000 CR3: 0000000015bf5000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: percpu_ref_exit+0x3b/0x140 lib/percpu-refcount.c:134 io_ring_ctx_free fs/io_uring.c:8445 [inline] io_ring_exit_work+0x2e9/0x4a0 fs/io_uring.c:8552 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294