[....] Starting enhanced syslogd: rsyslogd[ 12.234019] audit: type=1400 audit(1515639211.500:5): avc: denied { syslog } for pid=3346 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.096136] audit: type=1400 audit(1515639217.362: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.15.205' (ECDSA) to the list of known hosts. executing program [ 24.335366] audit: type=1400 audit(1515639223.602:7): avc: denied { map } for pid=3500 comm="syzkaller109172" path="/root/syzkaller109172197" 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.340463] ================================================================== [ 24.340483] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 24.340490] Read of size 8 at addr ffff8801d94259c0 by task syzkaller109172/3500 [ 24.340492] [ 24.340500] CPU: 0 PID: 3500 Comm: syzkaller109172 Not tainted 4.15.0-rc7-next-20180110+ #93 [ 24.340504] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.340507] Call Trace: [ 24.340516] dump_stack+0x194/0x257 [ 24.340528] ? arch_local_irq_restore+0x53/0x53 [ 24.340536] ? show_regs_print_info+0x18/0x18 [ 24.340551] ? mark_held_locks+0xaf/0x100 [ 24.340559] ? rb_first_postorder+0x7c/0xa0 [ 24.340572] print_address_description+0x73/0x250 [ 24.340581] ? rb_first_postorder+0x7c/0xa0 [ 24.340590] kasan_report+0x23b/0x360 [ 24.340604] __asan_report_load8_noabort+0x14/0x20 [ 24.340611] rb_first_postorder+0x7c/0xa0 [ 24.340622] tipc_group_join+0x120/0x2d0 [ 24.340634] ? tipc_group_update_member+0x740/0x740 [ 24.340641] ? tipc_sk_publish+0x388/0x4b0 [ 24.340661] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.340678] tipc_setsockopt+0x67e/0xcc0 [ 24.340692] ? tipc_sk_leave+0x200/0x200 [ 24.340717] ? security_socket_setsockopt+0x89/0xb0 [ 24.340735] SyS_setsockopt+0x189/0x360 [ 24.340750] ? SyS_recv+0x40/0x40 [ 24.340760] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.340772] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.340783] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.340801] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.340806] RIP: 0033:0x43fcb9 [ 24.340810] RSP: 002b:00007fff24c65af8 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.340818] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.340822] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.340827] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.340832] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.340836] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.340863] [ 24.340866] Allocated by task 3500: [ 24.340873] save_stack+0x43/0xd0 [ 24.340878] kasan_kmalloc+0xad/0xe0 [ 24.340884] kmem_cache_alloc_trace+0x136/0x750 [ 24.340890] tipc_group_create+0x144/0x900 [ 24.340894] tipc_setsockopt+0x274/0xcc0 [ 24.340900] SyS_setsockopt+0x189/0x360 [ 24.340906] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.340907] [ 24.340910] Freed by task 3500: [ 24.340916] save_stack+0x43/0xd0 [ 24.340922] __kasan_slab_free+0x11a/0x170 [ 24.340927] kasan_slab_free+0xe/0x10 [ 24.340932] kfree+0xd9/0x260 [ 24.340937] tipc_group_delete+0x2c8/0x3d0 [ 24.340942] tipc_setsockopt+0xba3/0xcc0 [ 24.340948] SyS_setsockopt+0x189/0x360 [ 24.340954] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.340955] [ 24.340960] The buggy address belongs to the object at ffff8801d94259c0 [ 24.340960] which belongs to the cache kmalloc-128 of size 128 [ 24.340965] The buggy address is located 0 bytes inside of [ 24.340965] 128-byte region [ffff8801d94259c0, ffff8801d9425a40) [ 24.340967] The buggy address belongs to the page: [ 24.340973] page:ffffea0007650940 count:1 mapcount:0 mapping:ffff8801d9425000 index:0x0 [ 24.340979] flags: 0x2fffc0000000100(slab) [ 24.340988] raw: 02fffc0000000100 ffff8801d9425000 0000000000000000 0000000100000015 [ 24.340995] raw: ffff8801dac01548 ffffea0007650a20 ffff8801dac00640 0000000000000000 [ 24.340999] page dumped because: kasan: bad access detected [ 24.341003] [ 24.341006] Memory state around the buggy address: [ 24.341011] ffff8801d9425880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.341016] ffff8801d9425900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.341021] >ffff8801d9425980: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 24.341024] ^ [ 24.341029] ffff8801d9425a00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.341034] ffff8801d9425a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.341036] ================================================================== [ 24.341039] Disabling lock debugging due to kernel taint [ 24.341057] Kernel panic - not syncing: panic_on_warn set ... [ 24.341057] [ 24.341064] CPU: 0 PID: 3500 Comm: syzkaller109172 Tainted: G B 4.15.0-rc7-next-20180110+ #93 [ 24.341067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.341069] Call Trace: [ 24.341075] dump_stack+0x194/0x257 [ 24.341084] ? arch_local_irq_restore+0x53/0x53 [ 24.341090] ? kasan_end_report+0x32/0x50 [ 24.341098] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.341105] ? vsnprintf+0x1ed/0x1900 [ 24.341113] ? rb_first_postorder+0x40/0xa0 [ 24.341121] panic+0x1e4/0x41c [ 24.341128] ? refcount_error_report+0x214/0x214 [ 24.341137] ? add_taint+0x1c/0x50 [ 24.341144] ? add_taint+0x1c/0x50 [ 24.341153] ? rb_first_postorder+0x7c/0xa0 [ 24.341160] kasan_end_report+0x50/0x50 [ 24.341166] kasan_report+0x148/0x360 [ 24.341175] __asan_report_load8_noabort+0x14/0x20 [ 24.341182] rb_first_postorder+0x7c/0xa0 [ 24.341189] tipc_group_join+0x120/0x2d0 [ 24.341198] ? tipc_group_update_member+0x740/0x740 [ 24.341204] ? tipc_sk_publish+0x388/0x4b0 [ 24.341216] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.341227] tipc_setsockopt+0x67e/0xcc0 [ 24.341236] ? tipc_sk_leave+0x200/0x200 [ 24.341251] ? security_socket_setsockopt+0x89/0xb0 [ 24.341261] SyS_setsockopt+0x189/0x360 [ 24.341271] ? SyS_recv+0x40/0x40 [ 24.341278] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 24.341287] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.341294] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.341306] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.341310] RIP: 0033:0x43fcb9 [ 24.341313] RSP: 002b:00007fff24c65af8 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.341319] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.341322] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.341326] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.341329] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.341333] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.361646] Dumping ftrace buffer: [ 24.361650] (ftrace buffer empty) [ 24.361652] Kernel Offset: disabled [ 24.953822] Rebooting in 86400 seconds..