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: 31584 Comm: syz-executor.1 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sock_from_file+0x22/0x80 net/socket.c:505 Code: f9 eb 86 0f 1f 44 00 00 41 57 41 56 53 49 89 fe 49 bf 00 00 00 00 00 fc ff df e8 09 5a 93 f9 49 8d 5e 28 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 4f 54 dd f9 48 c7 c0 80 c7 74 8b RSP: 0018:ffffc90001e7f440 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: 0000000000040000 RDX: ffffc9000b870000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90001e7fc70 R08: 0000000000000001 R09: ffffffff81eeb181 R10: 0000000000000027 R11: ffff888090790000 R12: ffff888080f2e8c0 R13: 1ffff920003cfea4 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fe83641f700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201b3000 CR3: 000000002ca3b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_sendmsg fs/io_uring.c:4681 [inline] io_issue_sqe+0x1b4e/0x9280 fs/io_uring.c:6578 __io_queue_sqe+0xe3/0x1000 fs/io_uring.c:6864 tctx_task_work+0x2ad/0x560 fs/io_uring.c:2143 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:212 [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+0x180/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:302 do_syscall_64+0x4c/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe83641f188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000001000 RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 000000000000688c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcede406af R14: 00007fe83641f300 R15: 0000000000022000 Modules linked in: ---[ end trace 12ac9c612233128e ]--- RIP: 0010:sock_from_file+0x22/0x80 net/socket.c:505 Code: f9 eb 86 0f 1f 44 00 00 41 57 41 56 53 49 89 fe 49 bf 00 00 00 00 00 fc ff df e8 09 5a 93 f9 49 8d 5e 28 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 4f 54 dd f9 48 c7 c0 80 c7 74 8b RSP: 0018:ffffc90001e7f440 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: 0000000000040000 ---------------- Code disassembly (best guess): 0: f9 stc 1: eb 86 jmp 0xffffff89 3: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 8: 41 57 push %r15 a: 41 56 push %r14 c: 53 push %rbx d: 49 89 fe mov %rdi,%r14 10: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 17: fc ff df 1a: e8 09 5a 93 f9 callq 0xf9935a28 1f: 49 8d 5e 28 lea 0x28(%r14),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 4f 54 dd f9 callq 0xf9dd5488 39: 48 c7 c0 80 c7 74 8b mov $0xffffffff8b74c780,%rax