BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 IP: __crypto_alg_lookup+0x43/0x190 crypto/api.c:63 PGD 213008067 P4D 213008067 PUD 213130067 PMD 0 Oops: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3197 Comm: syzkaller712969 Not tainted 4.15.0-rc3-next-20171213+ #66 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__crypto_alg_lookup+0x43/0x190 crypto/api.c:63 RSP: 0018:ffffc9000180bcb8 EFLAGS: 00010293 RAX: ffff880214cfe840 RBX: 0000000000000000 RCX: ffffffff81673d23 RDX: 0000000000000000 RSI: ffffc9000180bea1 RDI: ffff880211860891 RBP: ffffc9000180bd00 R08: 0000000000000001 R09: 0000000000000001 R10: ffffc9000180bc80 R11: 0000000000000000 R12: ffff88021194f850 R13: 0000000000000000 R14: 000000000000240f R15: 0000000000000403 FS: 0000000000ed9880(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 00000002132b2000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: crypto_alg_lookup+0x31/0x50 crypto/api.c:201 crypto_larval_lookup.part.8+0x34/0x1c0 crypto/api.c:218 crypto_larval_lookup crypto/api.c:212 [inline] crypto_alg_mod_lookup+0x77/0x120 crypto/api.c:271 crypto_find_alg crypto/api.c:501 [inline] crypto_alloc_tfm+0x67/0x180 crypto/api.c:534 crypto_alloc_aead+0x2c/0x40 crypto/aead.c:342 aead_bind+0x51/0xc0 crypto/algif_aead.c:488 alg_bind+0x94/0x180 crypto/af_alg.c:179 SYSC_bind+0xa8/0x130 net/socket.c:1454 SyS_bind+0x24/0x30 net/socket.c:1440 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x4407f9 RSP: 002b:00007ffef49e1458 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004407f9 RDX: 0000000000000058 RSI: 0000000020f37000 RDI: 0000000000000003 RBP: 0000000000004c5e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 R13: 0000000000401d30 R14: 0000000000000000 R15: 0000000000000000 Code: 89 7d d0 e8 70 66 c4 ff 48 8b 1d 59 e4 a6 01 48 81 fb 60 21 0e 83 0f 84 4c 01 00 00 c7 45 c4 fe ff ff ff 45 31 e4 e8 4d 66 c4 ff <44> 8b 6b 20 41 f6 c5 60 0f 85 03 01 00 00 e8 3a 66 c4 ff 44 89 RIP: __crypto_alg_lookup+0x43/0x190 crypto/api.c:63 RSP: ffffc9000180bcb8 CR2: 0000000000000020 ---[ end trace f4eb0991d26dafe1 ]---