general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 27602 Comm: syz-executor.2 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unix_dgram_connect+0x414/0xb30 net/unix/af_unix.c:1208 Code: 02 00 0f 85 5b 05 00 00 45 31 ed 48 83 bb f0 05 00 00 00 74 62 49 8d 7f 12 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 19 05 00 00 RSP: 0018:ffffc9000532fd10 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88801f66b640 RCX: ffffffff8719d8d9 RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000012 RBP: ffff88801f66b640 R08: 0000000000000001 R09: ffff88801f66b6c3 R10: ffffed1003ecd6d8 R11: 0000000000078087 R12: ffff88801f66bc30 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f3a7ed5f700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001805708 CR3: 000000001a647000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sys_connect+0xf5/0x120 net/socket.c:1889 __do_sys_connect net/socket.c:1899 [inline] __se_sys_connect net/socket.c:1896 [inline] __x64_sys_connect+0x6a/0xb0 net/socket.c:1896 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 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:00007f3a7ed5f188 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 000000000000006e RSI: 0000000020000180 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffc5e5c81bf R14: 00007f3a7ed5f300 R15: 0000000000022000 Modules linked in: ---[ end trace 7d78f6f49e407e3c ]--- RIP: 0010:unix_dgram_connect+0x414/0xb30 net/unix/af_unix.c:1208 Code: 02 00 0f 85 5b 05 00 00 45 31 ed 48 83 bb f0 05 00 00 00 74 62 49 8d 7f 12 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 19 05 00 00 RSP: 0018:ffffc9000532fd10 EFLAGS: 00010202 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 0f 85 5b 05 00 00 jne 0x563 8: 45 31 ed xor %r13d,%r13d b: 48 83 bb f0 05 00 00 cmpq $0x0,0x5f0(%rbx) 12: 00 13: 74 62 je 0x77 15: 49 8d 7f 12 lea 0x12(%r15),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 48 89 fa mov %rdi,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 19 05 00 00 jne 0x559