[....] Starting enhanced syslogd: rsyslogd[ 13.050320] audit: type=1400 audit(1515866027.663:5): avc: denied { syslog } for pid=3505 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: [ 17.804409] audit: type=1400 audit(1515866032.417:6): avc: denied { map } for pid=3645 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.247' (ECDSA) to the list of known hosts. executing program [ 26.586156] audit: type=1400 audit(1515866041.198:7): avc: denied { map } for pid=3659 comm="syzkaller300103" path="/root/syzkaller300103230" 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 [ 26.590693] ================================================================== [ 26.590712] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 26.590723] Read of size 8 at addr ffff8801d8e84f00 by task syzkaller300103/3659 [ 26.590725] [ 26.590732] CPU: 0 PID: 3659 Comm: syzkaller300103 Not tainted 4.15.0-rc7+ #187 [ 26.590736] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.590739] Call Trace: [ 26.590749] dump_stack+0x194/0x257 [ 26.590762] ? arch_local_irq_restore+0x53/0x53 [ 26.590771] ? show_regs_print_info+0x18/0x18 [ 26.590785] ? mark_held_locks+0xaf/0x100 [ 26.590793] ? rb_first_postorder+0x7c/0xa0 [ 26.590804] print_address_description+0x73/0x250 [ 26.590812] ? rb_first_postorder+0x7c/0xa0 [ 26.590822] kasan_report+0x25b/0x340 [ 26.590837] __asan_report_load8_noabort+0x14/0x20 [ 26.590843] rb_first_postorder+0x7c/0xa0 [ 26.590854] tipc_group_join+0x120/0x2d0 [ 26.590866] ? tipc_group_update_member+0x740/0x740 [ 26.590872] ? tipc_sk_publish+0x388/0x4b0 [ 26.590893] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 26.590911] tipc_setsockopt+0x67e/0xcc0 [ 26.590925] ? tipc_sk_leave+0x200/0x200 [ 26.590950] ? security_socket_setsockopt+0x89/0xb0 [ 26.590967] SyS_setsockopt+0x189/0x360 [ 26.590981] ? SyS_recv+0x40/0x40 [ 26.590993] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 26.591007] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.591018] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.591037] entry_SYSCALL_64_fastpath+0x23/0x9a [ 26.591043] RIP: 0033:0x43fcb9 [ 26.591047] RSP: 002b:00007ffd5efc8538 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 26.591054] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 26.591058] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 26.591062] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 26.591066] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 26.591070] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 26.591098] [ 26.591101] Allocated by task 3659: [ 26.591107] save_stack+0x43/0xd0 [ 26.591113] kasan_kmalloc+0xad/0xe0 [ 26.591118] kmem_cache_alloc_trace+0x136/0x750 [ 26.591124] tipc_group_create+0x144/0x900 [ 26.591129] tipc_setsockopt+0x274/0xcc0 [ 26.591134] SyS_setsockopt+0x189/0x360 [ 26.591140] entry_SYSCALL_64_fastpath+0x23/0x9a [ 26.591142] [ 26.591145] Freed by task 3659: [ 26.591150] save_stack+0x43/0xd0 [ 26.591155] kasan_slab_free+0x71/0xc0 [ 26.591160] kfree+0xd6/0x260 [ 26.591166] tipc_group_delete+0x2c8/0x3d0 [ 26.591171] tipc_setsockopt+0xba3/0xcc0 [ 26.591176] SyS_setsockopt+0x189/0x360 [ 26.591182] entry_SYSCALL_64_fastpath+0x23/0x9a [ 26.591184] [ 26.591188] The buggy address belongs to the object at ffff8801d8e84f00 [ 26.591188] which belongs to the cache kmalloc-128 of size 128 [ 26.591194] The buggy address is located 0 bytes inside of [ 26.591194] 128-byte region [ffff8801d8e84f00, ffff8801d8e84f80) [ 26.591196] The buggy address belongs to the page: [ 26.591201] page:ffffea000763a100 count:1 mapcount:0 mapping:ffff8801d8e84000 index:0xffff8801d8e84c00 [ 26.591208] flags: 0x2fffc0000000100(slab) [ 26.591216] raw: 02fffc0000000100 ffff8801d8e84000 ffff8801d8e84c00 0000000100000010 [ 26.591223] raw: ffffea000763e820 ffff8801dac01538 ffff8801dac00640 0000000000000000 [ 26.591226] page dumped because: kasan: bad access detected [ 26.591228] [ 26.591230] Memory state around the buggy address: [ 26.591235] ffff8801d8e84e00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 26.591240] ffff8801d8e84e80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 26.591245] >ffff8801d8e84f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.591247] ^ [ 26.591252] ffff8801d8e84f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.591257] ffff8801d8e85000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.591259] ================================================================== [ 26.591262] Disabling lock debugging due to kernel taint [ 26.591277] Kernel panic - not syncing: panic_on_warn set ... [ 26.591277] [ 26.591283] CPU: 0 PID: 3659 Comm: syzkaller300103 Tainted: G B 4.15.0-rc7+ #187 [ 26.591287] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.591288] Call Trace: [ 26.591295] dump_stack+0x194/0x257 [ 26.591303] ? arch_local_irq_restore+0x53/0x53 [ 26.591309] ? kasan_end_report+0x32/0x50 [ 26.591317] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.591323] ? vsnprintf+0x1ed/0x1900 [ 26.591330] ? rb_first_postorder+0x30/0xa0 [ 26.591338] panic+0x1e4/0x41c [ 26.591344] ? refcount_error_report+0x214/0x214 [ 26.591354] ? add_taint+0x1c/0x50 [ 26.591360] ? add_taint+0x1c/0x50 [ 26.591368] ? rb_first_postorder+0x7c/0xa0 [ 26.591374] kasan_end_report+0x50/0x50 [ 26.591381] kasan_report+0x144/0x340 [ 26.591391] __asan_report_load8_noabort+0x14/0x20 [ 26.591397] rb_first_postorder+0x7c/0xa0 [ 26.591404] tipc_group_join+0x120/0x2d0 [ 26.591413] ? tipc_group_update_member+0x740/0x740 [ 26.591418] ? tipc_sk_publish+0x388/0x4b0 [ 26.591431] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 26.591442] tipc_setsockopt+0x67e/0xcc0 [ 26.591451] ? tipc_sk_leave+0x200/0x200 [ 26.591466] ? security_socket_setsockopt+0x89/0xb0 [ 26.591476] SyS_setsockopt+0x189/0x360 [ 26.591485] ? SyS_recv+0x40/0x40 [ 26.591493] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 26.591501] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.591508] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.591520] entry_SYSCALL_64_fastpath+0x23/0x9a [ 26.591523] RIP: 0033:0x43fcb9 [ 26.591527] RSP: 002b:00007ffd5efc8538 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 26.591533] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 26.591536] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 26.591540] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 26.591543] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 26.591546] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 26.612499] Dumping ftrace buffer: [ 26.612502] (ftrace buffer empty) [ 26.612505] Kernel Offset: disabled [ 27.197682] Rebooting in 86400 seconds..