[....] Starting enhanced syslogd: rsyslogd[ 12.064776] audit: type=1400 audit(1515637582.808:5): avc: denied { syslog } for pid=3347 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: [ 16.689748] audit: type=1400 audit(1515637587.433:6): avc: denied { map } for pid=3486 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.20' (ECDSA) to the list of known hosts. executing program [ 24.735691] audit: type=1400 audit(1515637595.479:7): avc: denied { map } for pid=3502 comm="syzkaller034736" path="/root/syzkaller034736734" 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.740554] ================================================================== [ 24.740572] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 24.740576] Read of size 8 at addr ffff8801d95ad9c0 by task syzkaller034736/3502 [ 24.740578] [ 24.740585] CPU: 0 PID: 3502 Comm: syzkaller034736 Not tainted 4.15.0-rc7-mm1+ #53 [ 24.740588] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.740590] Call Trace: [ 24.740597] dump_stack+0x194/0x257 [ 24.740605] ? arch_local_irq_restore+0x53/0x53 [ 24.740611] ? show_regs_print_info+0x18/0x18 [ 24.740623] ? mark_held_locks+0xaf/0x100 [ 24.740628] ? rb_first_postorder+0x7c/0xa0 [ 24.740639] print_address_description+0x73/0x250 [ 24.740645] ? rb_first_postorder+0x7c/0xa0 [ 24.740651] kasan_report+0x23b/0x360 [ 24.740660] __asan_report_load8_noabort+0x14/0x20 [ 24.740664] rb_first_postorder+0x7c/0xa0 [ 24.740673] tipc_group_join+0x120/0x2d0 [ 24.740681] ? tipc_group_update_member+0x740/0x740 [ 24.740686] ? tipc_sk_publish+0x388/0x4b0 [ 24.740699] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.740710] tipc_setsockopt+0x67e/0xcc0 [ 24.740719] ? tipc_sk_leave+0x200/0x200 [ 24.740737] ? security_socket_setsockopt+0x89/0xb0 [ 24.740751] SyS_setsockopt+0x189/0x360 [ 24.740760] ? SyS_recv+0x40/0x40 [ 24.740768] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.740775] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.740784] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.740795] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.740799] RIP: 0033:0x43fcb9 [ 24.740802] RSP: 002b:00007ffc2f29f2a8 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.740808] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.740810] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.740813] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.740816] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.740818] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.740835] [ 24.740837] Allocated by task 3502: [ 24.740842] save_stack+0x43/0xd0 [ 24.740846] kasan_kmalloc+0xad/0xe0 [ 24.740850] kmem_cache_alloc_trace+0x136/0x750 [ 24.740853] tipc_group_create+0x144/0x900 [ 24.740857] tipc_setsockopt+0x274/0xcc0 [ 24.740860] SyS_setsockopt+0x189/0x360 [ 24.740864] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.740865] [ 24.740867] Freed by task 3502: [ 24.740870] save_stack+0x43/0xd0 [ 24.740874] __kasan_slab_free+0x11a/0x170 [ 24.740877] kasan_slab_free+0xe/0x10 [ 24.740881] kfree+0xd9/0x260 [ 24.740884] tipc_group_delete+0x2c8/0x3d0 [ 24.740888] tipc_setsockopt+0xba3/0xcc0 [ 24.740891] SyS_setsockopt+0x189/0x360 [ 24.740895] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.740896] [ 24.740900] The buggy address belongs to the object at ffff8801d95ad9c0 [ 24.740900] which belongs to the cache kmalloc-128 of size 128 [ 24.740903] The buggy address is located 0 bytes inside of [ 24.740903] 128-byte region [ffff8801d95ad9c0, ffff8801d95ada40) [ 24.740905] The buggy address belongs to the page: [ 24.740908] page:ffffea0007656b40 count:1 mapcount:0 mapping:ffff8801d95ad000 index:0xffff8801d95ad0c0 [ 24.740913] flags: 0x2fffc0000000100(slab) [ 24.740919] raw: 02fffc0000000100 ffff8801d95ad000 ffff8801d95ad0c0 0000000100000014 [ 24.740923] raw: ffffea000765c460 ffffea00074d6ba0 ffff8801dac00640 0000000000000000 [ 24.740925] page dumped because: kasan: bad access detected [ 24.740927] [ 24.740928] Memory state around the buggy address: [ 24.740931] ffff8801d95ad880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.740934] ffff8801d95ad900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.740937] >ffff8801d95ad980: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 24.740939] ^ [ 24.740942] ffff8801d95ada00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.740945] ffff8801d95ada80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.740946] ================================================================== [ 24.740948] Disabling lock debugging due to kernel taint [ 24.740951] Kernel panic - not syncing: panic_on_warn set ... [ 24.740951] [ 24.740955] CPU: 0 PID: 3502 Comm: syzkaller034736 Tainted: G B 4.15.0-rc7-mm1+ #53 [ 24.740957] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.740958] Call Trace: [ 24.740962] dump_stack+0x194/0x257 [ 24.740968] ? arch_local_irq_restore+0x53/0x53 [ 24.740971] ? kasan_end_report+0x32/0x50 [ 24.740976] ? lock_downgrade+0x980/0x980 [ 24.740981] ? vsnprintf+0x1ed/0x1900 [ 24.740985] ? rb_next_postorder+0x140/0x140 [ 24.740992] panic+0x1e4/0x41c [ 24.740996] ? refcount_error_report+0x214/0x214 [ 24.741007] ? add_taint+0x40/0x50 [ 24.741010] ? add_taint+0x1c/0x50 [ 24.741016] ? rb_first_postorder+0x7c/0xa0 [ 24.741020] kasan_end_report+0x50/0x50 [ 24.741024] kasan_report+0x148/0x360 [ 24.741030] __asan_report_load8_noabort+0x14/0x20 [ 24.741034] rb_first_postorder+0x7c/0xa0 [ 24.741038] tipc_group_join+0x120/0x2d0 [ 24.741044] ? tipc_group_update_member+0x740/0x740 [ 24.741047] ? tipc_sk_publish+0x388/0x4b0 [ 24.741055] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.741063] tipc_setsockopt+0x67e/0xcc0 [ 24.741069] ? tipc_sk_leave+0x200/0x200 [ 24.741079] ? security_socket_setsockopt+0x89/0xb0 [ 24.741086] SyS_setsockopt+0x189/0x360 [ 24.741092] ? SyS_recv+0x40/0x40 [ 24.741096] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.741101] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.741106] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.741113] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.741116] RIP: 0033:0x43fcb9 [ 24.741117] RSP: 002b:00007ffc2f29f2a8 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.741121] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.741123] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.741125] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.741127] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.741129] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.761609] Dumping ftrace buffer: [ 24.761613] (ftrace buffer empty) [ 24.761616] Kernel Offset: disabled [ 25.353636] Rebooting in 86400 seconds..