general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 12411 Comm: syz-executor.5 Not tainted 6.3.0-rc3-syzkaller-00021-ga1effab7a3a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:io_poll_remove_entry io_uring/poll.c:182 [inline] RIP: 0010:io_poll_remove_entries.part.0+0x376/0x810 io_uring/poll.c:220 Code: ea 03 80 3c 02 00 0f 85 89 03 00 00 48 8b 5b 40 e8 8f df 78 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:ffffc90005a47928 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d0dd000 RDX: 0000000000000001 RSI: ffffffff840a0571 RDI: ffff88802a65d3c0 RBP: 0000000000000016 R08: 0000000000000001 R09: 0000000000000006 R10: 0000000000000016 R11: 0000000000000000 R12: ffff888028ce2cc4 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88802a65d388 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000f7f1fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000003202f000 CR3: 000000005a226000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_poll_remove_entries io_uring/poll.c:198 [inline] __io_arm_poll_handler+0x7ec/0xe00 io_uring/poll.c:603 io_arm_poll_handler+0x4f2/0xc60 io_uring/poll.c:734 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 handle_tw_list io_uring/io_uring.c:1184 [inline] tctx_task_work+0x2d7/0xa00 io_uring/io_uring.c:1246 task_work_run+0x16f/0x270 kernel/task_work.c:179 get_signal+0x1c7/0x25b0 kernel/signal.c:2635 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f45579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f1f5cc EFLAGS: 00000296 ORIG_RAX: 00000000000001aa RAX: 00000000000002ff RBX: 0000000000000003 RCX: 00000000000002ff RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:io_poll_remove_entry io_uring/poll.c:182 [inline] RIP: 0010:io_poll_remove_entries.part.0+0x376/0x810 io_uring/poll.c:220 Code: ea 03 80 3c 02 00 0f 85 89 03 00 00 48 8b 5b 40 e8 8f df 78 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:ffffc90005a47928 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d0dd000 RDX: 0000000000000001 RSI: ffffffff840a0571 RDI: ffff88802a65d3c0 RBP: 0000000000000016 R08: 0000000000000001 R09: 0000000000000006 R10: 0000000000000016 R11: 0000000000000000 R12: ffff888028ce2cc4 R13: 0000000000000000 R14: 0000000000000008 R15: ffff88802a65d388 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000f7f1fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000031c31000 CR3: 000000005a226000 CR4: 00000000003506f0 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 8f df 78 fd callq 0xfd78dfa3 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)