kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 16595 Comm: syz-executor0 Not tainted 4.15.0-rc2+ #149 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:compound_head include/linux/page-flags.h:147 [inline] RIP: 0010:put_page include/linux/mm.h:850 [inline] RIP: 0010:af_alg_free_areq_sgls+0x5d1/0xab0 crypto/af_alg.c:678 RSP: 0018:ffff8801ce0f7678 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff823a0f1a RDX: 000000000000d428 RSI: ffffc90002178000 RDI: 0000000000000000 RBP: ffff8801ce0f7870 R08: 1ffff10039c1ee53 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8801be8af500 R15: ffffed0039c1ef01 FS: 00007f3bcf5aa700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004d4384 CR3: 00000001d3d92000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: af_alg_free_resources+0x36/0x80 crypto/af_alg.c:1030 _skcipher_recvmsg crypto/algif_skcipher.c:152 [inline] skcipher_recvmsg+0x8e5/0xf20 crypto/algif_skcipher.c:165 skcipher_recvmsg_nokey+0x60/0x80 crypto/algif_skcipher.c:284 sock_recvmsg_nosec net/socket.c:809 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:816 sock_read_iter+0x361/0x560 net/socket.c:893 call_read_iter include/linux/fs.h:1766 [inline] do_iter_readv_writev+0x607/0x7f0 fs/read_write.c:651 do_iter_read+0x220/0x5b0 fs/read_write.c:895 vfs_readv+0x121/0x1c0 fs/read_write.c:959 do_readv+0xfc/0x2a0 fs/read_write.c:992 SYSC_readv fs/read_write.c:1079 [inline] SyS_readv+0x27/0x30 fs/read_write.c:1076 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007f3bcf5a9c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000013 RAX: ffffffffffffffda RBX: 00007f3bcf5a9aa0 RCX: 0000000000452a39 RDX: 0000000000000001 RSI: 0000000020266fe0 RDI: 0000000000000014 RBP: 00007f3bcf5a9a90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b75fb R13: 00007f3bcf5a9bc8 R14: 00000000004b75fb R15: 0000000000000000 Code: 00 00 48 8d 45 98 48 bb 00 00 00 00 00 fc ff df 48 89 85 48 fe ff ff 48 c1 e8 03 4c 8d 3c 18 e8 f6 28 36 ff 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 4b 03 00 00 49 8b 04 24 48 83 e0 fc 48 89 85 RIP: compound_head include/linux/page-flags.h:147 [inline] RSP: ffff8801ce0f7678 RIP: put_page include/linux/mm.h:850 [inline] RSP: ffff8801ce0f7678 RIP: af_alg_free_areq_sgls+0x5d1/0xab0 crypto/af_alg.c:678 RSP: ffff8801ce0f7678 ---[ end trace d797d5a82609bb8a ]---