general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 0 PID: 4047 Comm: syz-executor875 Not tainted 5.17.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vfs_poll include/linux/poll.h:86 [inline] RIP: 0010:io_poll_check_events+0x1d4/0x750 fs/io_uring.c:5945 Code: f0 48 c7 44 24 60 00 00 00 00 48 c1 e8 03 89 54 24 68 80 3c 18 00 0f 85 db 04 00 00 4d 8b 06 49 8d 78 28 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 a7 04 00 00 49 8b 40 28 48 8d 78 48 48 89 f9 48 RSP: 0018:ffffc900026cfca8 EFLAGS: 00010206 RAX: 0000000000000005 RBX: dffffc0000000000 RCX: ffffffff81ca29d6 RDX: 0000000040002038 RSI: 0000000000000004 RDI: 0000000000000028 RBP: ffff88807e178944 R08: 0000000000000000 R09: ffff88807e178947 R10: ffffed100fc2f128 R11: 0000000000000001 R12: ffff88807e178914 R13: 0000000000000001 R14: ffff88807e1788c0 R15: ffff888072478000 FS: 0000555555b54300(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f324e872140 CR3: 000000006e5f6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_poll_task_func+0x3c/0x480 fs/io_uring.c:5980 handle_tw_list fs/io_uring.c:2463 [inline] tctx_task_work+0x550/0xf50 fs/io_uring.c:2497 task_work_run+0xc0/0x160 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:213 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x256/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0x80 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f324e800fe9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff7a11b9f8 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000200 RBX: 0000000000000000 RCX: 00007f324e800fe9 RDX: 0000000000000000 RSI: 000000000000146f RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f324e7c4870 R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:vfs_poll include/linux/poll.h:86 [inline] RIP: 0010:io_poll_check_events+0x1d4/0x750 fs/io_uring.c:5945 Code: f0 48 c7 44 24 60 00 00 00 00 48 c1 e8 03 89 54 24 68 80 3c 18 00 0f 85 db 04 00 00 4d 8b 06 49 8d 78 28 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 a7 04 00 00 49 8b 40 28 48 8d 78 48 48 89 f9 48 RSP: 0018:ffffc900026cfca8 EFLAGS: 00010206 RAX: 0000000000000005 RBX: dffffc0000000000 RCX: ffffffff81ca29d6 RDX: 0000000040002038 RSI: 0000000000000004 RDI: 0000000000000028 RBP: ffff88807e178944 R08: 0000000000000000 R09: ffff88807e178947 R10: ffffed100fc2f128 R11: 0000000000000001 R12: ffff88807e178914 R13: 0000000000000001 R14: ffff88807e1788c0 R15: ffff888072478000 FS: 0000555555b54300(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d5e232f008 CR3: 000000006e5f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f0 48 c7 44 24 60 00 lock movq $0x0,0x60(%rsp) 7: 00 00 00 a: 48 c1 e8 03 shr $0x3,%rax e: 89 54 24 68 mov %edx,0x68(%rsp) 12: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 16: 0f 85 db 04 00 00 jne 0x4f7 1c: 4d 8b 06 mov (%r14),%r8 1f: 49 8d 78 28 lea 0x28(%r8),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 0f 85 a7 04 00 00 jne 0x4db 34: 49 8b 40 28 mov 0x28(%r8),%rax 38: 48 8d 78 48 lea 0x48(%rax),%rdi 3c: 48 89 f9 mov %rdi,%rcx 3f: 48 rex.W