[....] Starting enhanced syslogd: rsyslogd[ 13.636615] audit: type=1400 audit(1516043275.123:5): avc: denied { syslog } for pid=3516 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.304537] audit: type=1400 audit(1516043280.791:6): avc: denied { map } for pid=3656 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.202' (ECDSA) to the list of known hosts. executing program [ 25.516053] audit: type=1400 audit(1516043287.002:7): avc: denied { map } for pid=3670 comm="syzkaller090864" path="/root/syzkaller090864417" 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.520512] ================================================================== [ 25.520531] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 25.520537] Read of size 8 at addr ffff8801d8d74180 by task syzkaller090864/3670 [ 25.520539] [ 25.520547] CPU: 1 PID: 3670 Comm: syzkaller090864 Not tainted 4.15.0-rc7-next-20180115+ #97 [ 25.520551] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.520554] Call Trace: [ 25.520565] dump_stack+0x194/0x257 [ 25.520578] ? arch_local_irq_restore+0x53/0x53 [ 25.520587] ? show_regs_print_info+0x18/0x18 [ 25.520602] ? mark_held_locks+0xaf/0x100 [ 25.520610] ? rb_first_postorder+0x7c/0xa0 [ 25.520621] print_address_description+0x73/0x250 [ 25.520629] ? rb_first_postorder+0x7c/0xa0 [ 25.520638] kasan_report+0x23b/0x360 [ 25.520653] __asan_report_load8_noabort+0x14/0x20 [ 25.520660] rb_first_postorder+0x7c/0xa0 [ 25.520673] tipc_group_join+0x120/0x2d0 [ 25.520686] ? tipc_group_update_member+0x740/0x740 [ 25.520692] ? tipc_sk_publish+0x388/0x4b0 [ 25.520712] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 25.520730] tipc_setsockopt+0x67e/0xcc0 [ 25.520744] ? tipc_sk_leave+0x200/0x200 [ 25.520771] ? security_socket_setsockopt+0x89/0xb0 [ 25.520788] SyS_setsockopt+0x189/0x360 [ 25.520803] ? SyS_recv+0x40/0x40 [ 25.520815] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 25.520826] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.520839] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.520858] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.520863] RIP: 0033:0x43fcb9 [ 25.520867] RSP: 002b:00007ffe0f859788 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 25.520875] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 25.520879] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000004 [ 25.520883] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 25.520887] R10: 0000000020f38000 R11: 0000000000000213 R12: 0000000000401620 [ 25.520891] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 25.520920] [ 25.520923] Allocated by task 3670: [ 25.520931] save_stack+0x43/0xd0 [ 25.520937] kasan_kmalloc+0xad/0xe0 [ 25.520943] kmem_cache_alloc_trace+0x136/0x750 [ 25.520949] tipc_group_create+0x144/0x900 [ 25.520955] tipc_setsockopt+0x274/0xcc0 [ 25.520960] SyS_setsockopt+0x189/0x360 [ 25.520967] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.520968] [ 25.520971] Freed by task 3670: [ 25.520977] save_stack+0x43/0xd0 [ 25.520983] __kasan_slab_free+0x11a/0x170 [ 25.520989] kasan_slab_free+0xe/0x10 [ 25.520994] kfree+0xd9/0x260 [ 25.521000] tipc_group_delete+0x2c8/0x3d0 [ 25.521009] tipc_setsockopt+0xba3/0xcc0 [ 25.521015] SyS_setsockopt+0x189/0x360 [ 25.521021] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.521023] [ 25.521028] The buggy address belongs to the object at ffff8801d8d74180 [ 25.521028] which belongs to the cache kmalloc-128 of size 128 [ 25.521033] The buggy address is located 0 bytes inside of [ 25.521033] 128-byte region [ffff8801d8d74180, ffff8801d8d74200) [ 25.521035] The buggy address belongs to the page: [ 25.521041] page:ffffea0007635d00 count:1 mapcount:0 mapping:ffff8801d8d74000 index:0xffff8801d8d74c00 [ 25.521048] flags: 0x2fffc0000000100(slab) [ 25.521058] raw: 02fffc0000000100 ffff8801d8d74000 ffff8801d8d74c00 000000010000000f [ 25.521065] raw: ffffea00076241e0 ffff8801dac01538 ffff8801dac00640 0000000000000000 [ 25.521068] page dumped because: kasan: bad access detected [ 25.521070] [ 25.521072] Memory state around the buggy address: [ 25.521078] ffff8801d8d74080: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 25.521083] ffff8801d8d74100: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 25.521088] >ffff8801d8d74180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.521090] ^ [ 25.521095] ffff8801d8d74200: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 25.521100] ffff8801d8d74280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 25.521103] ================================================================== [ 25.521105] Disabling lock debugging due to kernel taint [ 25.521121] Kernel panic - not syncing: panic_on_warn set ... [ 25.521121] [ 25.521127] CPU: 1 PID: 3670 Comm: syzkaller090864 Tainted: G B 4.15.0-rc7-next-20180115+ #97 [ 25.521130] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.521132] Call Trace: [ 25.521139] dump_stack+0x194/0x257 [ 25.521148] ? arch_local_irq_restore+0x53/0x53 [ 25.521154] ? kasan_end_report+0x32/0x50 [ 25.521162] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.521170] ? vsnprintf+0x1ed/0x1900 [ 25.521177] ? rb_next_postorder+0xe0/0x140 [ 25.521185] panic+0x1e4/0x41c [ 25.521192] ? refcount_error_report+0x214/0x214 [ 25.521202] ? add_taint+0x1c/0x50 [ 25.521209] ? add_taint+0x1c/0x50 [ 25.521217] ? rb_first_postorder+0x7c/0xa0 [ 25.521224] kasan_end_report+0x50/0x50 [ 25.521230] kasan_report+0x148/0x360 [ 25.521240] __asan_report_load8_noabort+0x14/0x20 [ 25.521246] rb_first_postorder+0x7c/0xa0 [ 25.521253] tipc_group_join+0x120/0x2d0 [ 25.521263] ? tipc_group_update_member+0x740/0x740 [ 25.521268] ? tipc_sk_publish+0x388/0x4b0 [ 25.521280] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 25.521291] tipc_setsockopt+0x67e/0xcc0 [ 25.521301] ? tipc_sk_leave+0x200/0x200 [ 25.521316] ? security_socket_setsockopt+0x89/0xb0 [ 25.521326] SyS_setsockopt+0x189/0x360 [ 25.521336] ? SyS_recv+0x40/0x40 [ 25.521344] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 25.521353] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.521360] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.521372] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.521376] RIP: 0033:0x43fcb9 [ 25.521379] RSP: 002b:00007ffe0f859788 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 25.521386] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 25.521389] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000004 [ 25.521393] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 25.521396] R10: 0000000020f38000 R11: 0000000000000213 R12: 0000000000401620 [ 25.521400] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 25.542334] Dumping ftrace buffer: [ 25.542337] (ftrace buffer empty) [ 25.542340] Kernel Offset: disabled [ 26.133864] Rebooting in 86400 seconds..