------------[ cut here ]------------ WARNING: CPU: 1 PID: 52 at io_uring/io_uring.h:142 io_lockdep_assert_cq_locked io_uring/io_uring.h:142 [inline] WARNING: CPU: 1 PID: 52 at io_uring/io_uring.h:142 io_get_cqe_overflow+0x43f/0x590 io_uring/io_uring.h:166 Modules linked in: CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.12.0-rc5-next-20241101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: iou_exit io_ring_exit_work RIP: 0010:io_lockdep_assert_cq_locked io_uring/io_uring.h:142 [inline] RIP: 0010:io_get_cqe_overflow+0x43f/0x590 io_uring/io_uring.h:166 Code: 0f 0b 90 e9 62 fc ff ff e8 fe 43 ec fc 90 0f 0b 90 e9 90 fe ff ff e8 f0 43 ec fc 90 0f 0b 90 e9 82 fe ff ff e8 e2 43 ec fc 90 <0f> 0b 90 e9 74 fe ff ff e8 d4 43 ec fc 90 0f 0b 90 e9 66 fe ff ff RSP: 0018:ffffc90000bc7810 EFLAGS: 00010293 RAX: ffffffff84a97a1e RBX: ffff888024369e00 RCX: ffff888020a9bc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff84a97821 R09: fffff52000178efc R10: dffffc0000000000 R11: fffff52000178efc R12: 0000000000000000 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffffc90000bc78a0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000100 CR3: 0000000024418000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_get_cqe io_uring/io_uring.h:182 [inline] io_fill_cqe_aux io_uring/io_uring.c:822 [inline] __io_post_aux_cqe io_uring/io_uring.c:843 [inline] io_post_aux_cqe+0xe5/0x420 io_uring/io_uring.c:855 io_free_rsrc_node+0xe3/0x220 io_uring/rsrc.c:453 io_put_rsrc_node io_uring/rsrc.h:81 [inline] io_rsrc_data_free+0xf2/0x200 io_uring/rsrc.c:140 io_free_file_tables+0x23/0x70 io_uring/filetable.c:52 io_sqe_files_unregister+0x53/0x140 io_uring/rsrc.c:477 io_ring_ctx_free+0x49/0xdb0 io_uring/io_uring.c:2715 io_ring_exit_work+0x80f/0x8a0 io_uring/io_uring.c:2952 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244