[....] Starting enhanced syslogd: rsyslogd[ 12.782628] audit: type=1400 audit(1515534315.195:5): avc: denied { syslog } for pid=3340 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: [ 18.050178] audit: type=1400 audit(1515534320.462:6): avc: denied { map } for pid=3480 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.213' (ECDSA) to the list of known hosts. executing program [ 24.309528] audit: type=1400 audit(1515534326.722:7): avc: denied { map } for pid=3495 comm="syzkaller785641" path="/root/syzkaller785641882" 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.313599] ================================================================== [ 24.313622] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 24.313628] Read of size 8 at addr ffff8801d9929c00 by task syzkaller785641/3495 [ 24.313630] [ 24.313638] CPU: 0 PID: 3495 Comm: syzkaller785641 Not tainted 4.15.0-rc7+ #181 [ 24.313642] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.313652] Call Trace: [ 24.313661] dump_stack+0x194/0x257 [ 24.313673] ? arch_local_irq_restore+0x53/0x53 [ 24.313684] ? show_regs_print_info+0x18/0x18 [ 24.313699] ? mark_held_locks+0xaf/0x100 [ 24.313708] ? rb_first_postorder+0x7c/0xa0 [ 24.313721] print_address_description+0x73/0x250 [ 24.313729] ? rb_first_postorder+0x7c/0xa0 [ 24.313738] kasan_report+0x25b/0x340 [ 24.313754] __asan_report_load8_noabort+0x14/0x20 [ 24.313761] rb_first_postorder+0x7c/0xa0 [ 24.313772] tipc_group_join+0x120/0x2d0 [ 24.313784] ? tipc_group_update_member+0x740/0x740 [ 24.313792] ? tipc_sk_publish+0x388/0x4b0 [ 24.313812] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.313830] tipc_setsockopt+0x67e/0xcc0 [ 24.313845] ? tipc_sk_leave+0x200/0x200 [ 24.313871] ? security_socket_setsockopt+0x89/0xb0 [ 24.313887] SyS_setsockopt+0x189/0x360 [ 24.313902] ? SyS_recv+0x40/0x40 [ 24.313912] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 24.313923] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.313935] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.313953] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.313960] RIP: 0033:0x43fca9 [ 24.313963] RSP: 002b:00007ffe286872e8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 24.313971] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fca9 [ 24.313975] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.313979] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000000000 [ 24.313983] R10: 0000000020540ff0 R11: 0000000000000203 R12: 0000000000401610 [ 24.313986] R13: 00000000004016a0 R14: 0000000000000000 R15: 0000000000000000 [ 24.314017] [ 24.314021] Allocated by task 3495: [ 24.314028] save_stack+0x43/0xd0 [ 24.314034] kasan_kmalloc+0xad/0xe0 [ 24.314039] kmem_cache_alloc_trace+0x136/0x750 [ 24.314045] tipc_group_create+0x144/0x900 [ 24.314051] tipc_setsockopt+0x274/0xcc0 [ 24.314056] SyS_setsockopt+0x189/0x360 [ 24.314062] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.314064] [ 24.314066] Freed by task 3495: [ 24.314072] save_stack+0x43/0xd0 [ 24.314077] kasan_slab_free+0x71/0xc0 [ 24.314082] kfree+0xd6/0x260 [ 24.314087] tipc_group_delete+0x2c8/0x3d0 [ 24.314093] tipc_setsockopt+0xba3/0xcc0 [ 24.314099] SyS_setsockopt+0x189/0x360 [ 24.314104] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.314106] [ 24.314110] The buggy address belongs to the object at ffff8801d9929c00 [ 24.314110] which belongs to the cache kmalloc-128 of size 128 [ 24.314116] The buggy address is located 0 bytes inside of [ 24.314116] 128-byte region [ffff8801d9929c00, ffff8801d9929c80) [ 24.314118] The buggy address belongs to the page: [ 24.314123] page:ffffea0007664a40 count:1 mapcount:0 mapping:ffff8801d9929000 index:0x0 [ 24.314129] flags: 0x2fffc0000000100(slab) [ 24.314139] raw: 02fffc0000000100 ffff8801d9929000 0000000000000000 0000000100000015 [ 24.314146] raw: ffffea0007660ca0 ffffea0007665020 ffff8801dac00640 0000000000000000 [ 24.314149] page dumped because: kasan: bad access detected [ 24.314151] [ 24.314153] Memory state around the buggy address: [ 24.314158] ffff8801d9929b00: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 24.314163] ffff8801d9929b80: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 24.314168] >ffff8801d9929c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.314170] ^ [ 24.314175] ffff8801d9929c80: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 24.314179] ffff8801d9929d00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 24.314182] ================================================================== [ 24.314184] Disabling lock debugging due to kernel taint [ 24.314199] Kernel panic - not syncing: panic_on_warn set ... [ 24.314199] [ 24.314206] CPU: 0 PID: 3495 Comm: syzkaller785641 Tainted: G B 4.15.0-rc7+ #181 [ 24.314209] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.314211] Call Trace: [ 24.314217] dump_stack+0x194/0x257 [ 24.314225] ? arch_local_irq_restore+0x53/0x53 [ 24.314231] ? kasan_end_report+0x32/0x50 [ 24.314239] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.314245] ? vsnprintf+0x1ed/0x1900 [ 24.314253] ? rb_first_postorder+0x20/0xa0 [ 24.314260] panic+0x1e4/0x41c [ 24.314267] ? refcount_error_report+0x214/0x214 [ 24.314276] ? add_taint+0x1c/0x50 [ 24.314283] ? add_taint+0x1c/0x50 [ 24.314291] ? rb_first_postorder+0x7c/0xa0 [ 24.314298] kasan_end_report+0x50/0x50 [ 24.314305] kasan_report+0x144/0x340 [ 24.314315] __asan_report_load8_noabort+0x14/0x20 [ 24.314322] rb_first_postorder+0x7c/0xa0 [ 24.314329] tipc_group_join+0x120/0x2d0 [ 24.314337] ? tipc_group_update_member+0x740/0x740 [ 24.314343] ? tipc_sk_publish+0x388/0x4b0 [ 24.314356] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.314367] tipc_setsockopt+0x67e/0xcc0 [ 24.314377] ? tipc_sk_leave+0x200/0x200 [ 24.314392] ? security_socket_setsockopt+0x89/0xb0 [ 24.314402] SyS_setsockopt+0x189/0x360 [ 24.314412] ? SyS_recv+0x40/0x40 [ 24.314419] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 24.314427] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.314434] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.314446] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.314450] RIP: 0033:0x43fca9 [ 24.314453] RSP: 002b:00007ffe286872e8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 24.314459] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fca9 [ 24.314462] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.314465] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000000000 [ 24.314469] R10: 0000000020540ff0 R11: 0000000000000203 R12: 0000000000401610 [ 24.314472] R13: 00000000004016a0 R14: 0000000000000000 R15: 0000000000000000 [ 24.335840] Dumping ftrace buffer: [ 24.335845] (ftrace buffer empty) [ 24.335847] Kernel Offset: disabled [ 24.920660] Rebooting in 86400 seconds..