device  entered promiscuous mode BUG: unable to handle kernel NULL pointer dereference at 0000000000000188 IP: crypto_destroy_tfm+0x9f/0xf0 crypto/api.c:577 PGD 0 P4D 0 Oops: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 15981 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:crypto_destroy_tfm+0x9f/0xf0 crypto/api.c:577 RSP: 0018:ffffc900013ffa90 EFLAGS: 00010293 RAX: ffff8801f8f324c0 RBX: 0000000000000000 RCX: ffffffff8167415f RDX: 0000000000000000 RSI: ffff8801fbd39800 RDI: ffff8801fbd39800 RBP: ffffc900013ffab0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc900013ffb70 R11: 0000000000000002 R12: ffff8801fbd39800 R13: ffff8801fbd39800 R14: 0000000000000000 R15: ffff880213ddf030 FS: 00007fb7050d7700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000188 CR3: 000000000301e005 CR4: 00000000001606f0 Call Trace: crypto_free_tfm include/linux/crypto.h:641 [inline] crypto_free_cipher include/linux/crypto.h:1461 [inline] crypto_pcbc_exit_tfm+0x19/0x20 crypto/pcbc.c:206 crypto_skcipher_exit_tfm+0x18/0x20 crypto/skcipher.c:816 crypto_exit_ops crypto/api.c:315 [inline] crypto_destroy_tfm+0x49/0xf0 crypto/api.c:579 crypto_free_skcipher include/crypto/skcipher.h:212 [inline] skcipher_release+0x19/0x30 crypto/algif_skcipher.c:338 alg_do_release crypto/af_alg.c:119 [inline] alg_sock_destruct+0x2d/0x40 crypto/af_alg.c:360 __sk_destruct+0x2e/0x250 net/core/sock.c:1558 sk_destruct+0x2f/0x60 net/core/sock.c:1593 __sk_free+0xbe/0xf0 net/core/sock.c:1601 sk_free+0x2a/0x40 net/core/sock.c:1612 sock_put include/net/sock.h:1653 [inline] af_alg_release+0x42/0x50 crypto/af_alg.c:126 sock_release+0x2c/0xc0 net/socket.c:600 sock_close+0x16/0x20 net/socket.c:1129 __fput+0x120/0x270 fs/file_table.c:209 ____fput+0x15/0x20 fs/file_table.c:243 task_work_run+0xa3/0xe0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x3e6/0x1050 kernel/exit.c:869 do_group_exit+0x60/0x100 kernel/exit.c:972 get_signal+0x36c/0xad0 kernel/signal.c:2337 do_signal+0x23/0x670 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x13c/0x160 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x1b4/0x1e0 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x94/0x96 RIP: 0033:0x452a09 RSP: 002b:00007fb7050d6ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000071bf80 RCX: 0000000000452a09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000071bf80 RBP: 000000000071bf80 R08: 000000000000015e R09: 000000000071bf58 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000a2f7ff R14: 00007fb7050d79c0 R15: 0000000000000002 Code: 41 ff d6 e8 04 62 c4 ff 4c 89 e7 e8 4c 8d c0 ff 4c 89 ef e8 54 fa d0 ff e8 ef 61 c4 ff 5b 41 5c 41 5d 41 5e 5d c3 e8 e1 61 c4 ff <4c> 8b b3 88 01 00 00 4d 85 f6 74 32 e8 d0 61 c4 ff 4c 89 e7 41 RIP: crypto_destroy_tfm+0x9f/0xf0 crypto/api.c:577 RSP: ffffc900013ffa90 CR2: 0000000000000188 ---[ end trace ec49db872018b2d6 ]---