BUG: unable to handle kernel NULL pointer dereference at 0000000000000028 IP: kernel_sock_shutdown+0x4a/0xc0 net/socket.c:3255 PGD 800000015366b067 P4D 800000015366b067 PUD 150951067 PMD 0 Oops: 0000 [#1] SMP PTI Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 6682 Comm: syz-executor7 Not tainted 4.16.0+ #87 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:ffff88014f9afd20 EFLAGS: 00010246 RAX: ffffffff87b2a5fd RBX: ffff8801515f6198 RCX: 0000000000040000 RDX: ffffc9000219d000 RSI: 00000000000000e0 RDI: 00000000000000e1 RBP: ffff88014f9afd60 R08: 0000000001080020 R09: 0000000000000002 R10: ffffffff7fffffff R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000028 R15: 0000000000000000 FS: 00007fc4f6ac2700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000028 CR3: 00000001506de000 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:0x455389 RSP: 002b:00007fc4f6ac1c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000030 RAX: ffffffffffffffda RBX: 00007fc4f6ac26d4 RCX: 0000000000455389 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000013 RBP: 000000000072bf58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000611 R14: 00000000006fc238 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 9b f3 05 fa 49 83 c5 60 48 83 38 00 75 52 RIP: kernel_sock_shutdown+0x4a/0xc0 net/socket.c:3255 RSP: ffff88014f9afd20 CR2: 0000000000000028 ---[ end trace caffa90f50bf3ab1 ]---