[....] Starting enhanced syslogd: rsyslogd[ 12.150073] audit: type=1400 audit(1515638574.504: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 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.708587] audit: type=1400 audit(1515638579.063: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.18' (ECDSA) to the list of known hosts. executing program [ 22.954914] audit: type=1400 audit(1515638585.309:7): avc: denied { map } for pid=3501 comm="syzkaller653815" path="/root/syzkaller653815762" 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.959825] ================================================================== [ 22.959847] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 22.959853] Read of size 8 at addr ffff8801d97539c0 by task syzkaller653815/3501 [ 22.959855] [ 22.959863] CPU: 0 PID: 3501 Comm: syzkaller653815 Not tainted 4.15.0-rc7+ #182 [ 22.959867] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.959870] Call Trace: [ 22.959878] dump_stack+0x194/0x257 [ 22.959891] ? arch_local_irq_restore+0x53/0x53 [ 22.959901] ? show_regs_print_info+0x18/0x18 [ 22.959915] ? mark_held_locks+0xaf/0x100 [ 22.959924] ? rb_first_postorder+0x7c/0xa0 [ 22.959936] print_address_description+0x73/0x250 [ 22.959945] ? rb_first_postorder+0x7c/0xa0 [ 22.959955] kasan_report+0x25b/0x340 [ 22.959970] __asan_report_load8_noabort+0x14/0x20 [ 22.959977] rb_first_postorder+0x7c/0xa0 [ 22.959988] tipc_group_join+0x120/0x2d0 [ 22.960004] ? tipc_group_update_member+0x740/0x740 [ 22.960011] ? tipc_sk_publish+0x388/0x4b0 [ 22.960031] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 22.960050] tipc_setsockopt+0x67e/0xcc0 [ 22.960065] ? tipc_sk_leave+0x200/0x200 [ 22.960092] ? security_socket_setsockopt+0x89/0xb0 [ 22.960108] SyS_setsockopt+0x189/0x360 [ 22.960122] ? SyS_recv+0x40/0x40 [ 22.960133] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 22.960144] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.960155] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.960173] entry_SYSCALL_64_fastpath+0x23/0x9a [ 22.960179] RIP: 0033:0x43fcb9 [ 22.960183] RSP: 002b:00007ffdfdab1018 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 22.960191] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 22.960194] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 22.960198] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 22.960202] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 22.960206] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 22.960234] [ 22.960237] Allocated by task 3501: [ 22.960244] save_stack+0x43/0xd0 [ 22.960249] kasan_kmalloc+0xad/0xe0 [ 22.960255] kmem_cache_alloc_trace+0x136/0x750 [ 22.960260] tipc_group_create+0x144/0x900 [ 22.960266] tipc_setsockopt+0x274/0xcc0 [ 22.960272] SyS_setsockopt+0x189/0x360 [ 22.960278] entry_SYSCALL_64_fastpath+0x23/0x9a [ 22.960279] [ 22.960282] Freed by task 3501: [ 22.960287] save_stack+0x43/0xd0 [ 22.960293] kasan_slab_free+0x71/0xc0 [ 22.960298] kfree+0xd6/0x260 [ 22.960303] tipc_group_delete+0x2c8/0x3d0 [ 22.960309] tipc_setsockopt+0xba3/0xcc0 [ 22.960315] SyS_setsockopt+0x189/0x360 [ 22.960320] entry_SYSCALL_64_fastpath+0x23/0x9a [ 22.960322] [ 22.960326] The buggy address belongs to the object at ffff8801d97539c0 [ 22.960326] which belongs to the cache kmalloc-128 of size 128 [ 22.960332] The buggy address is located 0 bytes inside of [ 22.960332] 128-byte region [ffff8801d97539c0, ffff8801d9753a40) [ 22.960334] The buggy address belongs to the page: [ 22.960340] page:ffffea000765d4c0 count:1 mapcount:0 mapping:ffff8801d9753000 index:0x0 [ 22.960346] flags: 0x2fffc0000000100(slab) [ 22.960355] raw: 02fffc0000000100 ffff8801d9753000 0000000000000000 0000000100000015 [ 22.960362] raw: ffffea000765d460 ffffea0007649d60 ffff8801dac00640 0000000000000000 [ 22.960365] page dumped because: kasan: bad access detected [ 22.960367] [ 22.960369] Memory state around the buggy address: [ 22.960374] ffff8801d9753880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 22.960379] ffff8801d9753900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 22.960384] >ffff8801d9753980: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 22.960387] ^ [ 22.960392] ffff8801d9753a00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 22.960396] ffff8801d9753a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 22.960399] ================================================================== [ 22.960401] Disabling lock debugging due to kernel taint [ 22.960416] Kernel panic - not syncing: panic_on_warn set ... [ 22.960416] [ 22.960423] CPU: 0 PID: 3501 Comm: syzkaller653815 Tainted: G B 4.15.0-rc7+ #182 [ 22.960426] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.960427] Call Trace: [ 22.960433] dump_stack+0x194/0x257 [ 22.960442] ? arch_local_irq_restore+0x53/0x53 [ 22.960447] ? kasan_end_report+0x32/0x50 [ 22.960460] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.960466] ? vsnprintf+0x1ed/0x1900 [ 22.960474] ? rb_next_postorder+0xe0/0x140 [ 22.960481] panic+0x1e4/0x41c [ 22.960488] ? refcount_error_report+0x214/0x214 [ 22.960497] ? add_taint+0x1c/0x50 [ 22.960504] ? add_taint+0x1c/0x50 [ 22.960512] ? rb_first_postorder+0x7c/0xa0 [ 22.960519] kasan_end_report+0x50/0x50 [ 22.960526] kasan_report+0x144/0x340 [ 22.960536] __asan_report_load8_noabort+0x14/0x20 [ 22.960542] rb_first_postorder+0x7c/0xa0 [ 22.960549] tipc_group_join+0x120/0x2d0 [ 22.960558] ? tipc_group_update_member+0x740/0x740 [ 22.960564] ? tipc_sk_publish+0x388/0x4b0 [ 22.960577] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 22.960588] tipc_setsockopt+0x67e/0xcc0 [ 22.960598] ? tipc_sk_leave+0x200/0x200 [ 22.960613] ? security_socket_setsockopt+0x89/0xb0 [ 22.960623] SyS_setsockopt+0x189/0x360 [ 22.960633] ? SyS_recv+0x40/0x40 [ 22.960640] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 22.960648] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 22.960656] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 22.960667] entry_SYSCALL_64_fastpath+0x23/0x9a [ 22.960671] RIP: 0033:0x43fcb9 [ 22.960674] RSP: 002b:00007ffdfdab1018 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 22.960680] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 22.960683] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 22.960687] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 22.960690] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 22.960693] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 22.981196] Dumping ftrace buffer: [ 22.981200] (ftrace buffer empty) [ 22.981202] Kernel Offset: disabled [ 23.567356] Rebooting in 86400 seconds..