BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 1dfbcc067 P4D 1dfbcc067 PUD 1e41db067 PMD 0 Oops: 0010 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 12379 Comm: syz-executor3 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:ffffc9000113fdf0 EFLAGS: 00010216 RAX: 0000000000010000 RBX: ffff8801df899e00 RCX: ffffffff8167e521 RDX: 0000000000000010 RSI: ffff8801e27ff000 RDI: ffff8801df899e00 RBP: ffffc9000113fe30 R08: 544d9d40fa79ae6d R09: 0000000000000001 R10: ffffc9000113fdf8 R11: 0000000000000000 R12: ffff8801e27ff000 R13: 0000000000000010 R14: 00000000fffffff2 R15: ffff8801e27f1850 FS: 00007f5786378700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000020be2b002 CR4: 00000000001626e0 DR0: 0000000020000000 DR1: 0000000020000000 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:00007f5786377c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452a09 RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000015 RBP: 000000000000039b R08: 0000000000000010 R09: 0000000000000000 R10: 00000000204f7000 R11: 0000000000000212 R12: 00000000006f2728 R13: 00000000ffffffff R14: 00007f57863786d4 R15: 0000000000000000 Code: Bad RIP value. RIP: (null) RSP: ffffc9000113fdf0 CR2: 0000000000000000 ---[ end trace ff856a130e3d30a4 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..