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: 5860 Comm: syz-executor.5 Not tainted 6.3.0-rc4-syzkaller-00051-g8bb95a1662f8 #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+0x39a/0x5f0 io_uring/poll.c:220 Code: c4 40 4c 89 e0 48 c1 e8 03 4d 89 fd 42 80 3c 38 00 74 08 4c 89 e7 e8 f5 d3 b5 fd 49 8b 1c 24 4c 8d 7b 08 4d 89 fe 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 ff e8 d7 d3 b5 fd 49 8b 2f 48 85 ed 0f RSP: 0018:ffffc900148f76f0 EFLAGS: 00010202 RAX: 1ffff1100a2d3fa8 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000d437000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000001000000 R08: ffffffff842a3555 R09: fffffbfff205c639 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805169fd40 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000008 FS: 00007f5908656700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4b53ede000 CR3: 000000007b20a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __io_arm_poll_handler+0x5df/0x920 io_uring/poll.c:603 io_arm_poll_handler+0x775/0xbb0 io_uring/poll.c:734 io_queue_async+0xa6/0x640 io_uring/io_uring.c:2057 io_poll_task_func+0xcf1/0x1070 handle_tw_list io_uring/io_uring.c:1184 [inline] tctx_task_work+0x3d8/0xc90 io_uring/io_uring.c:1246 task_work_run+0x24a/0x300 kernel/task_work.c:179 get_signal+0x1606/0x17e0 kernel/signal.c:2635 arch_do_signal_or_restart+0x91/0x670 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f590788c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5908656168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000800 RBX: 00007f59079abf80 RCX: 00007f590788c0f9 RDX: 0000000000000000 RSI: 00000000000040b3 RDI: 0000000000000004 RBP: 00007f59078e7b39 R08: 0000000020000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe85dd025f R14: 00007f5908656300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:io_poll_remove_entry io_uring/poll.c:182 [inline] RIP: 0010:io_poll_remove_entries+0x39a/0x5f0 io_uring/poll.c:220 Code: c4 40 4c 89 e0 48 c1 e8 03 4d 89 fd 42 80 3c 38 00 74 08 4c 89 e7 e8 f5 d3 b5 fd 49 8b 1c 24 4c 8d 7b 08 4d 89 fe 49 c1 ee 03 <43> 80 3c 2e 00 74 08 4c 89 ff e8 d7 d3 b5 fd 49 8b 2f 48 85 ed 0f RSP: 0018:ffffc900148f76f0 EFLAGS: 00010202 RAX: 1ffff1100a2d3fa8 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000d437000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000001000000 R08: ffffffff842a3555 R09: fffffbfff205c639 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805169fd40 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000008 FS: 00007f5908656700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe34ffa8000 CR3: 000000007b20a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 40 rex 1: 4c 89 e0 mov %r12,%rax 4: 48 c1 e8 03 shr $0x3,%rax 8: 4d 89 fd mov %r15,%r13 b: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 10: 74 08 je 0x1a 12: 4c 89 e7 mov %r12,%rdi 15: e8 f5 d3 b5 fd callq 0xfdb5d40f 1a: 49 8b 1c 24 mov (%r12),%rbx 1e: 4c 8d 7b 08 lea 0x8(%rbx),%r15 22: 4d 89 fe mov %r15,%r14 25: 49 c1 ee 03 shr $0x3,%r14 * 29: 43 80 3c 2e 00 cmpb $0x0,(%r14,%r13,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 ff mov %r15,%rdi 33: e8 d7 d3 b5 fd callq 0xfdb5d40f 38: 49 8b 2f mov (%r15),%rbp 3b: 48 85 ed test %rbp,%rbp 3e: 0f .byte 0xf