[....] Starting enhanced syslogd: rsyslogd[ 12.601996] audit: type=1400 audit(1515768289.753:5): avc: denied { syslog } for pid=3359 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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: [ 18.544950] audit: type=1400 audit(1515768295.696:6): avc: denied { map } for pid=3498 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.0.16' (ECDSA) to the list of known hosts. executing program [ 24.739775] audit: type=1400 audit(1515768301.891:7): avc: denied { map } for pid=3512 comm="syzkaller981504" path="/root/syzkaller981504775" 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 [ 24.744409] ================================================================== [ 24.744429] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 24.744436] Read of size 8 at addr ffff8801d8401240 by task syzkaller981504/3512 [ 24.744438] [ 24.744445] CPU: 1 PID: 3512 Comm: syzkaller981504 Not tainted 4.15.0-rc7-mm1+ #54 [ 24.744449] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.744452] Call Trace: [ 24.744460] dump_stack+0x194/0x257 [ 24.744472] ? arch_local_irq_restore+0x53/0x53 [ 24.744481] ? show_regs_print_info+0x18/0x18 [ 24.744495] ? mark_held_locks+0xaf/0x100 [ 24.744504] ? rb_first_postorder+0x7c/0xa0 [ 24.744516] print_address_description+0x73/0x250 [ 24.744525] ? rb_first_postorder+0x7c/0xa0 [ 24.744535] kasan_report+0x23b/0x360 [ 24.744549] __asan_report_load8_noabort+0x14/0x20 [ 24.744557] rb_first_postorder+0x7c/0xa0 [ 24.744566] tipc_group_join+0x120/0x2d0 [ 24.744579] ? tipc_group_update_member+0x740/0x740 [ 24.744586] ? tipc_sk_publish+0x388/0x4b0 [ 24.744605] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.744623] tipc_setsockopt+0x67e/0xcc0 [ 24.744639] ? tipc_sk_leave+0x200/0x200 [ 24.744664] ? security_socket_setsockopt+0x89/0xb0 [ 24.744680] SyS_setsockopt+0x189/0x360 [ 24.744694] ? SyS_recv+0x40/0x40 [ 24.744704] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.744715] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.744726] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.744744] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.744750] RIP: 0033:0x43fcb9 [ 24.744754] RSP: 002b:00007ffd3f1f0db8 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.744761] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.744765] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.744769] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.744773] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.744777] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.744804] [ 24.744807] Allocated by task 3512: [ 24.744814] save_stack+0x43/0xd0 [ 24.744820] kasan_kmalloc+0xad/0xe0 [ 24.744826] kmem_cache_alloc_trace+0x136/0x750 [ 24.744832] tipc_group_create+0x144/0x900 [ 24.744837] tipc_setsockopt+0x274/0xcc0 [ 24.744843] SyS_setsockopt+0x189/0x360 [ 24.744849] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.744851] [ 24.744853] Freed by task 3512: [ 24.744859] save_stack+0x43/0xd0 [ 24.744865] __kasan_slab_free+0x11a/0x170 [ 24.744870] kasan_slab_free+0xe/0x10 [ 24.744876] kfree+0xd9/0x260 [ 24.744881] tipc_group_delete+0x2c8/0x3d0 [ 24.744887] tipc_setsockopt+0xba3/0xcc0 [ 24.744892] SyS_setsockopt+0x189/0x360 [ 24.744898] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.744900] [ 24.744904] The buggy address belongs to the object at ffff8801d8401240 [ 24.744904] which belongs to the cache kmalloc-128 of size 128 [ 24.744910] The buggy address is located 0 bytes inside of [ 24.744910] 128-byte region [ffff8801d8401240, ffff8801d84012c0) [ 24.744912] The buggy address belongs to the page: [ 24.744918] page:ffffea0007610040 count:1 mapcount:0 mapping:ffff8801d8401000 index:0x0 [ 24.744924] flags: 0x2fffc0000000100(slab) [ 24.744933] raw: 02fffc0000000100 ffff8801d8401000 0000000000000000 0000000100000015 [ 24.744940] raw: ffffea00076297a0 ffff8801dac01548 ffff8801dac00640 0000000000000000 [ 24.744943] page dumped because: kasan: bad access detected [ 24.744945] [ 24.744947] Memory state around the buggy address: [ 24.744952] ffff8801d8401100: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 24.744957] ffff8801d8401180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.744962] >ffff8801d8401200: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 24.744965] ^ [ 24.744969] ffff8801d8401280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.744974] ffff8801d8401300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.744976] ================================================================== [ 24.744979] Disabling lock debugging due to kernel taint [ 24.744983] Kernel panic - not syncing: panic_on_warn set ... [ 24.744983] [ 24.744989] CPU: 1 PID: 3512 Comm: syzkaller981504 Tainted: G B 4.15.0-rc7-mm1+ #54 [ 24.744992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.744994] Call Trace: [ 24.745000] dump_stack+0x194/0x257 [ 24.745011] ? arch_local_irq_restore+0x53/0x53 [ 24.745017] ? kasan_end_report+0x32/0x50 [ 24.745025] ? lock_downgrade+0x980/0x980 [ 24.745031] ? vsnprintf+0x1ed/0x1900 [ 24.745039] ? rb_next_postorder+0x140/0x140 [ 24.745047] panic+0x1e4/0x41c [ 24.745055] ? refcount_error_report+0x214/0x214 [ 24.745065] ? add_taint+0x40/0x50 [ 24.745071] ? add_taint+0x1c/0x50 [ 24.745080] ? rb_first_postorder+0x7c/0xa0 [ 24.745087] kasan_end_report+0x50/0x50 [ 24.745094] kasan_report+0x148/0x360 [ 24.745104] __asan_report_load8_noabort+0x14/0x20 [ 24.745110] rb_first_postorder+0x7c/0xa0 [ 24.745117] tipc_group_join+0x120/0x2d0 [ 24.745126] ? tipc_group_update_member+0x740/0x740 [ 24.745132] ? tipc_sk_publish+0x388/0x4b0 [ 24.745144] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.745157] tipc_setsockopt+0x67e/0xcc0 [ 24.745167] ? tipc_sk_leave+0x200/0x200 [ 24.745182] ? security_socket_setsockopt+0x89/0xb0 [ 24.745193] SyS_setsockopt+0x189/0x360 [ 24.745202] ? SyS_recv+0x40/0x40 [ 24.745210] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.745223] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.745230] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.745242] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.745246] RIP: 0033:0x43fcb9 [ 24.745249] RSP: 002b:00007ffd3f1f0db8 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.745255] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.745258] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.745262] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.745265] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.745269] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.766354] Dumping ftrace buffer: [ 24.766358] (ftrace buffer empty) [ 24.766360] Kernel Offset: disabled [ 25.363170] Rebooting in 86400 seconds..