general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 1 PID: 30956 Comm: syz-executor.3 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 b9 07 93 f9 49 8d 5e 28 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 bf 02 dd f9 48 c7 c0 80 52 75 8b RSP: 0018:ffffc90002357440 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: 0000000000040000 RDX: ffffc9001019d000 RSI: 0000000000012578 RDI: 0000000000012579 RBP: ffffc90002357c70 R08: ffffffff81eeda21 R09: ffffffff81eebc71 R10: 0000000000000027 R11: ffff888035158000 R12: ffff88806f8c5640 R13: 1ffff9200046aea4 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fd19cd17700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c723000 CR3: 0000000073fa9000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: io_recv fs/io_uring.c:4965 [inline] io_issue_sqe+0x1fc9/0x9280 fs/io_uring.c:6587 __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:00007fd19cd17188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000200 RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcadb2d39f R14: 00007fd19cd17300 R15: 0000000000022000 Modules linked in: ---[ end trace 69de7fa13a46ef01 ]--- 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 b9 07 93 f9 49 8d 5e 28 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 bf 02 dd f9 48 c7 c0 80 52 75 8b RSP: 0018:ffffc90002357440 EFLAGS: 00010206 RAX: 0000000000000005 RBX: 0000000000000028 RCX: 0000000000040000 RDX: ffffc9001019d000 RSI: 0000000000012578 RDI: 0000000000012579 RBP: ffffc90002357c70 R08: ffffffff81eeda21 R09: ffffffff81eebc71 R10: 0000000000000027 R11: ffff888035158000 R12: ffff88806f8c5640 R13: 1ffff9200046aea4 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fd19cd17700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0e327a6000 CR3: 0000000073fa9000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- 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 b9 07 93 f9 callq 0xf99307d8 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 bf 02 dd f9 callq 0xf9dd02f8 39: 48 c7 c0 80 52 75 8b mov $0xffffffff8b755280,%rax