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: 6537 Comm: cryptomgr_test Not tainted 4.15.0-rc2+ #155 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:crypto_remove_spawns+0x58c/0x1260 crypto/algapi.c:159 RSP: 0018:ffff8801cf4ef9e8 EFLAGS: 00010206 RAX: 0000000000000003 RBX: dffffc0000000000 RCX: ffffffff822581eb RDX: 0000000000000000 RSI: 1ffff10039e9dfa6 RDI: 0000000000000018 RBP: ffff8801cf4efdd8 R08: ffff8801cf4efd70 R09: ffff8801d6472280 R10: 000000000000000b R11: ffffed0039e9df09 R12: 0000000000000000 R13: ffff8801cd429b60 R14: ffffed0039e9df4e R15: ffff8801cf4efdb0 FS: 0000000000000000(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b9bc21000 CR3: 0000000005e25001 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: crypto_alg_tested+0x514/0x6f0 crypto/algapi.c:311 cryptomgr_test+0x17/0x30 crypto/algboss.c:226 kthread+0x37a/0x440 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:441 Code: 84 e3 01 00 00 e8 25 b6 4a ff 4c 89 e8 48 c1 e8 03 80 3c 18 00 0f 85 d8 09 00 00 4d 8b 65 00 49 8d 7c 24 18 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 b4 09 00 00 4d 8b 6c 24 18 4c 3b ad 50 fc ff RIP: crypto_remove_spawns+0x58c/0x1260 crypto/algapi.c:159 RSP: ffff8801cf4ef9e8 ---[ end trace be3559777a934044 ]--- audit: type=1400 audit(1513482632.351:56): avc: denied { write } for pid=6530 comm="syz-executor5" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket permissive=1 Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..