general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 1471 Comm: syz-executor.0 Not tainted 5.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inet_ehash_lockp include/net/inet_hashtables.h:183 [inline] RIP: 0010:inet_unhash+0x178/0x610 net/ipv4/inet_hashtables.c:600 Code: 6e 9d fa 49 8d 5d 08 48 89 d8 48 c1 e8 03 8a 04 28 84 c0 0f 85 28 04 00 00 8b 1b 48 8b 04 24 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 28 00 74 05 e8 2d 63 db fa 48 8b 04 24 48 8b 78 08 48 8d 68 RSP: 0018:ffffc900165a7d40 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90001e99000 RSI: 0000000000000227 RDI: 0000000000000008 RBP: dffffc0000000000 R08: ffffffff86d6164c R09: fffffbfff12d7d4d R10: fffffbfff12d7d4d R11: 0000000000000000 R12: ffff888034a81928 R13: ffff888034a81900 R14: 1ffff11006950325 R15: ffff888034a81970 FS: 00007efd41e5d700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000507310 CR3: 00000000a7bf2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sk_common_release+0x9d/0x310 net/core/sock.c:3202 inet_create+0xa7c/0xc80 net/ipv4/af_inet.c:389 __sock_create+0x5c9/0x8d0 net/socket.c:1433 sock_create net/socket.c:1484 [inline] __sys_socket+0xde/0x2d0 net/socket.c:1526 __do_sys_socket net/socket.c:1535 [inline] __se_sys_socket net/socket.c:1533 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1533 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45ca69 Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007efd41e5cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000507300 RCX: 000000000045ca69 RDX: 0000000000000073 RSI: 0000000000000002 RDI: 0000000000000002 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000b92 R14: 00000000004cdead R15: 00007efd41e5d6d4 Modules linked in: ---[ end trace 73621f02e6cc3395 ]--- RIP: 0010:inet_ehash_lockp include/net/inet_hashtables.h:183 [inline] RIP: 0010:inet_unhash+0x178/0x610 net/ipv4/inet_hashtables.c:600 Code: 6e 9d fa 49 8d 5d 08 48 89 d8 48 c1 e8 03 8a 04 28 84 c0 0f 85 28 04 00 00 8b 1b 48 8b 04 24 48 8d 78 08 48 89 f8 48 c1 e8 03 <80> 3c 28 00 74 05 e8 2d 63 db fa 48 8b 04 24 48 8b 78 08 48 8d 68 RSP: 0018:ffffc900165a7d40 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90001e99000 RSI: 0000000000000227 RDI: 0000000000000008 RBP: dffffc0000000000 R08: ffffffff86d6164c R09: fffffbfff12d7d4d R10: fffffbfff12d7d4d R11: 0000000000000000 R12: ffff888034a81928 R13: ffff888034a81900 R14: 1ffff11006950325 R15: ffff888034a81970 FS: 00007efd41e5d700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffebfad8630 CR3: 00000000a7bf2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400