[....] Starting enhanced syslogd: rsyslogd[ 12.354772] audit: type=1400 audit(1513378254.169: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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 17.517203] audit: type=1400 audit(1513378259.331:6): avc: denied { map } for pid=3136 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-8,10.128.0.24' (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 [ 44.475679] audit: type=1400 audit(1513378286.290:7): avc: denied { map } for pid=3154 comm="syzkaller830787" path="/root/syzkaller830787814" 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 [ 50.805784] ================================================================== [ 50.813200] BUG: KASAN: use-after-free in __list_del_entry_valid+0x11d/0x150 [ 50.820358] Read of size 8 at addr ffff8801c4495248 by task syzkaller830787/6835 [ 50.827859] [ 50.829465] CPU: 0 PID: 6835 Comm: syzkaller830787 Not tainted 4.15.0-rc2+ #154 [ 50.836880] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.846206] Call Trace: [ 50.848767] dump_stack+0x194/0x257 [ 50.852368] ? arch_local_irq_restore+0x53/0x53 [ 50.857018] ? show_regs_print_info+0x18/0x18 [ 50.861494] ? rcu_note_context_switch+0x710/0x710 [ 50.866414] ? __list_del_entry_valid+0x11d/0x150 [ 50.871243] print_address_description+0x73/0x250 [ 50.876070] ? __list_del_entry_valid+0x11d/0x150 [ 50.880885] kasan_report+0x25b/0x340 [ 50.884667] __asan_report_load8_noabort+0x14/0x20 [ 50.889568] __list_del_entry_valid+0x11d/0x150 [ 50.894214] crypto_larval_kill+0x79/0x2e0 [ 50.898424] ? crypto_mod_put+0xa0/0xa0 [ 50.902373] ? rcu_pm_notify+0xc0/0xc0 [ 50.906235] ? crypto_larval_lookup+0x50/0x50 [ 50.910705] ? crypto_larval_lookup+0x50/0x50 [ 50.915170] crypto_alg_mod_lookup+0x178/0x1b0 [ 50.919728] crypto_alloc_tfm+0xf3/0x2f0 [ 50.923762] ? __down_interruptible+0x6b0/0x6b0 [ 50.928411] crypto_alloc_aead+0x2c/0x40 [ 50.932448] aead_bind+0x70/0x140 [ 50.935876] ? aead_recvmsg+0x1bc0/0x1bc0 [ 50.939997] alg_bind+0x1ab/0x440 [ 50.943432] SYSC_bind+0x1b4/0x3f0 [ 50.946946] ? move_addr_to_kernel.part.18+0x100/0x100 [ 50.952195] ? do_page_fault+0xee/0x720 [ 50.956141] ? __alloc_fd+0x750/0x750 [ 50.959914] ? __do_page_fault+0xc90/0xc90 [ 50.964126] ? fd_install+0x4d/0x60 [ 50.967740] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 50.972554] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 50.977548] SyS_bind+0x24/0x30 [ 50.980801] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 50.985526] RIP: 0033:0x4406f9 [ 50.988689] RSP: 002b:00007ffc91fde718 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 50.996370] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406f9 [ 51.003611] RDX: 0000000000000058 RSI: 0000000020269000 RDI: 0000000000000003 [ 51.010859] RBP: 000000000000c669 R08: 0000000000000000 R09: 0000000000000000 [ 51.018108] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 51.025348] R13: 0000000000401c30 R14: 0000000000000000 R15: 0000000000000000 [ 51.032605] [ 51.034204] Allocated by task 6835: [ 51.037807] save_stack+0x43/0xd0 [ 51.041229] kasan_kmalloc+0xad/0xe0 [ 51.044917] kmem_cache_alloc_trace+0x136/0x750 [ 51.049557] crypto_larval_alloc+0x51/0x1e0 [ 51.053848] crypto_larval_lookup.part.8+0x194/0x400 [ 51.058921] crypto_alg_mod_lookup+0x77/0x1b0 [ 51.063385] crypto_alloc_tfm+0xf3/0x2f0 [ 51.067415] crypto_alloc_aead+0x2c/0x40 [ 51.071446] aead_bind+0x70/0x140 [ 51.074870] alg_bind+0x1ab/0x440 [ 51.078297] SYSC_bind+0x1b4/0x3f0 [ 51.081808] SyS_bind+0x24/0x30 [ 51.085069] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 51.089796] [ 51.091394] Freed by task 3223: [ 51.094651] save_stack+0x43/0xd0 [ 51.098074] kasan_slab_free+0x71/0xc0 [ 51.101931] kfree+0xca/0x250 [ 51.105010] crypto_larval_destroy+0x110/0x150 [ 51.109571] crypto_larval_kill+0x1e8/0x2e0 [ 51.113864] crypto_alg_mod_lookup+0x178/0x1b0 [ 51.118420] crypto_alloc_tfm+0xf3/0x2f0 [ 51.122452] crypto_alloc_aead+0x2c/0x40 [ 51.126487] aead_bind+0x70/0x140 [ 51.129930] alg_bind+0x1ab/0x440 [ 51.133355] SYSC_bind+0x1b4/0x3f0 [ 51.136869] SyS_bind+0x24/0x30 [ 51.140121] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 51.144844] [ 51.146443] The buggy address belongs to the object at ffff8801c4495240 [ 51.146443] which belongs to the cache kmalloc-1024 of size 1024 [ 51.159249] The buggy address is located 8 bytes inside of [ 51.159249] 1024-byte region [ffff8801c4495240, ffff8801c4495640) [ 51.171015] The buggy address belongs to the page: [ 51.175928] page:00000000474794d6 count:1 mapcount:0 mapping:000000002515fd1d index:0x0 compound_mapcount: 0 [ 51.185876] flags: 0x2fffc0000008100(slab|head) [ 51.190526] raw: 02fffc0000008100 ffff8801c4494040 0000000000000000 0000000100000007 [ 51.198385] raw: ffffea0007129c20 ffffea000712b520 ffff8801db000ac0 0000000000000000 [ 51.206235] page dumped because: kasan: bad access detected [ 51.211915] [ 51.213512] Memory state around the buggy address: [ 51.218419] ffff8801c4495100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.225754] ffff8801c4495180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.233103] >ffff8801c4495200: fb fb fb fb fb fb fb fb fb fb fb fb 00 00 00 00 [ 51.240432] ^ [ 51.246113] ffff8801c4495280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 51.253444] ffff8801c4495300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 51.260771] ================================================================== [ 51.268099] Disabling lock debugging due to kernel taint [ 51.273575] Kernel panic - not syncing: panic_on_warn set ... [ 51.273575] [ 51.280916] CPU: 0 PID: 6835 Comm: syzkaller830787 Tainted: G B 4.15.0-rc2+ #154 [ 51.289627] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.298949] Call Trace: [ 51.301508] dump_stack+0x194/0x257 [ 51.305108] ? arch_local_irq_restore+0x53/0x53 [ 51.309743] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 51.314465] ? vsnprintf+0x1ed/0x1900 [ 51.318232] ? __list_del_entry_valid+0x100/0x150 [ 51.323043] panic+0x1e4/0x41c [ 51.326200] ? refcount_error_report+0x214/0x214 [ 51.330922] ? add_taint+0x1c/0x50 [ 51.334426] ? add_taint+0x1c/0x50 [ 51.337936] ? __list_del_entry_valid+0x11d/0x150 [ 51.342746] kasan_end_report+0x50/0x50 [ 51.346687] kasan_report+0x144/0x340 [ 51.350457] __asan_report_load8_noabort+0x14/0x20 [ 51.355351] __list_del_entry_valid+0x11d/0x150 [ 51.359986] crypto_larval_kill+0x79/0x2e0 [ 51.364189] ? crypto_mod_put+0xa0/0xa0 [ 51.368129] ? rcu_pm_notify+0xc0/0xc0 [ 51.371984] ? crypto_larval_lookup+0x50/0x50 [ 51.376446] ? crypto_larval_lookup+0x50/0x50 [ 51.380905] crypto_alg_mod_lookup+0x178/0x1b0 [ 51.385457] crypto_alloc_tfm+0xf3/0x2f0 [ 51.389483] ? __down_interruptible+0x6b0/0x6b0 [ 51.394119] crypto_alloc_aead+0x2c/0x40 [ 51.398148] aead_bind+0x70/0x140 [ 51.401570] ? aead_recvmsg+0x1bc0/0x1bc0 [ 51.405683] alg_bind+0x1ab/0x440 [ 51.409104] SYSC_bind+0x1b4/0x3f0 [ 51.412611] ? move_addr_to_kernel.part.18+0x100/0x100 [ 51.418441] ? do_page_fault+0xee/0x720 [ 51.422382] ? __alloc_fd+0x750/0x750 [ 51.426147] ? __do_page_fault+0xc90/0xc90 [ 51.430347] ? fd_install+0x4d/0x60 [ 51.433945] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 51.438756] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 51.443744] SyS_bind+0x24/0x30 [ 51.446990] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 51.451714] RIP: 0033:0x4406f9 [ 51.454868] RSP: 002b:00007ffc91fde718 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 51.462540] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406f9 [ 51.469782] RDX: 0000000000000058 RSI: 0000000020269000 RDI: 0000000000000003 [ 51.477021] RBP: 000000000000c669 R08: 0000000000000000 R09: 0000000000000000 [ 51.484269] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 51.491507] R13: 0000000000401c30 R14: 0000000000000000 R15: 0000000000000000 [ 51.499236] Dumping ftrace buffer: [ 51.502742] (ftrace buffer empty) [ 51.506415] Kernel Offset: disabled [ 51.510006] Rebooting in 86400 seconds..