------------[ cut here ]------------ test_bit(IO_SQ_THREAD_SHOULD_STOP, &sqd->state) WARNING: io_uring/sqpoll.c:88 at io_sq_thread_stop+0x17e/0x1a0 io_uring/sqpoll.c:88, CPU#1: kworker/u8:40/3000 Modules linked in: CPU: 1 UID: 0 PID: 3000 Comm: kworker/u8:40 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Workqueue: iou_exit io_ring_exit_work RIP: 0010:io_sq_thread_stop+0x17e/0x1a0 io_uring/sqpoll.c:88 Code: c6 05 cb df e9 0b 01 48 c7 c7 a0 da ea 8b be 26 00 00 00 48 c7 c2 e0 da ea 8b e8 dd 05 ce fc e9 4f ff ff ff e8 e3 d8 f2 fc 90 <0f> 0b 90 e9 e1 fe ff ff e8 d5 d8 f2 fc 90 0f 0b 90 e9 6e ff ff ff RSP: 0018:ffffc9000f21f890 EFLAGS: 00010293 RAX: ffffffff84d5061d RBX: ffff888031721400 RCX: ffff8880340b1f40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed10062e42ab R12: 0000000000000001 R13: 0000000000000000 R14: ffff888031721550 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888124818000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7b7874ea7c CR3: 000000002c936000 CR4: 00000000003526f0 Call Trace: io_put_sq_data+0x8a/0x150 io_uring/sqpoll.c:105 io_sq_thread_finish+0x1fd/0x240 io_uring/sqpoll.c:130 io_ring_ctx_free+0x2d/0x5e0 io_uring/io_uring.c:2322 io_ring_exit_work+0x5b1/0x640 io_uring/io_uring.c:2658 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659 kthread+0x38b/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245