general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f] CPU: 1 PID: 8627 Comm: syz-executor.4 Not tainted 5.9.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:io_poll_get_single fs/io_uring.c:4642 [inline] RIP: 0010:io_poll_double_wake+0x51/0x510 fs/io_uring.c:4709 Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 9e 03 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 48 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e 63 03 00 00 0f b6 6b 48 bf 06 00 00 RSP: 0018:ffffc90005647c40 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90014edb000 RDX: 0000000000000009 RSI: ffffffff81d700bd RDI: 0000000000000048 RBP: dffffc0000000000 R08: ffff8880948c2418 R09: ffffc90005647d30 R10: 0000000000000000 R11: 1ffffffff18571ca R12: 0000000000000004 R13: ffff8880948c2418 R14: ffff8880948c2420 R15: 0000000000000004 FS: 00007fc361afa700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd2c000 CR3: 000000008dfa2000 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:93 __wake_up_common_lock+0xd0/0x130 kernel/sched/wait.c:123 tty_write_unlock drivers/tty/tty_io.c:883 [inline] do_tty_write drivers/tty/tty_io.c:980 [inline] tty_write+0x59f/0x870 drivers/tty/tty_io.c:1046 vfs_write+0x2b0/0x730 fs/read_write.c:576 ksys_write+0x12d/0x250 fs/read_write.c:631 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc361af9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000038900 RCX: 000000000045d5b9 RDX: 0000000000001006 RSI: 0000000020001440 RDI: 0000000000000004 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffc56dad78f R14: 00007fc361afa9c0 R15: 000000000118cf4c Modules linked in: ---[ end trace 594a8c73ee6100ca ]--- RIP: 0010:io_poll_get_single fs/io_uring.c:4642 [inline] RIP: 0010:io_poll_double_wake+0x51/0x510 fs/io_uring.c:4709 Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 9e 03 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 48 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 06 0f 8e 63 03 00 00 0f b6 6b 48 bf 06 00 00 RSP: 0018:ffffc90005647c40 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90014edb000 RDX: 0000000000000009 RSI: ffffffff81d700bd RDI: 0000000000000048 RBP: dffffc0000000000 R08: ffff8880948c2418 R09: ffffc90005647d30 R10: 0000000000000000 R11: 1ffffffff18571ca R12: 0000000000000004 R13: ffff8880948c2418 R14: ffff8880948c2420 R15: 0000000000000004 FS: 00007fc361afa700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd2c000 CR3: 000000008dfa2000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400