------------[ cut here ]------------ WARNING: CPU: 1 PID: 10189 at fs/io_uring.c:1504 req_ref_put_and_test fs/io_uring.c:1498 [inline] WARNING: CPU: 1 PID: 10189 at fs/io_uring.c:1504 req_ref_put fs/io_uring.c:1504 [inline] WARNING: CPU: 1 PID: 10189 at fs/io_uring.c:1504 io_poll_double_wake+0x4ee/0x810 fs/io_uring.c:4994 Modules linked in: CPU: 1 PID: 10189 Comm: syz-executor.3 Not tainted 5.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:req_ref_put fs/io_uring.c:1504 [inline] RIP: 0010:req_ref_put fs/io_uring.c:1502 [inline] RIP: 0010:io_poll_double_wake+0x4ee/0x810 fs/io_uring.c:4994 Code: 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 33 02 00 00 49 8b 7c 24 08 e8 5e d3 7d 06 e9 09 ff ff ff 0f 0b e9 4c ff ff ff <0f> 0b e9 61 ff ff ff 4c 89 c7 4c 89 04 24 e8 4f 7f e1 ff 4c 8b 04 RSP: 0018:ffffc9000b12fad8 EFLAGS: 00010046 RAX: 0000000000000001 RBX: ffff888010271398 RCX: ffffffff81c134e7 RDX: ffffed1002125684 RSI: 0000000000000004 RDI: ffff88801092b41c RBP: ffff88801092b3c0 R08: 0000000000000001 R09: ffff88801092b41f R10: ffffed1002125683 R11: 0000000000000000 R12: ffff88801092b41c R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f9e9cb33700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff791f19e0 CR3: 000000001357c000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common+0x147/0x650 kernel/sched/wait.c:108 __wake_up_common_lock+0xd0/0x130 kernel/sched/wait.c:138 tty_ldisc_lock+0x50/0x90 drivers/tty/tty_ldisc.c:336 tty_ldisc_hangup+0x1ae/0x5a0 drivers/tty/tty_ldisc.c:745 __tty_hangup.part.0+0x337/0x770 drivers/tty/tty_io.c:639 __tty_hangup drivers/tty/tty_io.c:595 [inline] tty_vhangup drivers/tty/tty_io.c:712 [inline] tty_ioctl+0xbbb/0x1340 drivers/tty/tty_io.c:2742 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9e9cb33188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000000000000 RSI: 0000000000005437 RDI: 0000000000000005 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffeb176fb7f R14: 00007f9e9cb33300 R15: 0000000000022000