BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 200a6e067 P4D 200a6e067 PUD 1fd93b067 PMD 0 Oops: 0010 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 32173 Comm: syz-executor6 Not tainted 4.15.0-rc3-next-20171214+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010: (null) RSP: 0018:ffffc900010c7df0 EFLAGS: 00010212 RAX: 0000000000010000 RBX: ffff880215028c00 RCX: ffffffff8167e521 RDX: 0000000000000069 RSI: ffff88021648b580 RDI: ffff880215028c00 RBP: ffffc900010c7e30 R08: 0000000000000000 R09: 0000000000000001 R10: ffffc900010c7df8 R11: 0000000000000000 R12: ffff88021648b580 R13: 0000000000000069 R14: 00000000fffffff2 R15: ffff880215659c50 FS: 00007f487261e700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000020094c005 CR4: 00000000001606e0 DR0: 0000000020001000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: shash_async_setkey+0x29/0x30 crypto/shash.c:208 crypto_ahash_setkey+0x40/0xc0 crypto/ahash.c:200 hash_setkey+0x25/0x40 crypto/algif_hash.c:446 alg_setkey crypto/af_alg.c:221 [inline] alg_setsockopt+0x140/0x180 crypto/af_alg.c:254 SYSC_setsockopt net/socket.c:1829 [inline] SyS_setsockopt+0x8a/0x100 net/socket.c:1808 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a09 RSP: 002b:00007f487261dc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452a09 RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000013 RBP: 00000000000001c1 R08: 0000000000000069 R09: 0000000000000000 R10: 00000000202c9000 R11: 0000000000000212 R12: 00000000006efab8 R13: 00000000ffffffff R14: 00007f487261e6d4 R15: 0000000000000000 Code: Bad RIP value. RIP: (null) RSP: ffffc900010c7df0 CR2: 0000000000000000 ---[ end trace 169e355875cdbbed ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..