audit: type=1400 audit(1513069170.400:7): avc: denied { map } for pid=3145 comm="syzkaller965915" path="/root/syzkaller965915858" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 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: 3145 Comm: syzkaller965915 Not tainted 4.15.0-rc2-mm1+ #39 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:ffff8801c56c72c0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000fe1 RCX: ffffffff825056d9 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000008 RBP: ffff8801c56c7320 R08: ffffed0038bd5be2 R09: ffffed0038bd5be2 R10: 0000000000000002 R11: ffffed0038bd5be1 R12: 0000000000000fe1 R13: ffff8801c56c7630 R14: dffffc0000000000 R15: 0000000000000000 FS: 00000000018c8880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002072bf80 CR3: 00000001c570a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skcipher_next_slow crypto/skcipher.c:272 [inline] skcipher_walk_next+0x8db/0x1bd0 crypto/skcipher.c:357 skcipher_walk_first+0x138/0x400 crypto/skcipher.c:442 skcipher_walk_skcipher+0x519/0x6e0 crypto/skcipher.c:471 skcipher_walk_virt+0x58/0xd0 crypto/skcipher.c:481 chacha20_simd+0x167/0x410 arch/x86/crypto/chacha20_glue.c:80 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:308 [inline] aead_recvmsg+0x1295/0x1bc0 crypto/algif_aead.c:329 sock_recvmsg_nosec net/socket.c:809 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:816 ___sys_recvmsg+0x29b/0x630 net/socket.c:2185 __sys_recvmsg+0xe2/0x210 net/socket.c:2230 SYSC_recvmsg net/socket.c:2242 [inline] SyS_recvmsg+0x2d/0x50 net/socket.c:2237 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x440079 RSP: 002b:00007fffa954ea48 EFLAGS: 00000217 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440079 RDX: 0000000000000002 RSI: 000000002022efc8 RDI: 0000000000000004 RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000217 R12: 00000000004019e0 R13: 0000000000401a70 R14: 0000000000000000 R15: 0000000000000000 Code: 89 ff e8 2d 6c 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: ffff8801c56c72c0 RIP: scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RSP: ffff8801c56c72c0 RIP: scatterwalk_copychunks+0x337/0x480 crypto/scatterwalk.c:55 RSP: ffff8801c56c72c0 ---[ end trace b0f8bdeadd73f832 ]---