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: 1 PID: 13646 Comm: syz-executor5 Not tainted 4.14.0+ #129 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d04f2540 task.stack: ffff8801c04e8000 RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RIP: 0010:scatterwalk_done include/crypto/scatterwalk.h:119 [inline] RIP: 0010:blkcipher_walk_done+0x300/0xde0 crypto/blkcipher.c:124 RSP: 0018:ffff8801c04ef4a0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000005fedd1c RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffc90002b5d000 RDI: 0000000000000008 RBP: ffff8801c04ef4f0 R08: ffff8801c04ef5b0 R09: 0000000000000000 R10: ffff8801c8b09bb0 R11: 0000000000000000 R12: ffff8801c04ef6b0 R13: ffff8801c04ef590 R14: ffff8801c04ef5d8 R15: ffff8801c04ef5b8 FS: 00007f8a373b5700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002022efc8 CR3: 00000001d16d4000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: crypto_ctr_crypt+0x3ca/0x840 crypto/ctr.c:146 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] 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 chacha_encrypt crypto/chacha20poly1305.c:446 [inline] chachapoly_encrypt+0x418/0x620 crypto/chacha20poly1305.c:467 crypto_aead_encrypt include/crypto/aead.h:330 [inline] _aead_recvmsg crypto/algif_aead.c:282 [inline] aead_recvmsg+0x10a4/0x1970 crypto/algif_aead.c:313 sock_recvmsg_nosec net/socket.c:805 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:812 ___sys_recvmsg+0x29b/0x630 net/socket.c:2207 __sys_recvmsg+0xe2/0x210 net/socket.c:2252 SYSC_recvmsg net/socket.c:2264 [inline] SyS_recvmsg+0x2d/0x50 net/socket.c:2259 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452879 RSP: 002b:00007f8a373b4be8 EFLAGS: 00000212 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00000000007580d8 RCX: 0000000000452879 RDX: 0000000000000002 RSI: 000000002022efc8 RDI: 0000000000000017 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f2608 R13: 00000000ffffffff R14: 00007f8a373b56d4 R15: 0000000000000004 Code: 00 fc ff df 48 c1 e9 03 80 3c 11 00 0f 85 7a 09 00 00 48 8d 78 08 48 ba 00 00 00 00 00 fc ff df 49 89 45 20 48 89 f9 48 c1 e9 03 <0f> b6 14 11 84 d2 74 09 80 fa 03 0f 8e 3e 09 00 00 4c 89 f9 8b RIP: scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RSP: ffff8801c04ef4a0 RIP: scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RSP: ffff8801c04ef4a0 RIP: scatterwalk_done include/crypto/scatterwalk.h:119 [inline] RSP: ffff8801c04ef4a0 RIP: blkcipher_walk_done+0x300/0xde0 crypto/blkcipher.c:124 RSP: ffff8801c04ef4a0 ---[ end trace cfc15513514be276 ]---