page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) ------------[ cut here ]------------ kernel BUG at ./include/linux/mm.h:482! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 23047 Comm: syz-executor4 Not tainted 4.14.0+ #129 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d417a440 task.stack: ffff8801d3eb8000 RIP: 0010:put_page_testzero include/linux/mm.h:482 [inline] RIP: 0010:__free_pages+0x118/0x150 mm/page_alloc.c:4288 RSP: 0018:ffff8801d3ebf5e0 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffffea00074fafc0 RCX: 0000000000000000 RDX: 0000000000010000 RSI: ffffc900027ce000 RDI: ffffed003a7d7eb0 RBP: ffff8801d3ebf670 R08: 1ffff1003a7d7dca R09: 0000000000000000 R10: dffffc0000000000 R11: 0000000000000000 R12: 1ffff1003a7d7ebd R13: 1ffff1003a7d7ec1 R14: 0000000000000000 R15: ffff8801d3ebf648 FS: 00007f6829fde700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000463450 CR3: 00000001d5aed000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_pages+0x51/0x90 mm/page_alloc.c:4302 blkcipher_walk_done+0x767/0xde0 crypto/blkcipher.c:141 encrypt+0x50a/0xaf0 crypto/salsa20_generic.c:208 skcipher_crypt_blkcipher crypto/skcipher.c:619 [inline] skcipher_decrypt_blkcipher+0x213/0x310 crypto/skcipher.c:637 crypto_skcipher_decrypt include/crypto/skcipher.h:463 [inline] _skcipher_recvmsg crypto/algif_skcipher.c:133 [inline] skcipher_recvmsg+0xb06/0xf30 crypto/algif_skcipher.c:164 sock_recvmsg_nosec net/socket.c:805 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:812 sock_read_iter+0x361/0x560 net/socket.c:889 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:0x452879 RSP: 002b:00007f6829fddbe8 EFLAGS: 00000212 ORIG_RAX: 0000000000000013 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452879 RDX: 0000000000000003 RSI: 0000000020ab2000 RDI: 0000000000000014 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006ed0b8 R13: 00000000ffffffff R14: 00007f6829fde6d4 R15: 0000000000000000 Code: 20 08 00 00 00 00 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 29 f5 ff ff eb cf 48 c7 c6 80 2a 30 85 48 89 df e8 38 61 0c 00 <0f> 0b 4c 89 ef 89 b5 74 ff ff ff e8 78 f1 19 00 8b b5 74 ff ff RIP: put_page_testzero include/linux/mm.h:482 [inline] RSP: ffff8801d3ebf5e0 RIP: __free_pages+0x118/0x150 mm/page_alloc.c:4288 RSP: ffff8801d3ebf5e0 ---[ end trace 1d18f8f2593d4ed9 ]---