BUG: unable to handle kernel NULL pointer dereference at 0000000000000028 IP: kernel_sock_shutdown+0x4a/0xc0 net/socket.c:3255 PGD 800000019a440067 P4D 800000019a440067 PUD 199741067 PMD 0 Oops: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 4499 Comm: syzkaller445300 Not tainted 4.16.0+ #85 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kernel_sock_shutdown+0x4a/0xc0 net/socket.c:3255 RSP: 0018:ffff88019a4afd20 EFLAGS: 00010246 RAX: ffffffff87b2a5fd RBX: ffff8801cc2ae198 RCX: ffff8801cc2ad880 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffff88019a4afd60 R08: 0000000001080020 R09: 0000000000000002 R10: 0000000000000000 R11: 00000000fa8c75bc R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000028 R15: 0000000000000000 FS: 00007fb3f0752700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 0000000198f1a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smc_shutdown+0x674/0x810 net/smc/af_smc.c:1264 SYSC_shutdown+0x2a3/0x400 net/socket.c:1901 SyS_shutdown+0x44/0x60 net/socket.c:1892 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x4454a9 RSP: 002b:00007fb3f0751db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000030 RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 00000000004454a9 RDX: 00000000004454a9 RSI: 0000000000000002 RDI: 0000000000000003 RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb97ba88f R14: 00007fb3f07529c0 R15: 0000000000000001 Code: 8b 40 08 89 45 d0 8b 83 90 0c 00 00 89 45 d4 4c 8b 23 44 8b bb 88 0c 00 00 e8 73 7e ae f9 4c 89 75 c0 4d 8d 76 28 4d 85 e4 75 5d <4d> 8b 2e 4c 89 f7 e8 4b f1 05 fa 49 83 c5 60 48 83 38 00 75 52 RIP: kernel_sock_shutdown+0x4a/0xc0 net/socket.c:3255 RSP: ffff88019a4afd20 CR2: 0000000000000028 ---[ end trace 8ea1bf117270a21b ]---