general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 5093 Comm: syz-executor994 Not tainted 6.2.0-next-20230227-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:io_poll_remove_entry io_uring/poll.c:180 [inline] RIP: 0010:io_poll_remove_entries.part.0+0x376/0x810 io_uring/poll.c:218 Code: ea 03 80 3c 02 00 0f 85 89 03 00 00 48 8b 5b 40 e8 4f 13 6e fd 4c 8d 73 08 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 33 03 00 00 48 8b 6b 08 48 85 ed 0f 84 29 01 00 RSP: 0018:ffffc90003c9fa40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff84169261 RDI: ffff88801f319d40 RBP: 0000000000000016 R08: 0000000000000001 R09: 0000000000000006 R10: 0000000000000016 R11: 0000000000000000 R12: ffff88801e78d904 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88801f319d08 FS: 0000555555ceb400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000050 CR3: 0000000029cb2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_poll_remove_entries io_uring/poll.c:196 [inline] __io_arm_poll_handler+0x88a/0xf50 io_uring/poll.c:601 io_arm_poll_handler+0x4f2/0xdc0 io_uring/poll.c:732 io_queue_async+0xc1/0x5b0 io_uring/io_uring.c:2057 io_queue_sqe io_uring/io_uring.c:2088 [inline] io_req_task_submit+0x256/0x290 io_uring/io_uring.c:1425 io_poll_task_func+0x994/0x1240 io_uring/poll.c:344 handle_tw_list io_uring/io_uring.c:1184 [inline] tctx_task_work+0x2d7/0xb30 io_uring/io_uring.c:1246 task_work_run+0x16f/0x270 kernel/task_work.c:179 ptrace_notify+0x118/0x140 kernel/signal.c:2354 ptrace_report_syscall include/linux/ptrace.h:411 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline] syscall_exit_work kernel/entry/common.c:251 [inline] syscall_exit_to_user_mode_prepare+0x129/0x290 kernel/entry/common.c:278 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0xd/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f358d01b9fb Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffda34369c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f358d01b9fb RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffda34369fc R13: 00007ffda3436a10 R14: 00007ffda3436a50 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:io_poll_remove_entry io_uring/poll.c:180 [inline] RIP: 0010:io_poll_remove_entries.part.0+0x376/0x810 io_uring/poll.c:218 Code: ea 03 80 3c 02 00 0f 85 89 03 00 00 48 8b 5b 40 e8 4f 13 6e fd 4c 8d 73 08 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 33 03 00 00 48 8b 6b 08 48 85 ed 0f 84 29 01 00 RSP: 0018:ffffc90003c9fa40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff84169261 RDI: ffff88801f319d40 RBP: 0000000000000016 R08: 0000000000000001 R09: 0000000000000006 R10: 0000000000000016 R11: 0000000000000000 R12: ffff88801e78d904 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88801f319d08 FS: 0000555555ceb400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000050 CR3: 0000000029cb2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 03 80 3c 02 00 0f add 0xf00023c(%rax),%eax 6: 85 89 03 00 00 48 test %ecx,0x48000003(%rcx) c: 8b 5b 40 mov 0x40(%rbx),%ebx f: e8 4f 13 6e fd callq 0xfd6e1363 14: 4c 8d 73 08 lea 0x8(%rbx),%r14 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 4c 89 f2 mov %r14,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 33 03 00 00 jne 0x366 33: 48 8b 6b 08 mov 0x8(%rbx),%rbp 37: 48 85 ed test %rbp,%rbp 3a: 0f .byte 0xf 3b: 84 29 test %ch,(%rcx) 3d: 01 00 add %eax,(%rax)