------------[ cut here ]------------ WARNING: CPU: 0 PID: 976 at io_uring/io_uring.h:142 io_lockdep_assert_cq_locked io_uring/io_uring.h:142 [inline] WARNING: CPU: 0 PID: 976 at io_uring/io_uring.h:142 io_get_cqe_overflow+0x19f/0x410 io_uring/io_uring.h:166 Modules linked in: CPU: 0 UID: 0 PID: 976 Comm: kworker/u8:10 Not tainted 6.12.0-rc4-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+0x19f/0x410 io_uring/io_uring.h:166 Code: 0f b6 04 28 84 c0 0f 85 63 02 00 00 8b 05 e9 4d b1 04 f6 c3 04 75 18 85 c0 74 26 65 48 8b 04 25 80 b1 03 00 48 39 c5 74 18 90 <0f> 0b 90 eb 12 85 c0 74 0e e8 d3 1e be fe 48 85 c0 0f 84 24 01 00 RSP: 0018:ffffc90002ee77f0 EFLAGS: 00010202 RAX: ffff888112c33980 RBX: 0000000000400548 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffc90002ee7880 RDI: ffff888179566000 RBP: ffff888171618000 R08: 0000000000000003 R09: fffff520005dcef8 R10: dffffc0000000000 R11: fffff520005dcef8 R12: ffff888179566000 R13: dffffc0000000000 R14: 006c6f6f74687465 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f6000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe46594b28 CR3: 0000000113894000 CR4: 00000000003506f0 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:826 [inline] __io_post_aux_cqe io_uring/io_uring.c:847 [inline] io_post_aux_cqe+0xdd/0x3c0 io_uring/io_uring.c:859 io_free_rsrc_node+0xb2/0x2e0 io_uring/rsrc.c:474 io_put_rsrc_node io_uring/rsrc.h:76 [inline] __io_sqe_files_unregister+0x13f/0x570 io_uring/rsrc.c:504 io_sqe_files_unregister+0x3e/0x50 io_uring/rsrc.c:522 io_ring_ctx_free+0x40/0xde0 io_uring/io_uring.c:2724 io_ring_exit_work+0x48e/0x7e0 io_uring/io_uring.c:2962 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x96c/0x1540 kernel/workqueue.c:3310 worker_thread+0x727/0xb10 kernel/workqueue.c:3391 kthread+0x2e0/0x380 kernel/kthread.c:389 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244