[....] Starting enhanced syslogd: rsyslogd[ 12.683761] audit: type=1400 audit(1513597581.323:5): avc: denied { syslog } for pid=2992 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 19.249522] audit: type=1400 audit(1513597587.889:6): avc: denied { map } for pid=3133 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added 'ci-upstream-mmots-kasan-gce-0,10.128.0.34' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 25.497140] audit: type=1400 audit(1513597594.136:7): avc: denied { map } for pid=3147 comm="syzkaller204069" path="/root/syzkaller204069671" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 32.051682] ================================================================== [ 32.059093] BUG: KASAN: use-after-free in __list_del_entry_valid+0x11d/0x150 [ 32.066252] Read of size 8 at addr ffff8801c4614948 by task syzkaller204069/6798 [ 32.073754] [ 32.075360] CPU: 1 PID: 6798 Comm: syzkaller204069 Not tainted 4.15.0-rc2-mm1+ #39 [ 32.083042] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.092376] Call Trace: [ 32.094937] dump_stack+0x194/0x257 [ 32.098539] ? arch_local_irq_restore+0x53/0x53 [ 32.103182] ? show_regs_print_info+0x18/0x18 [ 32.107648] ? rcu_note_context_switch+0x710/0x710 [ 32.112555] ? __list_del_entry_valid+0x11d/0x150 [ 32.117371] print_address_description+0x73/0x250 [ 32.122186] ? __list_del_entry_valid+0x11d/0x150 [ 32.127005] kasan_report+0x25b/0x340 [ 32.130791] __asan_report_load8_noabort+0x14/0x20 [ 32.135699] __list_del_entry_valid+0x11d/0x150 [ 32.140349] crypto_larval_kill+0x79/0x2e0 [ 32.144643] ? crypto_mod_put+0xa0/0xa0 [ 32.148590] ? rcu_pm_notify+0xc0/0xc0 [ 32.152452] ? crypto_larval_lookup+0x50/0x50 [ 32.156923] ? crypto_larval_lookup+0x50/0x50 [ 32.161391] crypto_alg_mod_lookup+0x178/0x1b0 [ 32.165948] crypto_alloc_tfm+0xf3/0x2f0 [ 32.169982] ? __down_interruptible+0x6b0/0x6b0 [ 32.174629] crypto_alloc_aead+0x2c/0x40 [ 32.178667] aead_bind+0x70/0x140 [ 32.182094] ? aead_recvmsg+0x1bc0/0x1bc0 [ 32.186218] alg_bind+0x1ab/0x440 [ 32.189651] SYSC_bind+0x1b4/0x3f0 [ 32.193178] ? move_addr_to_kernel.part.18+0x100/0x100 [ 32.198436] ? do_page_fault+0xee/0x720 [ 32.202386] ? __alloc_fd+0x750/0x750 [ 32.206171] ? __do_page_fault+0xc90/0xc90 [ 32.210382] ? fd_install+0x4d/0x60 [ 32.213992] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 32.218826] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.223826] SyS_bind+0x24/0x30 [ 32.227089] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.231820] RIP: 0033:0x4406e9 [ 32.234988] RSP: 002b:00007ffc19b6a4e8 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 32.242682] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406e9 [ 32.249930] RDX: 0000000000000058 RSI: 000000002057e000 RDI: 0000000000000003 [ 32.257175] RBP: 0000000000007d26 R08: 0000000000000000 R09: 0000000000000000 [ 32.264422] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 32.271668] R13: 0000000000401c20 R14: 0000000000000000 R15: 0000000000000000 [ 32.278933] [ 32.280539] Allocated by task 6798: [ 32.284142] save_stack+0x43/0xd0 [ 32.287575] kasan_kmalloc+0xad/0xe0 [ 32.291274] kmem_cache_alloc_trace+0x136/0x750 [ 32.295916] crypto_larval_alloc+0x51/0x1e0 [ 32.300213] crypto_larval_lookup.part.8+0x194/0x400 [ 32.305386] crypto_alg_mod_lookup+0x77/0x1b0 [ 32.309853] crypto_alloc_tfm+0xf3/0x2f0 [ 32.313885] crypto_alloc_aead+0x2c/0x40 [ 32.317917] aead_bind+0x70/0x140 [ 32.321340] alg_bind+0x1ab/0x440 [ 32.324763] SYSC_bind+0x1b4/0x3f0 [ 32.328275] SyS_bind+0x24/0x30 [ 32.331532] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.336255] [ 32.337855] Freed by task 3196: [ 32.341104] save_stack+0x43/0xd0 [ 32.344526] kasan_slab_free+0x71/0xc0 [ 32.348384] kfree+0xca/0x250 [ 32.351460] crypto_larval_destroy+0x110/0x150 [ 32.356018] crypto_larval_kill+0x1e8/0x2e0 [ 32.360317] crypto_alg_mod_lookup+0x178/0x1b0 [ 32.364868] crypto_alloc_tfm+0xf3/0x2f0 [ 32.368898] crypto_alloc_aead+0x2c/0x40 [ 32.372930] aead_bind+0x70/0x140 [ 32.376362] alg_bind+0x1ab/0x440 [ 32.379787] SYSC_bind+0x1b4/0x3f0 [ 32.383307] SyS_bind+0x24/0x30 [ 32.386563] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.391293] [ 32.392896] The buggy address belongs to the object at ffff8801c4614940 [ 32.392896] which belongs to the cache kmalloc-1024 of size 1024 [ 32.405708] The buggy address is located 8 bytes inside of [ 32.405708] 1024-byte region [ffff8801c4614940, ffff8801c4614d40) [ 32.417465] The buggy address belongs to the page: [ 32.422375] page:00000000b29ca4aa count:1 mapcount:0 mapping:0000000009f04e60 index:0x0 compound_mapcount: 0 [ 32.432321] flags: 0x2fffc0000008100(slab|head) [ 32.436963] raw: 02fffc0000008100 ffff8801c4614040 0000000000000000 0000000100000007 [ 32.444818] raw: ffffea0007127aa0 ffffea00073b5420 ffff8801dac00ac0 0000000000000000 [ 32.452681] page dumped because: kasan: bad access detected [ 32.458365] [ 32.459973] Memory state around the buggy address: [ 32.464878] ffff8801c4614800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.472216] ffff8801c4614880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.479547] >ffff8801c4614900: fb fb fb fb fb fb fb fb fb fb fb fb 00 00 00 00 [ 32.486874] ^ [ 32.492556] ffff8801c4614980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.499885] ffff8801c4614a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.507214] ================================================================== [ 32.514548] Disabling lock debugging due to kernel taint [ 32.520051] Kernel panic - not syncing: panic_on_warn set ... [ 32.520051] [ 32.527394] CPU: 1 PID: 6798 Comm: syzkaller204069 Tainted: G B 4.15.0-rc2-mm1+ #39 [ 32.536370] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.545693] Call Trace: [ 32.548251] dump_stack+0x194/0x257 [ 32.551845] ? arch_local_irq_restore+0x53/0x53 [ 32.556480] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.561203] ? vsnprintf+0x1ed/0x1900 [ 32.564971] ? __list_del_entry_valid+0xb0/0x150 [ 32.569694] panic+0x1e4/0x41c [ 32.572853] ? refcount_error_report+0x214/0x214 [ 32.577577] ? add_taint+0x1c/0x50 [ 32.581081] ? add_taint+0x1c/0x50 [ 32.584587] ? __list_del_entry_valid+0x11d/0x150 [ 32.589395] kasan_end_report+0x50/0x50 [ 32.593336] kasan_report+0x144/0x340 [ 32.597103] __asan_report_load8_noabort+0x14/0x20 [ 32.601995] __list_del_entry_valid+0x11d/0x150 [ 32.606636] crypto_larval_kill+0x79/0x2e0 [ 32.610843] ? crypto_mod_put+0xa0/0xa0 [ 32.614783] ? rcu_pm_notify+0xc0/0xc0 [ 32.618642] ? crypto_larval_lookup+0x50/0x50 [ 32.623113] ? crypto_larval_lookup+0x50/0x50 [ 32.627578] crypto_alg_mod_lookup+0x178/0x1b0 [ 32.632126] crypto_alloc_tfm+0xf3/0x2f0 [ 32.636150] ? __down_interruptible+0x6b0/0x6b0 [ 32.640789] crypto_alloc_aead+0x2c/0x40 [ 32.644816] aead_bind+0x70/0x140 [ 32.648236] ? aead_recvmsg+0x1bc0/0x1bc0 [ 32.652350] alg_bind+0x1ab/0x440 [ 32.655772] SYSC_bind+0x1b4/0x3f0 [ 32.659278] ? move_addr_to_kernel.part.18+0x100/0x100 [ 32.664529] ? do_page_fault+0xee/0x720 [ 32.668470] ? __alloc_fd+0x750/0x750 [ 32.672239] ? __do_page_fault+0xc90/0xc90 [ 32.676443] ? fd_install+0x4d/0x60 [ 32.680040] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 32.684849] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.689837] SyS_bind+0x24/0x30 [ 32.693084] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 32.697805] RIP: 0033:0x4406e9 [ 32.700967] RSP: 002b:00007ffc19b6a4e8 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 32.708640] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406e9 [ 32.715874] RDX: 0000000000000058 RSI: 000000002057e000 RDI: 0000000000000003 [ 32.723111] RBP: 0000000000007d26 R08: 0000000000000000 R09: 0000000000000000 [ 32.730351] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 32.737589] R13: 0000000000401c20 R14: 0000000000000000 R15: 0000000000000000 [ 32.745235] Dumping ftrace buffer: [ 32.748746] (ftrace buffer empty) [ 32.752422] Kernel Offset: disabled [ 32.756014] Rebooting in 86400 seconds..