------------[ cut here ]------------ WARNING: CPU: 1 PID: 5072 at kernel/fork.c:845 __put_task_struct+0x330/0x3d0 kernel/fork.c:845 Modules linked in: CPU: 1 PID: 5072 Comm: syz-executor214 Not tainted 6.2.0-rc3-next-20230112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__put_task_struct+0x330/0x3d0 kernel/fork.c:845 Code: 0e 4c 89 e6 e8 f1 3a 85 00 e9 22 ff ff ff e8 c7 aa 37 00 be 03 00 00 00 4c 89 e7 e8 fa 91 bf 02 e9 0b ff ff ff e8 b0 aa 37 00 <0f> 0b e9 1a fd ff ff e8 a4 aa 37 00 0f 0b e9 62 fd ff ff e8 98 aa RSP: 0018:ffffc90003bffa68 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888027d7d7c0 RSI: ffffffff814a1230 RDI: 0000000000000005 RBP: ffff888027d7d7c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000403 R13: ffff888017c51940 R14: fffffffffffffbfd R15: ffff888017c51800 FS: 00007fafe995a700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fafe9a1edb8 CR3: 00000000720f8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: put_task_struct_many include/linux/sched/task.h:125 [inline] io_uring_drop_tctx_refs+0xfc/0x109 io_uring/io_uring.c:745 io_uring_cancel_generic+0x259/0x606 io_uring/io_uring.c:3186