[....] Starting enhanced syslogd: rsyslogd[ 12.929726] audit: type=1400 audit(1516043946.934:5): avc: denied { syslog } for pid=3502 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: [ 16.269644] audit: type=1400 audit(1516043950.274:6): avc: denied { map } for pid=3641 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.235' (ECDSA) to the list of known hosts. executing program [ 22.494594] audit: type=1400 audit(1516043956.499:7): avc: denied { map } for pid=3655 comm="syzkaller343060" path="/root/syzkaller343060296" 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 [ 22.498564] ================================================================== [ 22.498583] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 22.498589] Read of size 8 at addr ffff8801d845d900 by task syzkaller343060/3655 [ 22.498591] [ 22.498599] CPU: 0 PID: 3655 Comm: syzkaller343060 Not tainted 4.15.0-rc7-mm1+ #56 [ 22.498603] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.498606] Call Trace: [ 22.498616] dump_stack+0x194/0x257 [ 22.498629] ? arch_local_irq_restore+0x53/0x53 [ 22.498637] ? show_regs_print_info+0x18/0x18 [ 22.498652] ? mark_held_locks+0xaf/0x100 [ 22.498660] ? rb_first_postorder+0x7c/0xa0 [ 22.498672] print_address_description+0x73/0x250 [ 22.498681] ? rb_first_postorder+0x7c/0xa0 [ 22.498689] kasan_report+0x23b/0x360 [ 22.498703] __asan_report_load8_noabort+0x14/0x20 [ 22.498710] rb_first_postorder+0x7c/0xa0 [ 22.498722] tipc_group_join+0x120/0x2d0 [ 22.498735] ? tipc_group_update_member+0x740/0x740 [ 22.498741] ? tipc_sk_publish+0x388/0x4b0 [ 22.498762] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 22.498780] tipc_setsockopt+0x67e/0xcc0 [ 22.498794] ? tipc_sk_leave+0x200/0x200 [ 22.498820] ? security_socket_setsockopt+0x89/0xb0 [ 22.498836] SyS_setsockopt+0x189/0x360 [ 22.498850] ? SyS_recv+0x40/0x40 [ 22.498861] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 22.498872] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.498883] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.498902] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 22.498907] RIP: 0033:0x43fcb9 [ 22.498911] RSP: 002b:00007ffc81416298 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 22.498919] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 22.498923] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000004 [ 22.498927] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 22.498931] R10: 0000000020f38000 R11: 0000000000000213 R12: 0000000000401620 [ 22.498935] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 22.498962] [ 22.498965] Allocated by task 3655: [ 22.498972] save_stack+0x43/0xd0 [ 22.498978] kasan_kmalloc+0xad/0xe0 [ 22.498984] kmem_cache_alloc_trace+0x136/0x750 [ 22.498990] tipc_group_create+0x144/0x900 [ 22.498995] tipc_setsockopt+0x274/0xcc0 [ 22.499000] SyS_setsockopt+0x189/0x360 [ 22.499010] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 22.499012] [ 22.499014] Freed by task 3655: [ 22.499020] save_stack+0x43/0xd0 [ 22.499026] __kasan_slab_free+0x11a/0x170 [ 22.499032] kasan_slab_free+0xe/0x10 [ 22.499037] kfree+0xd9/0x260 [ 22.499042] tipc_group_delete+0x2c8/0x3d0 [ 22.499048] tipc_setsockopt+0xba3/0xcc0 [ 22.499053] SyS_setsockopt+0x189/0x360 [ 22.499059] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 22.499061] [ 22.499066] The buggy address belongs to the object at ffff8801d845d900 [ 22.499066] which belongs to the cache kmalloc-128 of size 128 [ 22.499072] The buggy address is located 0 bytes inside of [ 22.499072] 128-byte region [ffff8801d845d900, ffff8801d845d980) [ 22.499074] The buggy address belongs to the page: [ 22.499080] page:ffffea0007611740 count:1 mapcount:0 mapping:ffff8801d845d000 index:0x0 [ 22.499086] flags: 0x2fffc0000000100(slab) [ 22.499096] raw: 02fffc0000000100 ffff8801d845d000 0000000000000000 0000000100000015 [ 22.499103] raw: ffffea00070297e0 ffffea000764e160 ffff8801dac00640 0000000000000000 [ 22.499106] page dumped because: kasan: bad access detected [ 22.499108] [ 22.499110] Memory state around the buggy address: [ 22.499115] ffff8801d845d800: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 22.499121] ffff8801d845d880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 22.499126] >ffff8801d845d900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 22.499128] ^ [ 22.499133] ffff8801d845d980: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 22.499138] ffff8801d845da00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 22.499140] ================================================================== [ 22.499142] Disabling lock debugging due to kernel taint [ 22.499158] Kernel panic - not syncing: panic_on_warn set ... [ 22.499158] [ 22.499164] CPU: 0 PID: 3655 Comm: syzkaller343060 Tainted: G B 4.15.0-rc7-mm1+ #56 [ 22.499167] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.499169] Call Trace: [ 22.499176] dump_stack+0x194/0x257 [ 22.499184] ? arch_local_irq_restore+0x53/0x53 [ 22.499190] ? kasan_end_report+0x32/0x50 [ 22.499198] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.499205] ? vsnprintf+0x1ed/0x1900 [ 22.499212] ? rb_next_postorder+0x110/0x140 [ 22.499221] panic+0x1e4/0x41c [ 22.499227] ? refcount_error_report+0x214/0x214 [ 22.499237] ? add_taint+0x1c/0x50 [ 22.499244] ? add_taint+0x1c/0x50 [ 22.499252] ? rb_first_postorder+0x7c/0xa0 [ 22.499259] kasan_end_report+0x50/0x50 [ 22.499265] kasan_report+0x148/0x360 [ 22.499274] __asan_report_load8_noabort+0x14/0x20 [ 22.499280] rb_first_postorder+0x7c/0xa0 [ 22.499287] tipc_group_join+0x120/0x2d0 [ 22.499296] ? tipc_group_update_member+0x740/0x740 [ 22.499302] ? tipc_sk_publish+0x388/0x4b0 [ 22.499315] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 22.499326] tipc_setsockopt+0x67e/0xcc0 [ 22.499335] ? tipc_sk_leave+0x200/0x200 [ 22.499350] ? security_socket_setsockopt+0x89/0xb0 [ 22.499360] SyS_setsockopt+0x189/0x360 [ 22.499369] ? SyS_recv+0x40/0x40 [ 22.499377] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 22.499386] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.499393] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.499405] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 22.499409] RIP: 0033:0x43fcb9 [ 22.499412] RSP: 002b:00007ffc81416298 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 22.499418] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 22.499421] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000004 [ 22.499425] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 22.499428] R10: 0000000020f38000 R11: 0000000000000213 R12: 0000000000401620 [ 22.499432] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 22.520912] Dumping ftrace buffer: [ 22.520916] (ftrace buffer empty) [ 22.520918] Kernel Offset: disabled [ 23.109321] Rebooting in 86400 seconds..