[....] Starting enhanced syslogd: rsyslogd[ 12.310933] audit: type=1400 audit(1516509244.860:5): avc: denied { syslog } for pid=3506 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: [ 19.487089] audit: type=1400 audit(1516509252.036:6): avc: denied { map } for pid=3647 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 '10.128.15.233' (ECDSA) to the list of known hosts. executing program [ 25.693052] audit: type=1400 audit(1516509258.242:7): avc: denied { map } for pid=3662 comm="syzkaller209538" path="/root/syzkaller209538855" 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 [ 25.723656] ================================================================== [ 25.731152] BUG: KASAN: use-after-free in __wake_up_common+0x670/0x780 [ 25.737896] Read of size 8 at addr ffff8801c4be03c8 by task syzkaller209538/3662 [ 25.745405] [ 25.747008] CPU: 1 PID: 3662 Comm: syzkaller209538 Not tainted 4.15.0-rc8-next-20180119+ #102 [ 25.755638] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.764962] Call Trace: [ 25.767532] dump_stack+0x194/0x257 [ 25.771135] ? arch_local_irq_restore+0x53/0x53 [ 25.775780] ? show_regs_print_info+0x18/0x18 [ 25.780255] ? __wake_up_common+0x670/0x780 [ 25.784550] print_address_description+0x73/0x250 [ 25.789365] ? __wake_up_common+0x670/0x780 [ 25.793659] kasan_report+0x23b/0x360 [ 25.797437] __asan_report_load8_noabort+0x14/0x20 [ 25.802340] __wake_up_common+0x670/0x780 [ 25.806471] ? do_wait_intr_irq+0x3e0/0x3e0 [ 25.810768] ? __save_stack_trace+0x7e/0xd0 [ 25.815074] __wake_up_common_lock+0x1b4/0x310 [ 25.819627] ? locks_remove_file+0x3fa/0x5a0 [ 25.824010] ? __wake_up_common+0x780/0x780 [ 25.828299] ? fcntl_setlk+0x10c0/0x10c0 [ 25.832342] ? fsnotify_first_mark+0x2b0/0x2b0 [ 25.836903] ? eventfd_show_fdinfo+0x90/0x90 [ 25.841284] __wake_up+0xe/0x10 [ 25.844546] eventfd_release+0x4a/0x60 [ 25.848410] __fput+0x327/0x7e0 [ 25.851669] ? fput+0x140/0x140 [ 25.854926] ? _raw_spin_unlock_irq+0x27/0x70 [ 25.859400] ____fput+0x15/0x20 [ 25.862653] task_work_run+0x199/0x270 [ 25.866515] ? task_work_cancel+0x210/0x210 [ 25.870812] ? _raw_spin_unlock+0x22/0x30 [ 25.874959] ? switch_task_namespaces+0x87/0xc0 [ 25.879611] do_exit+0x9bb/0x1ad0 [ 25.883043] ? mm_update_next_owner+0x930/0x930 [ 25.887691] ? mntput_no_expire+0x15e/0xa90 [ 25.891993] ? _raw_spin_unlock+0x22/0x30 [ 25.896120] ? mnt_get_count+0x150/0x150 [ 25.900159] ? find_held_lock+0x35/0x1d0 [ 25.904240] ? task_work_run+0x16c/0x270 [ 25.908277] ? lock_downgrade+0x980/0x980 [ 25.912397] ? mntput+0x66/0x90 [ 25.915655] ? lock_release+0xa40/0xa40 [ 25.919607] ? do_raw_spin_trylock+0x190/0x190 [ 25.924169] ? _raw_spin_unlock_irq+0x27/0x70 [ 25.928643] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.933638] ? trace_hardirqs_on+0xd/0x10 [ 25.937763] ? _raw_spin_unlock_irq+0x27/0x70 [ 25.942236] ? task_work_run+0x1f4/0x270 [ 25.946273] ? task_work_cancel+0x210/0x210 [ 25.950580] ? exit_to_usermode_loop+0x8c/0x2f0 [ 25.955230] ? trace_hardirqs_off+0xd/0x10 [ 25.959444] ? exit_to_usermode_loop+0x198/0x2f0 [ 25.964181] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 25.969699] ? __close_fd+0x222/0x360 [ 25.973482] do_group_exit+0x149/0x400 [ 25.977342] ? prepare_exit_to_usermode+0x340/0x340 [ 25.982334] ? SyS_exit+0x30/0x30 [ 25.985762] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.990752] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.995485] SyS_exit_group+0x1d/0x20 [ 25.999259] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.003986] RIP: 0033:0x43e978 [ 26.007168] RSP: 002b:00007fff27310178 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.014852] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043e978 [ 26.022131] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 26.029378] RBP: 00000000006ca018 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 26.036622] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004016a0 [ 26.044609] R13: 0000000000401730 R14: 0000000000000000 R15: 0000000000000000 [ 26.051875] [ 26.053480] Allocated by task 3662: [ 26.057091] save_stack+0x43/0xd0 [ 26.060515] kasan_kmalloc+0xad/0xe0 [ 26.064200] __kmalloc_node+0x47/0x70 [ 26.067978] kvmalloc_node+0x64/0xd0 [ 26.071668] vhost_net_open+0x27/0x670 [ 26.075531] misc_open+0x382/0x500 [ 26.079053] chrdev_open+0x257/0x730 [ 26.082740] do_dentry_open+0x667/0xd40 [ 26.086686] vfs_open+0x107/0x220 [ 26.090114] path_openat+0x1151/0x3530 [ 26.093976] do_filp_open+0x25b/0x3b0 [ 26.097750] do_sys_open+0x502/0x6d0 [ 26.101441] SyS_openat+0x30/0x40 [ 26.104873] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.109602] [ 26.111204] Freed by task 3662: [ 26.114460] save_stack+0x43/0xd0 [ 26.117885] __kasan_slab_free+0x11a/0x170 [ 26.122091] kasan_slab_free+0xe/0x10 [ 26.125865] kfree+0xd9/0x260 [ 26.128943] kvfree+0x36/0x60 [ 26.132025] vhost_net_release+0x159/0x190 [ 26.136234] __fput+0x327/0x7e0 [ 26.139488] ____fput+0x15/0x20 [ 26.142741] task_work_run+0x199/0x270 [ 26.146603] exit_to_usermode_loop+0x275/0x2f0 [ 26.151157] syscall_return_slowpath+0x490/0x550 [ 26.155889] entry_SYSCALL_64_fastpath+0x9e/0xa0 [ 26.160613] [ 26.162214] The buggy address belongs to the object at ffff8801c4be0140 [ 26.162214] which belongs to the cache kmalloc-65536 of size 65536 [ 26.175188] The buggy address is located 648 bytes inside of [ 26.175188] 65536-byte region [ffff8801c4be0140, ffff8801c4bf0140) [ 26.187208] The buggy address belongs to the page: [ 26.192110] page:ffffea000712f800 count:1 mapcount:0 mapping:ffff8801c4be0140 index:0x0 compound_mapcount: 0 [ 26.202053] flags: 0x2fffc0000008100(slab|head) [ 26.206701] raw: 02fffc0000008100 ffff8801c4be0140 0000000000000000 0000000100000001 [ 26.214560] raw: ffffea00074c6820 ffffea0007129020 ffff8801dac02500 0000000000000000 [ 26.222414] page dumped because: kasan: bad access detected [ 26.228120] [ 26.229731] Memory state around the buggy address: [ 26.234638] ffff8801c4be0280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.241970] ffff8801c4be0300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.249303] >ffff8801c4be0380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.256635] ^ [ 26.262318] ffff8801c4be0400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.269653] ffff8801c4be0480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.276982] ================================================================== [ 26.284313] Disabling lock debugging due to kernel taint [ 26.289735] Kernel panic - not syncing: panic_on_warn set ... [ 26.289735] [ 26.297071] CPU: 1 PID: 3662 Comm: syzkaller209538 Tainted: G B 4.15.0-rc8-next-20180119+ #102 [ 26.307022] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.316348] Call Trace: [ 26.318920] dump_stack+0x194/0x257 [ 26.322524] ? arch_local_irq_restore+0x53/0x53 [ 26.327164] ? kasan_end_report+0x32/0x50 [ 26.331293] ? lock_downgrade+0x980/0x980 [ 26.335420] ? vsnprintf+0x1ed/0x1900 [ 26.339198] ? __wake_up_common+0x600/0x780 [ 26.343497] panic+0x1e4/0x41c [ 26.346665] ? refcount_error_report+0x214/0x214 [ 26.351416] ? add_taint+0x40/0x50 [ 26.354927] ? add_taint+0x1c/0x50 [ 26.358443] ? __wake_up_common+0x670/0x780 [ 26.362740] kasan_end_report+0x50/0x50 [ 26.366688] kasan_report+0x148/0x360 [ 26.370468] __asan_report_load8_noabort+0x14/0x20 [ 26.375371] __wake_up_common+0x670/0x780 [ 26.379498] ? do_wait_intr_irq+0x3e0/0x3e0 [ 26.383795] ? __save_stack_trace+0x7e/0xd0 [ 26.388099] __wake_up_common_lock+0x1b4/0x310 [ 26.392657] ? locks_remove_file+0x3fa/0x5a0 [ 26.397041] ? __wake_up_common+0x780/0x780 [ 26.401334] ? fcntl_setlk+0x10c0/0x10c0 [ 26.405372] ? fsnotify_first_mark+0x2b0/0x2b0 [ 26.409931] ? eventfd_show_fdinfo+0x90/0x90 [ 26.414325] __wake_up+0xe/0x10 [ 26.417590] eventfd_release+0x4a/0x60 [ 26.421449] __fput+0x327/0x7e0 [ 26.424715] ? fput+0x140/0x140 [ 26.427971] ? _raw_spin_unlock_irq+0x27/0x70 [ 26.432442] ____fput+0x15/0x20 [ 26.435696] task_work_run+0x199/0x270 [ 26.439558] ? task_work_cancel+0x210/0x210 [ 26.443868] ? _raw_spin_unlock+0x22/0x30 [ 26.447988] ? switch_task_namespaces+0x87/0xc0 [ 26.452637] do_exit+0x9bb/0x1ad0 [ 26.456069] ? mm_update_next_owner+0x930/0x930 [ 26.460712] ? mntput_no_expire+0x15e/0xa90 [ 26.465019] ? _raw_spin_unlock+0x22/0x30 [ 26.469141] ? mnt_get_count+0x150/0x150 [ 26.473181] ? find_held_lock+0x35/0x1d0 [ 26.477218] ? task_work_run+0x16c/0x270 [ 26.481263] ? lock_downgrade+0x980/0x980 [ 26.485400] ? mntput+0x66/0x90 [ 26.488656] ? lock_release+0xa40/0xa40 [ 26.492604] ? do_raw_spin_trylock+0x190/0x190 [ 26.497159] ? _raw_spin_unlock_irq+0x27/0x70 [ 26.501639] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.506626] ? trace_hardirqs_on+0xd/0x10 [ 26.510748] ? _raw_spin_unlock_irq+0x27/0x70 [ 26.515216] ? task_work_run+0x1f4/0x270 [ 26.519249] ? task_work_cancel+0x210/0x210 [ 26.523549] ? exit_to_usermode_loop+0x8c/0x2f0 [ 26.528197] ? trace_hardirqs_off+0xd/0x10 [ 26.532405] ? exit_to_usermode_loop+0x198/0x2f0 [ 26.537149] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 26.542676] ? __close_fd+0x222/0x360 [ 26.546459] do_group_exit+0x149/0x400 [ 26.550329] ? prepare_exit_to_usermode+0x340/0x340 [ 26.555335] ? SyS_exit+0x30/0x30 [ 26.558766] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.563758] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.568487] SyS_exit_group+0x1d/0x20 [ 26.572269] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.577000] RIP: 0033:0x43e978 [ 26.580160] RSP: 002b:00007fff27310178 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.587843] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043e978 [ 26.595085] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 26.602328] RBP: 00000000006ca018 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 26.609571] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004016a0 [ 26.616812] R13: 0000000000401730 R14: 0000000000000000 R15: 0000000000000000 [ 26.624441] Dumping ftrace buffer: [ 26.627959] (ftrace buffer empty) [ 26.631645] Kernel Offset: disabled [ 26.635247] Rebooting in 86400 seconds..