[....] Starting enhanced syslogd: rsyslogd[ 12.728390] audit: type=1400 audit(1515776759.329:5): avc: denied { syslog } for pid=3351 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.984960] audit: type=1400 audit(1515776763.585:6): avc: denied { map } for pid=3492 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.5' (ECDSA) to the list of known hosts. executing program [ 23.215414] audit: type=1400 audit(1515776769.816:7): avc: denied { map } for pid=3506 comm="syzkaller065667" path="/root/syzkaller065667474" 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 [ 23.220593] ================================================================== [ 23.220614] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 23.220621] Read of size 8 at addr ffff8801d9677cc0 by task syzkaller065667/3506 [ 23.220622] [ 23.220630] CPU: 1 PID: 3506 Comm: syzkaller065667 Not tainted 4.15.0-rc7-next-20180112+ #95 [ 23.220634] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.220637] Call Trace: [ 23.220646] dump_stack+0x194/0x257 [ 23.220658] ? arch_local_irq_restore+0x53/0x53 [ 23.220666] ? show_regs_print_info+0x18/0x18 [ 23.220682] ? mark_held_locks+0xaf/0x100 [ 23.220691] ? rb_first_postorder+0x7c/0xa0 [ 23.220701] print_address_description+0x73/0x250 [ 23.220709] ? rb_first_postorder+0x7c/0xa0 [ 23.220718] kasan_report+0x23b/0x360 [ 23.220732] __asan_report_load8_noabort+0x14/0x20 [ 23.220739] rb_first_postorder+0x7c/0xa0 [ 23.220750] tipc_group_join+0x120/0x2d0 [ 23.220762] ? tipc_group_update_member+0x740/0x740 [ 23.220769] ? tipc_sk_publish+0x388/0x4b0 [ 23.220789] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 23.220806] tipc_setsockopt+0x67e/0xcc0 [ 23.220820] ? tipc_sk_leave+0x200/0x200 [ 23.220845] ? security_socket_setsockopt+0x89/0xb0 [ 23.220863] SyS_setsockopt+0x189/0x360 [ 23.220878] ? SyS_recv+0x40/0x40 [ 23.220890] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 23.220901] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.220913] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.220931] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 23.220936] RIP: 0033:0x43fcb9 [ 23.220940] RSP: 002b:00007fff34310b28 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 23.220947] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 23.220951] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 23.220955] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 23.220958] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 23.220962] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 23.220989] [ 23.220992] Allocated by task 3506: [ 23.220999] save_stack+0x43/0xd0 [ 23.221009] kasan_kmalloc+0xad/0xe0 [ 23.221015] kmem_cache_alloc_trace+0x136/0x750 [ 23.221020] tipc_group_create+0x144/0x900 [ 23.221025] tipc_setsockopt+0x274/0xcc0 [ 23.221031] SyS_setsockopt+0x189/0x360 [ 23.221036] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 23.221038] [ 23.221041] Freed by task 3506: [ 23.221046] save_stack+0x43/0xd0 [ 23.221052] __kasan_slab_free+0x11a/0x170 [ 23.221058] kasan_slab_free+0xe/0x10 [ 23.221063] kfree+0xd9/0x260 [ 23.221068] tipc_group_delete+0x2c8/0x3d0 [ 23.221073] tipc_setsockopt+0xba3/0xcc0 [ 23.221079] SyS_setsockopt+0x189/0x360 [ 23.221085] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 23.221086] [ 23.221091] The buggy address belongs to the object at ffff8801d9677cc0 [ 23.221091] which belongs to the cache kmalloc-128 of size 128 [ 23.221097] The buggy address is located 0 bytes inside of [ 23.221097] 128-byte region [ffff8801d9677cc0, ffff8801d9677d40) [ 23.221099] The buggy address belongs to the page: [ 23.221106] page:ffffea0007659dc0 count:1 mapcount:0 mapping:ffff8801d9677000 index:0x0 [ 23.221112] flags: 0x2fffc0000000100(slab) [ 23.221121] raw: 02fffc0000000100 ffff8801d9677000 0000000000000000 0000000100000015 [ 23.221128] raw: ffffea0007659ca0 ffffea000765dd20 ffff8801dac00640 0000000000000000 [ 23.221131] page dumped because: kasan: bad access detected [ 23.221133] [ 23.221135] Memory state around the buggy address: [ 23.221141] ffff8801d9677b80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 23.221146] ffff8801d9677c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.221150] >ffff8801d9677c80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 23.221153] ^ [ 23.221158] ffff8801d9677d00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 23.221163] ffff8801d9677d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.221165] ================================================================== [ 23.221168] Disabling lock debugging due to kernel taint [ 23.221183] Kernel panic - not syncing: panic_on_warn set ... [ 23.221183] [ 23.221190] CPU: 1 PID: 3506 Comm: syzkaller065667 Tainted: G B 4.15.0-rc7-next-20180112+ #95 [ 23.221193] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 23.221195] Call Trace: [ 23.221201] dump_stack+0x194/0x257 [ 23.221209] ? arch_local_irq_restore+0x53/0x53 [ 23.221215] ? kasan_end_report+0x32/0x50 [ 23.221222] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.221229] ? vsnprintf+0x1ed/0x1900 [ 23.221236] ? rb_next_postorder+0xf0/0x140 [ 23.221246] panic+0x1e4/0x41c [ 23.221252] ? refcount_error_report+0x214/0x214 [ 23.221262] ? add_taint+0x1c/0x50 [ 23.221269] ? add_taint+0x1c/0x50 [ 23.221277] ? rb_first_postorder+0x7c/0xa0 [ 23.221284] kasan_end_report+0x50/0x50 [ 23.221290] kasan_report+0x148/0x360 [ 23.221299] __asan_report_load8_noabort+0x14/0x20 [ 23.221306] rb_first_postorder+0x7c/0xa0 [ 23.221313] tipc_group_join+0x120/0x2d0 [ 23.221322] ? tipc_group_update_member+0x740/0x740 [ 23.221327] ? tipc_sk_publish+0x388/0x4b0 [ 23.221340] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 23.221350] tipc_setsockopt+0x67e/0xcc0 [ 23.221359] ? tipc_sk_leave+0x200/0x200 [ 23.221374] ? security_socket_setsockopt+0x89/0xb0 [ 23.221384] SyS_setsockopt+0x189/0x360 [ 23.221394] ? SyS_recv+0x40/0x40 [ 23.221401] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 23.221410] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.221417] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.221428] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 23.221432] RIP: 0033:0x43fcb9 [ 23.221435] RSP: 002b:00007fff34310b28 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 23.221441] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 23.221445] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 23.221448] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 23.221452] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 23.221455] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 23.241765] Dumping ftrace buffer: [ 23.241770] (ftrace buffer empty) [ 23.241772] Kernel Offset: disabled [ 23.834608] Rebooting in 86400 seconds..