[....] Starting enhanced syslogd: rsyslogd[ 12.425571] audit: type=1400 audit(1515873837.570:5): avc: denied { syslog } for pid=3517 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.285508] audit: type=1400 audit(1515873843.430:6): avc: denied { map } for pid=3657 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.223' (ECDSA) to the list of known hosts. executing program [ 47.240168] audit: type=1400 audit(1515873872.384:7): avc: denied { map } for pid=3674 comm="syzkaller573302" path="/root/syzkaller573302694" 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 [ 47.244547] ================================================================== [ 47.244567] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 47.244571] Read of size 8 at addr ffff8801d7cf7600 by task syzkaller573302/3674 [ 47.244573] [ 47.244579] CPU: 1 PID: 3674 Comm: syzkaller573302 Not tainted 4.15.0-rc7-next-20180112+ #96 [ 47.244582] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.244584] Call Trace: [ 47.244595] dump_stack+0x194/0x257 [ 47.244603] ? arch_local_irq_restore+0x53/0x53 [ 47.244610] ? show_regs_print_info+0x18/0x18 [ 47.244620] ? mark_held_locks+0xaf/0x100 [ 47.244625] ? rb_first_postorder+0x7c/0xa0 [ 47.244633] print_address_description+0x73/0x250 [ 47.244637] ? rb_first_postorder+0x7c/0xa0 [ 47.244643] kasan_report+0x23b/0x360 [ 47.244652] __asan_report_load8_noabort+0x14/0x20 [ 47.244656] rb_first_postorder+0x7c/0xa0 [ 47.244666] tipc_group_join+0x120/0x2d0 [ 47.244674] ? tipc_group_update_member+0x740/0x740 [ 47.244678] ? tipc_sk_publish+0x388/0x4b0 [ 47.244693] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 47.244703] tipc_setsockopt+0x67e/0xcc0 [ 47.244712] ? tipc_sk_leave+0x200/0x200 [ 47.244731] ? security_socket_setsockopt+0x89/0xb0 [ 47.244743] SyS_setsockopt+0x189/0x360 [ 47.244752] ? SyS_recv+0x40/0x40 [ 47.244761] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 47.244768] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 47.244778] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 47.244790] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 47.244794] RIP: 0033:0x43fcb9 [ 47.244797] RSP: 002b:00007ffec898cd98 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 47.244802] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 47.244805] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 47.244808] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 47.244810] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 47.244812] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 47.244829] [ 47.244832] Allocated by task 3674: [ 47.244839] save_stack+0x43/0xd0 [ 47.244843] kasan_kmalloc+0xad/0xe0 [ 47.244847] kmem_cache_alloc_trace+0x136/0x750 [ 47.244850] tipc_group_create+0x144/0x900 [ 47.244854] tipc_setsockopt+0x274/0xcc0 [ 47.244857] SyS_setsockopt+0x189/0x360 [ 47.244861] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 47.244862] [ 47.244864] Freed by task 3674: [ 47.244867] save_stack+0x43/0xd0 [ 47.244871] __kasan_slab_free+0x11a/0x170 [ 47.244874] kasan_slab_free+0xe/0x10 [ 47.244878] kfree+0xd9/0x260 [ 47.244881] tipc_group_delete+0x2c8/0x3d0 [ 47.244884] tipc_setsockopt+0xba3/0xcc0 [ 47.244888] SyS_setsockopt+0x189/0x360 [ 47.244892] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 47.244893] [ 47.244896] The buggy address belongs to the object at ffff8801d7cf7600 [ 47.244896] which belongs to the cache kmalloc-128 of size 128 [ 47.244899] The buggy address is located 0 bytes inside of [ 47.244899] 128-byte region [ffff8801d7cf7600, ffff8801d7cf7680) [ 47.244901] The buggy address belongs to the page: [ 47.244906] page:ffffea00075f3dc0 count:1 mapcount:0 mapping:ffff8801d7cf7000 index:0xffff8801d7cf7f00 [ 47.244912] flags: 0x2fffc0000000100(slab) [ 47.244918] raw: 02fffc0000000100 ffff8801d7cf7000 ffff8801d7cf7f00 0000000100000013 [ 47.244923] raw: ffffea00075fe820 ffff8801dac01538 ffff8801dac00640 0000000000000000 [ 47.244925] page dumped because: kasan: bad access detected [ 47.244926] [ 47.244927] Memory state around the buggy address: [ 47.244931] ffff8801d7cf7500: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 47.244934] ffff8801d7cf7580: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 47.244937] >ffff8801d7cf7600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 47.244939] ^ [ 47.244941] ffff8801d7cf7680: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 47.244944] ffff8801d7cf7700: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 47.244946] ================================================================== [ 47.244948] Disabling lock debugging due to kernel taint [ 47.244951] Kernel panic - not syncing: panic_on_warn set ... [ 47.244951] [ 47.244955] CPU: 1 PID: 3674 Comm: syzkaller573302 Tainted: G B 4.15.0-rc7-next-20180112+ #96 [ 47.244957] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.244958] Call Trace: [ 47.244962] dump_stack+0x194/0x257 [ 47.244968] ? arch_local_irq_restore+0x53/0x53 [ 47.244972] ? kasan_end_report+0x32/0x50 [ 47.244977] ? lock_downgrade+0x980/0x980 [ 47.244982] ? vsnprintf+0x1ed/0x1900 [ 47.244987] ? rb_next_postorder+0xc0/0x140 [ 47.244994] panic+0x1e4/0x41c [ 47.244998] ? refcount_error_report+0x214/0x214 [ 47.245009] ? add_taint+0x40/0x50 [ 47.245013] ? add_taint+0x1c/0x50 [ 47.245018] ? rb_first_postorder+0x7c/0xa0 [ 47.245022] kasan_end_report+0x50/0x50 [ 47.245026] kasan_report+0x148/0x360 [ 47.245032] __asan_report_load8_noabort+0x14/0x20 [ 47.245035] rb_first_postorder+0x7c/0xa0 [ 47.245040] tipc_group_join+0x120/0x2d0 [ 47.245050] ? tipc_group_update_member+0x740/0x740 [ 47.245053] ? tipc_sk_publish+0x388/0x4b0 [ 47.245061] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 47.245068] tipc_setsockopt+0x67e/0xcc0 [ 47.245074] ? tipc_sk_leave+0x200/0x200 [ 47.245083] ? security_socket_setsockopt+0x89/0xb0 [ 47.245089] SyS_setsockopt+0x189/0x360 [ 47.245095] ? SyS_recv+0x40/0x40 [ 47.245100] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 47.245106] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 47.245110] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 47.245118] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 47.245120] RIP: 0033:0x43fcb9 [ 47.245122] RSP: 002b:00007ffec898cd98 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 47.245126] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 47.245128] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 47.245130] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 47.245132] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 47.245134] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 47.266468] Dumping ftrace buffer: [ 47.266473] (ftrace buffer empty) [ 47.266475] Kernel Offset: disabled [ 47.859242] Rebooting in 86400 seconds..