kasan: CONFIG_KASAN_INLINE enabled 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: 25653 Comm: syz-executor3 Not tainted 4.15.0-rc4-mm1+ #49 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RIP: 0010:scatterwalk_copychunks+0x337/0x480 crypto/scatterwalk.c:55 RSP: 0018:ffff8801bf1e7138 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 000000000000019e RCX: ffffffff82514bb9 RDX: 0000000000000001 RSI: ffffc90003313000 RDI: 0000000000000008 RBP: ffff8801bf1e7198 R08: ffffed0037b4b284 R09: ffffed0037b4b284 R10: 0000000000000002 R11: ffffed0037b4b283 R12: 000000000000019e R13: ffff8801bf1e7410 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f5258e0c700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020571000 CR3: 00000001d49ca004 CR4: 00000000001606f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: blkcipher_next_slow crypto/blkcipher.c:174 [inline] blkcipher_walk_next+0xca0/0x13d0 crypto/blkcipher.c:254 blkcipher_walk_done+0x518/0xde0 crypto/blkcipher.c:132 glue_ctr_crypt_128bit+0x597/0xc20 arch/x86/crypto/glue_helper.c:289 ctr_crypt+0x34/0x40 arch/x86/crypto/serpent_avx2_glue.c:168 __ablk_encrypt+0x1d1/0x2d0 crypto/ablk_helper.c:61 ablk_encrypt+0x23e/0x2c0 crypto/ablk_helper.c:81 skcipher_crypt_ablkcipher crypto/skcipher.c:712 [inline] skcipher_decrypt_ablkcipher+0x312/0x420 crypto/skcipher.c:730 crypto_skcipher_decrypt include/crypto/skcipher.h:463 [inline] chacha_decrypt crypto/chacha20poly1305.c:152 [inline] poly_tail_continue+0x42a/0x6b0 crypto/chacha20poly1305.c:167 poly_tail+0x40f/0x520 crypto/chacha20poly1305.c:201 poly_cipherpad+0x33e/0x470 crypto/chacha20poly1305.c:231 poly_cipher+0x303/0x440 crypto/chacha20poly1305.c:262 poly_adpad+0x347/0x480 crypto/chacha20poly1305.c:292 poly_ad+0x25c/0x300 crypto/chacha20poly1305.c:316 poly_setkey+0x2fc/0x3e0 crypto/chacha20poly1305.c:343 poly_init+0x16c/0x1d0 crypto/chacha20poly1305.c:366 poly_genkey+0x422/0x590 crypto/chacha20poly1305.c:406 chachapoly_decrypt+0x73/0x90 crypto/chacha20poly1305.c:488 crypto_aead_decrypt include/crypto/aead.h:362 [inline] _aead_recvmsg crypto/algif_aead.c:314 [inline] aead_recvmsg+0x154a/0x1cf0 crypto/algif_aead.c:335 sock_recvmsg_nosec net/socket.c:801 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:808 sock_read_iter+0x35b/0x560 net/socket.c:885 call_read_iter include/linux/fs.h:1770 [inline] do_iter_readv_writev+0x5fb/0x7f0 fs/read_write.c:651 do_iter_read+0x21a/0x5a0 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:0x452ac9 RSP: 002b:00007f5258e0bc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000013 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000000000001 RSI: 0000000020116fe0 RDI: 0000000000000014 RBP: 0000000000000554 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f5080 R13: 00000000ffffffff R14: 00007f5258e0c6d4 R15: 0000000000000000 Code: 89 ff e8 3d 8b 2a 00 4c 89 ea 49 89 c7 48 c1 ea 03 42 80 3c 32 00 0f 85 c9 00 00 00 49 8d 7f 08 4d 89 7d 00 48 89 fa 48 c1 ea 03 <42> 0f b6 14 32 84 d2 74 09 80 fa 03 0f 8e 9e 00 00 00 48 8b 45 RIP: scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RSP: ffff8801bf1e7138 RIP: scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RSP: ffff8801bf1e7138 RIP: scatterwalk_copychunks+0x337/0x480 crypto/scatterwalk.c:55 RSP: ffff8801bf1e7138 ---[ end trace 8b4b007e87530f3a ]---