[....] Starting enhanced syslogd: rsyslogd[ 12.647920] audit: type=1400 audit(1513468762.863:5): avc: denied { syslog } for pid=2997 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 periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] 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: [ 17.611924] audit: type=1400 audit(1513468767.827:6): avc: denied { map } for pid=3138 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-net-kasan-gce-7,10.128.15.207' (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 executing program executing program [ 36.570738] audit: type=1400 audit(1513468786.786:7): avc: denied { map } for pid=3155 comm="syzkaller448250" path="/root/syzkaller448250577" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 43.656064] ================================================================== [ 43.663499] BUG: KASAN: use-after-free in __list_del_entry_valid+0x11d/0x150 [ 43.670659] Read of size 8 at addr ffff8801c25f84c8 by task syzkaller448250/7252 [ 43.678160] [ 43.679761] CPU: 1 PID: 7252 Comm: syzkaller448250 Not tainted 4.15.0-rc2+ #155 [ 43.687201] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.696531] Call Trace: [ 43.699099] dump_stack+0x194/0x257 [ 43.702701] ? arch_local_irq_restore+0x53/0x53 [ 43.707344] ? show_regs_print_info+0x18/0x18 [ 43.711812] ? rcu_note_context_switch+0x710/0x710 [ 43.716726] ? __list_del_entry_valid+0x11d/0x150 [ 43.721542] print_address_description+0x73/0x250 [ 43.726357] ? __list_del_entry_valid+0x11d/0x150 [ 43.731173] kasan_report+0x25b/0x340 [ 43.734956] __asan_report_load8_noabort+0x14/0x20 [ 43.739864] __list_del_entry_valid+0x11d/0x150 [ 43.744508] crypto_larval_kill+0x79/0x2e0 [ 43.748719] ? crypto_mod_put+0xa0/0xa0 [ 43.752669] ? rcu_pm_notify+0xc0/0xc0 [ 43.756533] ? crypto_larval_lookup+0x50/0x50 [ 43.761007] ? crypto_larval_lookup+0x50/0x50 [ 43.765490] crypto_alg_mod_lookup+0x178/0x1b0 [ 43.770062] crypto_alloc_tfm+0xf3/0x2f0 [ 43.774095] ? __down_interruptible+0x6b0/0x6b0 [ 43.778742] crypto_alloc_aead+0x2c/0x40 [ 43.782777] aead_bind+0x70/0x140 [ 43.786206] ? aead_recvmsg+0x1bc0/0x1bc0 [ 43.790331] alg_bind+0x1ab/0x440 [ 43.793765] SYSC_bind+0x1b4/0x3f0 [ 43.797280] ? move_addr_to_kernel.part.18+0x100/0x100 [ 43.802536] ? do_page_fault+0xee/0x720 [ 43.806480] ? __alloc_fd+0x750/0x750 [ 43.810261] ? __do_page_fault+0xc90/0xc90 [ 43.814477] ? fd_install+0x4d/0x60 [ 43.818086] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 43.822901] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 43.827896] SyS_bind+0x24/0x30 [ 43.831151] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 43.835875] RIP: 0033:0x4406f9 [ 43.839042] RSP: 002b:00007ffc67cff8a8 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 43.846727] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406f9 [ 43.853968] RDX: 0000000000000058 RSI: 000000002057e000 RDI: 0000000000000003 [ 43.861210] RBP: 000000000000aa7b R08: 0000000000000000 R09: 0000000000000000 [ 43.868450] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 43.875689] R13: 0000000000401c30 R14: 0000000000000000 R15: 0000000000000000 [ 43.882945] [ 43.884544] Allocated by task 7252: [ 43.888144] save_stack+0x43/0xd0 [ 43.891566] kasan_kmalloc+0xad/0xe0 [ 43.895252] kmem_cache_alloc_trace+0x136/0x750 [ 43.899893] crypto_larval_alloc+0x51/0x1e0 [ 43.904184] crypto_larval_lookup.part.8+0x194/0x400 [ 43.909255] crypto_alg_mod_lookup+0x77/0x1b0 [ 43.913719] crypto_alloc_tfm+0xf3/0x2f0 [ 43.917750] crypto_alloc_aead+0x2c/0x40 [ 43.921780] aead_bind+0x70/0x140 [ 43.925202] alg_bind+0x1ab/0x440 [ 43.928629] SYSC_bind+0x1b4/0x3f0 [ 43.932139] SyS_bind+0x24/0x30 [ 43.935389] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 43.940110] [ 43.941710] Freed by task 3536: [ 43.944960] save_stack+0x43/0xd0 [ 43.948382] kasan_slab_free+0x71/0xc0 [ 43.952245] kfree+0xca/0x250 [ 43.955329] crypto_larval_destroy+0x110/0x150 [ 43.959881] crypto_larval_kill+0x1e8/0x2e0 [ 43.964173] crypto_alg_mod_lookup+0x178/0x1b0 [ 43.968728] crypto_alloc_tfm+0xf3/0x2f0 [ 43.972759] crypto_alloc_aead+0x2c/0x40 [ 43.976795] aead_bind+0x70/0x140 [ 43.980220] alg_bind+0x1ab/0x440 [ 43.983643] SYSC_bind+0x1b4/0x3f0 [ 43.987154] SyS_bind+0x24/0x30 [ 43.990403] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 43.995125] [ 43.996724] The buggy address belongs to the object at ffff8801c25f84c0 [ 43.996724] which belongs to the cache kmalloc-1024 of size 1024 [ 44.009530] The buggy address is located 8 bytes inside of [ 44.009530] 1024-byte region [ffff8801c25f84c0, ffff8801c25f88c0) [ 44.021283] The buggy address belongs to the page: [ 44.026181] page:0000000042d9d908 count:1 mapcount:0 mapping:0000000056490a64 index:0x0 compound_mapcount: 0 [ 44.036125] flags: 0x2fffc0000008100(slab|head) [ 44.040764] raw: 02fffc0000008100 ffff8801c25f8040 0000000000000000 0000000100000007 [ 44.048616] raw: ffffea00070ae320 ffffea00070e17a0 ffff8801db000ac0 0000000000000000 [ 44.056465] page dumped because: kasan: bad access detected [ 44.062145] [ 44.063742] Memory state around the buggy address: [ 44.068641] ffff8801c25f8380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.075968] ffff8801c25f8400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.083296] >ffff8801c25f8480: fb fb fb fb fb fb fb fb fb fb fb fb 00 00 00 00 [ 44.090624] ^ [ 44.096305] ffff8801c25f8500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.103634] ffff8801c25f8580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 44.110962] ================================================================== [ 44.118288] Disabling lock debugging due to kernel taint [ 44.123762] Kernel panic - not syncing: panic_on_warn set ... [ 44.123762] [ 44.131102] CPU: 1 PID: 7252 Comm: syzkaller448250 Tainted: G B 4.15.0-rc2+ #155 [ 44.139816] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.149135] Call Trace: [ 44.151694] dump_stack+0x194/0x257 [ 44.155296] ? arch_local_irq_restore+0x53/0x53 [ 44.159933] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 44.164655] ? vsnprintf+0x1ed/0x1900 [ 44.168424] ? __list_del_entry_valid+0x100/0x150 [ 44.173237] panic+0x1e4/0x41c [ 44.176394] ? refcount_error_report+0x214/0x214 [ 44.181118] ? add_taint+0x1c/0x50 [ 44.184625] ? add_taint+0x1c/0x50 [ 44.188133] ? __list_del_entry_valid+0x11d/0x150 [ 44.192941] kasan_end_report+0x50/0x50 [ 44.196879] kasan_report+0x144/0x340 [ 44.200649] __asan_report_load8_noabort+0x14/0x20 [ 44.205542] __list_del_entry_valid+0x11d/0x150 [ 44.210180] crypto_larval_kill+0x79/0x2e0 [ 44.214380] ? crypto_mod_put+0xa0/0xa0 [ 44.218320] ? rcu_pm_notify+0xc0/0xc0 [ 44.222172] ? crypto_larval_lookup+0x50/0x50 [ 44.226632] ? crypto_larval_lookup+0x50/0x50 [ 44.231090] crypto_alg_mod_lookup+0x178/0x1b0 [ 44.235644] crypto_alloc_tfm+0xf3/0x2f0 [ 44.239676] ? __down_interruptible+0x6b0/0x6b0 [ 44.244313] crypto_alloc_aead+0x2c/0x40 [ 44.248338] aead_bind+0x70/0x140 [ 44.251756] ? aead_recvmsg+0x1bc0/0x1bc0 [ 44.255865] alg_bind+0x1ab/0x440 [ 44.259285] SYSC_bind+0x1b4/0x3f0 [ 44.262793] ? move_addr_to_kernel.part.18+0x100/0x100 [ 44.268040] ? do_page_fault+0xee/0x720 [ 44.271987] ? __alloc_fd+0x750/0x750 [ 44.275758] ? __do_page_fault+0xc90/0xc90 [ 44.279958] ? fd_install+0x4d/0x60 [ 44.283552] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 44.288361] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 44.293345] SyS_bind+0x24/0x30 [ 44.296591] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 44.301568] RIP: 0033:0x4406f9 [ 44.304724] RSP: 002b:00007ffc67cff8a8 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 44.312393] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406f9 [ 44.319630] RDX: 0000000000000058 RSI: 000000002057e000 RDI: 0000000000000003 [ 44.326866] RBP: 000000000000aa7b R08: 0000000000000000 R09: 0000000000000000 [ 44.334109] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 44.341344] R13: 0000000000401c30 R14: 0000000000000000 R15: 0000000000000000 [ 44.349035] Dumping ftrace buffer: [ 44.352542] (ftrace buffer empty) [ 44.356216] Kernel Offset: disabled [ 44.359808] Rebooting in 86400 seconds..