audit: type=1326 audit(1513623691.125:1741): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=13831 comm="syz-executor6" exe="/root/syz-executor6" sig=0 arch=c000003e syscall=63 compat=0 ip=0x452a09 code=0x7ffc0000 BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 IP: __crypto_alg_lookup+0x43/0x190 crypto/api.c:63 PGD 21366a067 P4D 21366a067 PUD 1fc5b1067 PMD 0 Oops: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 13851 Comm: syz-executor7 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:__crypto_alg_lookup+0x43/0x190 crypto/api.c:63 RSP: 0018:ffffc90000e3bcd0 EFLAGS: 00010216 RAX: 0000000000010000 RBX: 0000000000000000 RCX: ffffffff816741f3 RDX: 00000000000000e8 RSI: ffffc900019a1000 RDI: ffffffff82e3a4cd RBP: ffffc90000e3bd18 R08: 0000000000000001 R09: 0000000000000001 R10: ffffc90000e3bc98 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000002c85 R14: 000000000000240f R15: 0000000000000401 FS: 00007fbc819b8700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 00000001fd7a0001 CR4: 00000000001626f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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_alloc_base+0x2d/0x110 crypto/api.c:417 crypto_alloc_cipher include/linux/crypto.h:1447 [inline] tcp_fastopen_reset_cipher+0x60/0x250 net/ipv4/tcp_fastopen.c:79 do_tcp_setsockopt.isra.38+0x11b/0xc60 net/ipv4/tcp.c:2584 tcp_setsockopt+0x6d/0x80 net/ipv4/tcp.c:2874 sock_common_setsockopt+0x3a/0x50 net/core/sock.c:2968 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:00007fbc819b7c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452a09 RDX: 0000000000000021 RSI: 0000000000000006 RDI: 0000000000000013 RBP: 0000000000000563 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000ff0 R11: 0000000000000212 R12: 00000000006f51e8 R13: 00000000ffffffff R14: 00007fbc819b86d4 R15: 0000000000000000 Code: 89 7d d0 e8 70 61 c4 ff 48 8b 1d 89 df 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 61 c4 ff <44> 8b 6b 20 41 f6 c5 60 0f 85 03 01 00 00 e8 3a 61 c4 ff 44 89 RIP: __crypto_alg_lookup+0x43/0x190 crypto/api.c:63 RSP: ffffc90000e3bcd0 CR2: 0000000000000020 ---[ end trace 4dd098a362a16a87 ]---