[....] Starting enhanced syslogd: rsyslogd[ 12.036054] audit: type=1400 audit(1513728491.681:5): avc: denied { syslog } for pid=2989 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.591400] audit: type=1400 audit(1513728497.237:6): avc: denied { map } for pid=3129 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 [ 28.206090] audit: type=1400 audit(1513728507.851:7): avc: denied { map } for pid=3145 comm="syzkaller489036" path="/root/syzkaller489036375" 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 [ 34.684368] ================================================================== [ 34.691785] BUG: KASAN: use-after-free in __list_del_entry_valid+0x11d/0x150 [ 34.699044] Read of size 8 at addr ffff8801c553c908 by task syzkaller489036/6752 [ 34.707246] [ 34.708851] CPU: 0 PID: 6752 Comm: syzkaller489036 Not tainted 4.15.0-rc2-mm1+ #39 [ 34.716525] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.725849] Call Trace: [ 34.728411] dump_stack+0x194/0x257 [ 34.732025] ? arch_local_irq_restore+0x53/0x53 [ 34.736675] ? show_regs_print_info+0x18/0x18 [ 34.741144] ? rcu_note_context_switch+0x710/0x710 [ 34.746056] ? __list_del_entry_valid+0x11d/0x150 [ 34.750882] print_address_description+0x73/0x250 [ 34.755703] ? __list_del_entry_valid+0x11d/0x150 [ 34.760522] kasan_report+0x25b/0x340 [ 34.764301] __asan_report_load8_noabort+0x14/0x20 [ 34.769203] __list_del_entry_valid+0x11d/0x150 [ 34.773845] crypto_larval_kill+0x79/0x2e0 [ 34.778055] ? crypto_mod_put+0xa0/0xa0 [ 34.782004] ? rcu_pm_notify+0xc0/0xc0 [ 34.785871] ? crypto_larval_lookup+0x50/0x50 [ 34.790347] ? crypto_larval_lookup+0x50/0x50 [ 34.794816] crypto_alg_mod_lookup+0x178/0x1b0 [ 34.799371] crypto_alloc_tfm+0xf3/0x2f0 [ 34.803413] ? __down_interruptible+0x6b0/0x6b0 [ 34.808083] crypto_alloc_aead+0x2c/0x40 [ 34.812126] aead_bind+0x70/0x140 [ 34.815560] ? aead_recvmsg+0x1bc0/0x1bc0 [ 34.819680] alg_bind+0x1ab/0x440 [ 34.823112] SYSC_bind+0x1b4/0x3f0 [ 34.826626] ? move_addr_to_kernel.part.18+0x100/0x100 [ 34.831879] ? do_page_fault+0xee/0x720 [ 34.835828] ? __alloc_fd+0x750/0x750 [ 34.839602] ? __do_page_fault+0xc90/0xc90 [ 34.843821] ? fd_install+0x4d/0x60 [ 34.847431] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 34.852250] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 34.857246] SyS_bind+0x24/0x30 [ 34.860500] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 34.865225] RIP: 0033:0x4406e9 [ 34.868388] RSP: 002b:00007ffd2a8fbde8 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 34.876076] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406e9 [ 34.883319] RDX: 0000000000000058 RSI: 00000000202f6fa8 RDI: 0000000000000003 [ 34.890561] RBP: 000000000000876f R08: 0000000000000000 R09: 0000000000000000 [ 34.897802] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 34.905048] R13: 0000000000401c20 R14: 0000000000000000 R15: 0000000000000000 [ 34.912307] [ 34.913908] Allocated by task 6752: [ 34.917513] save_stack+0x43/0xd0 [ 34.920938] kasan_kmalloc+0xad/0xe0 [ 34.924623] kmem_cache_alloc_trace+0x136/0x750 [ 34.929265] crypto_larval_alloc+0x51/0x1e0 [ 34.933557] crypto_larval_lookup.part.8+0x194/0x400 [ 34.938628] crypto_alg_mod_lookup+0x77/0x1b0 [ 34.943094] crypto_alloc_tfm+0xf3/0x2f0 [ 34.947126] crypto_alloc_aead+0x2c/0x40 [ 34.951157] aead_bind+0x70/0x140 [ 34.954578] alg_bind+0x1ab/0x440 [ 34.958004] SYSC_bind+0x1b4/0x3f0 [ 34.961523] SyS_bind+0x24/0x30 [ 34.964773] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 34.969496] [ 34.971094] Freed by task 3150: [ 34.974347] save_stack+0x43/0xd0 [ 34.977769] kasan_slab_free+0x71/0xc0 [ 34.981625] kfree+0xca/0x250 [ 34.984704] crypto_larval_destroy+0x110/0x150 [ 34.989258] crypto_larval_kill+0x1e8/0x2e0 [ 34.993550] crypto_alg_mod_lookup+0x178/0x1b0 [ 34.998101] crypto_alloc_tfm+0xf3/0x2f0 [ 35.002134] crypto_alloc_aead+0x2c/0x40 [ 35.006165] aead_bind+0x70/0x140 [ 35.009593] alg_bind+0x1ab/0x440 [ 35.013034] SYSC_bind+0x1b4/0x3f0 [ 35.016548] SyS_bind+0x24/0x30 [ 35.019800] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 35.024522] [ 35.026122] The buggy address belongs to the object at ffff8801c553c900 [ 35.026122] which belongs to the cache kmalloc-1024 of size 1024 [ 35.038922] The buggy address is located 8 bytes inside of [ 35.038922] 1024-byte region [ffff8801c553c900, ffff8801c553cd00) [ 35.050686] The buggy address belongs to the page: [ 35.055597] page:00000000e7d4c7c3 count:1 mapcount:0 mapping:000000002be15f21 index:0x0 compound_mapcount: 0 [ 35.065547] flags: 0x2fffc0000008100(slab|head) [ 35.070189] raw: 02fffc0000008100 ffff8801c553c000 0000000000000000 0000000100000007 [ 35.078050] raw: ffffea0007156320 ffffea0007145520 ffff8801dac00ac0 0000000000000000 [ 35.085902] page dumped because: kasan: bad access detected [ 35.091580] [ 35.093180] Memory state around the buggy address: [ 35.098082] ffff8801c553c800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.105414] ffff8801c553c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.112745] >ffff8801c553c900: fb fb fb fb 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.120078] ^ [ 35.123680] ffff8801c553c980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.131016] ffff8801c553ca00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.138353] ================================================================== [ 35.145678] Disabling lock debugging due to kernel taint [ 35.151155] Kernel panic - not syncing: panic_on_warn set ... [ 35.151155] [ 35.158498] CPU: 0 PID: 6752 Comm: syzkaller489036 Tainted: G B 4.15.0-rc2-mm1+ #39 [ 35.167472] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.176791] Call Trace: [ 35.179349] dump_stack+0x194/0x257 [ 35.182945] ? arch_local_irq_restore+0x53/0x53 [ 35.187585] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 35.192308] ? vsnprintf+0x1ed/0x1900 [ 35.196078] ? __list_del_entry_valid+0xb0/0x150 [ 35.200807] panic+0x1e4/0x41c [ 35.203968] ? refcount_error_report+0x214/0x214 [ 35.208691] ? add_taint+0x1c/0x50 [ 35.212200] ? add_taint+0x1c/0x50 [ 35.215708] ? __list_del_entry_valid+0x11d/0x150 [ 35.220523] kasan_end_report+0x50/0x50 [ 35.224463] kasan_report+0x144/0x340 [ 35.228230] __asan_report_load8_noabort+0x14/0x20 [ 35.233126] __list_del_entry_valid+0x11d/0x150 [ 35.237762] crypto_larval_kill+0x79/0x2e0 [ 35.241965] ? crypto_mod_put+0xa0/0xa0 [ 35.245912] ? rcu_pm_notify+0xc0/0xc0 [ 35.249765] ? crypto_larval_lookup+0x50/0x50 [ 35.254226] ? crypto_larval_lookup+0x50/0x50 [ 35.258688] crypto_alg_mod_lookup+0x178/0x1b0 [ 35.263235] crypto_alloc_tfm+0xf3/0x2f0 [ 35.267261] ? __down_interruptible+0x6b0/0x6b0 [ 35.271901] crypto_alloc_aead+0x2c/0x40 [ 35.275931] aead_bind+0x70/0x140 [ 35.279349] ? aead_recvmsg+0x1bc0/0x1bc0 [ 35.283464] alg_bind+0x1ab/0x440 [ 35.286889] SYSC_bind+0x1b4/0x3f0 [ 35.290395] ? move_addr_to_kernel.part.18+0x100/0x100 [ 35.295642] ? do_page_fault+0xee/0x720 [ 35.299585] ? __alloc_fd+0x750/0x750 [ 35.303353] ? __do_page_fault+0xc90/0xc90 [ 35.307561] ? fd_install+0x4d/0x60 [ 35.311161] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 35.315972] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 35.320957] SyS_bind+0x24/0x30 [ 35.324207] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 35.328929] RIP: 0033:0x4406e9 [ 35.332087] RSP: 002b:00007ffd2a8fbde8 EFLAGS: 00000203 ORIG_RAX: 0000000000000031 [ 35.339765] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004406e9 [ 35.347004] RDX: 0000000000000058 RSI: 00000000202f6fa8 RDI: 0000000000000003 [ 35.354246] RBP: 000000000000876f R08: 0000000000000000 R09: 0000000000000000 [ 35.361481] R10: 0000000000000000 R11: 0000000000000203 R12: 0000000000000000 [ 35.368728] R13: 0000000000401c20 R14: 0000000000000000 R15: 0000000000000000 [ 35.376335] Dumping ftrace buffer: [ 35.379841] (ftrace buffer empty) [ 35.383515] Kernel Offset: disabled [ 35.387108] Rebooting in 86400 seconds..