general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 PID: 6845 Comm: syz-executor619 Not tainted 5.8.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:io_poll_double_wake+0x7a/0x3f0 fs/io_uring.c:4589 Code: 48 c1 ea 03 80 3c 02 00 0f 85 c7 02 00 00 48 8b ab b8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7d 40 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 97 02 00 00 31 ff 44 89 e6 48 8b 6d 40 e8 8e 39 RSP: 0018:ffffc90000f57830 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff88809f70fcc0 RCX: 0000000000000000 RDX: 0000000000000008 RSI: ffffffff81d71089 RDI: 0000000000000040 RBP: 0000000000000000 R08: ffff8880a6bf0a98 R09: ffffc90000f57910 R10: fffff520001eaf09 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000832880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000484 CR3: 00000000a8894000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __wake_up_common+0x147/0x650 kernel/sched/wait.c:93 __wake_up_common_lock+0xd0/0x130 kernel/sched/wait.c:123 n_tty_set_termios+0x73d/0x1010 drivers/tty/n_tty.c:1874 tty_set_termios+0x5eb/0x840 drivers/tty/tty_ioctl.c:341 set_termios.part.0+0x2be/0x4d0 drivers/tty/tty_ioctl.c:414 set_termios drivers/tty/tty_ioctl.c:368 [inline] tty_mode_ioctl+0x899/0xb60 drivers/tty/tty_ioctl.c:745 n_tty_ioctl_helper+0x55/0x3a0 drivers/tty/tty_ioctl.c:940 n_tty_ioctl+0x56/0x370 drivers/tty/n_tty.c:2466 tty_ioctl+0x10c5/0x15f0 drivers/tty/tty_io.c:2665 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+0x193/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4405d9 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 db 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffd1801f5f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000401ed0 RCX: 00000000004405d9 RDX: 0000000020000080 RSI: 0000000000005404 RDI: 0000000000000004 RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000003e69 R11: 0000000000000246 R12: 0000000000401e40 R13: 0000000000401ed0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 349b24b3ebe4c661 ]--- RIP: 0010:io_poll_double_wake+0x7a/0x3f0 fs/io_uring.c:4589 Code: 48 c1 ea 03 80 3c 02 00 0f 85 c7 02 00 00 48 8b ab b8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7d 40 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 97 02 00 00 31 ff 44 89 e6 48 8b 6d 40 e8 8e 39 RSP: 0018:ffffc90000f57830 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff88809f70fcc0 RCX: 0000000000000000 RDX: 0000000000000008 RSI: ffffffff81d71089 RDI: 0000000000000040 RBP: 0000000000000000 R08: ffff8880a6bf0a98 R09: ffffc90000f57910 R10: fffff520001eaf09 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000832880(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000484 CR3: 00000000a8894000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400