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: 1309 Comm: kworker/0:2 Not tainted 4.15.0-rc2+ #155 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=11878 comm=syz-executor5 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: crypto mcryptd_flusher 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11893 comm=syz-executor5 RSP: 0018:ffff8801d2e16c78 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000f6a RCX: ffffffff82502699 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11902 comm=syz-executor5 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000008 RBP: ffff8801d2e16cd8 R08: ffffed00394ba294 R09: ffffed00394ba294 R10: 0000000000000002 R11: ffffed00394ba293 R12: 0000000000000f6a R13: ffff8801d2e16f50 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11917 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11921 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11917 comm=syz-executor5 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11931 comm=syz-executor4 CR2: 00007f3773f7e1e1 CR3: 0000000005e25004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blkcipher_next_slow crypto/blkcipher.c:175 [inline] blkcipher_walk_next+0xca0/0x13d0 crypto/blkcipher.c:255 blkcipher_walk_done+0x518/0xde0 crypto/blkcipher.c:133 glue_ctr_crypt_128bit+0x597/0xc20 arch/x86/crypto/glue_helper.c:289 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11949 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=11949 comm=syz-executor5 ctr_crypt+0x34/0x40 arch/x86/crypto/serpent_avx2_glue.c:168 __ablk_encrypt+0x1d1/0x2d0 crypto/ablk_helper.c:64 ablk_encrypt+0x23e/0x2c0 crypto/ablk_helper.c:84 skcipher_crypt_ablkcipher crypto/skcipher.c:714 [inline] skcipher_decrypt_ablkcipher+0x312/0x420 crypto/skcipher.c:732 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 async_done_continue crypto/chacha20poly1305.c:80 [inline] poly_tail_done+0x87/0xa0 crypto/chacha20poly1305.c:172 sha_complete_job+0x5c6/0x830 arch/x86/crypto/sha512-mb/sha512_mb.c:505 sha512_mb_flusher+0x2b4/0x5e0 arch/x86/crypto/sha512-mb/sha512_mb.c:973 mcryptd_flusher+0x310/0x480 crypto/mcryptd.c:212 process_one_work+0xbfd/0x1be0 kernel/workqueue.c:2112 worker_thread+0x223/0x1990 kernel/workqueue.c:2246 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:441 Code: 89 ff e8 1d 71 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: ffff8801d2e16c78 RIP: scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RSP: ffff8801d2e16c78 RIP: scatterwalk_copychunks+0x337/0x480 crypto/scatterwalk.c:55 RSP: ffff8801d2e16c78 ---[ end trace 336e473b5da4bc8d ]---