nla_parse: 2 callbacks suppressed netlink: 1 bytes leftover after parsing attributes in process `syz-executor5'. 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: 1 PID: 5879 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:ffffc90000e1fa60 EFLAGS: 00010293 RAX: ffff8801f7ae2280 RBX: 0000000000000000 RCX: ffffffff8167415f RDX: 0000000000000000 RSI: ffff8801faae5c00 RDI: ffff8801faae5c00 RBP: ffffc90000e1fa80 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90000e1fb70 R11: 0000000000000002 R12: ffff8801faae5c00 R13: ffff8801faae5c00 R14: 0000000000000000 R15: ffff880213d85830 FS: 0000000000000000(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000188 CR3: 000000000301e004 CR4: 00000000001606e0 Call Trace: crypto_free_tfm include/linux/crypto.h:641 [inline] crypto_free_cipher include/linux/crypto.h:1461 [inline] xcbc_exit_tfm+0x19/0x20 crypto/xcbc.c:195 crypto_destroy_tfm+0xb6/0xf0 crypto/api.c:578 crypto_free_shash include/crypto/hash.h:695 [inline] crypto_exit_shash_ops_async+0x1a/0x20 crypto/shash.c:333 crypto_exit_ops crypto/api.c:315 [inline] crypto_destroy_tfm+0x49/0xf0 crypto/api.c:579 crypto_free_ahash include/crypto/hash.h:265 [inline] hash_release+0x19/0x30 crypto/algif_hash.c:437 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:00007f0ee9b35ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000071bec8 RCX: 0000000000452a09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000071bec8 RBP: 000000000071bec8 R08: 00000000000005da R09: 000000000071bea0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000a2f7ff R14: 00007f0ee9b369c0 R15: 0000000000000000 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: ffffc90000e1fa60 CR2: 0000000000000188 ---[ end trace 6665c1d87748d3d7 ]---