[....] Starting enhanced syslogd: rsyslogd[ 12.976253] audit: type=1400 audit(1516062326.624:5): avc: denied { syslog } for pid=3526 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.809960] audit: type=1400 audit(1516062332.457:6): avc: denied { map } for pid=3665 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 [ 25.159424] audit: type=1400 audit(1516062338.807:7): avc: denied { map } for pid=3679 comm="syzkaller439266" path="/root/syzkaller439266254" 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 [ 25.163862] ================================================================== [ 25.163889] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 25.163896] Read of size 8 at addr ffff8801dad619c0 by task syzkaller439266/3679 [ 25.163898] [ 25.163908] CPU: 1 PID: 3679 Comm: syzkaller439266 Not tainted 4.15.0-rc7-next-20180115+ #97 [ 25.163912] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.163915] Call Trace: [ 25.163928] dump_stack+0x194/0x257 [ 25.163942] ? arch_local_irq_restore+0x53/0x53 [ 25.163951] ? show_regs_print_info+0x18/0x18 [ 25.163967] ? mark_held_locks+0xaf/0x100 [ 25.163975] ? rb_first_postorder+0x7c/0xa0 [ 25.163986] print_address_description+0x73/0x250 [ 25.163994] ? rb_first_postorder+0x7c/0xa0 [ 25.164008] kasan_report+0x23b/0x360 [ 25.164023] __asan_report_load8_noabort+0x14/0x20 [ 25.164030] rb_first_postorder+0x7c/0xa0 [ 25.164042] tipc_group_join+0x120/0x2d0 [ 25.164055] ? tipc_group_update_member+0x740/0x740 [ 25.164061] ? tipc_sk_publish+0x388/0x4b0 [ 25.164081] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 25.164100] tipc_setsockopt+0x67e/0xcc0 [ 25.164115] ? tipc_sk_leave+0x200/0x200 [ 25.164142] ? security_socket_setsockopt+0x89/0xb0 [ 25.164160] SyS_setsockopt+0x189/0x360 [ 25.164175] ? SyS_recv+0x40/0x40 [ 25.164188] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 25.164200] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.164211] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.164230] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.164237] RIP: 0033:0x43fca9 [ 25.164241] RSP: 002b:00007ffe76d1f6f8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 25.164249] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fca9 [ 25.164254] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 25.164257] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000000000 [ 25.164262] R10: 0000000020265000 R11: 0000000000000203 R12: 0000000000401610 [ 25.164265] R13: 00000000004016a0 R14: 0000000000000000 R15: 0000000000000000 [ 25.164294] [ 25.164297] Allocated by task 3679: [ 25.164305] save_stack+0x43/0xd0 [ 25.164311] kasan_kmalloc+0xad/0xe0 [ 25.164317] kmem_cache_alloc_trace+0x136/0x750 [ 25.164322] tipc_group_create+0x144/0x900 [ 25.164334] tipc_setsockopt+0x274/0xcc0 [ 25.164340] SyS_setsockopt+0x189/0x360 [ 25.164346] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.164348] [ 25.164350] Freed by task 3679: [ 25.164356] save_stack+0x43/0xd0 [ 25.164362] __kasan_slab_free+0x11a/0x170 [ 25.164368] kasan_slab_free+0xe/0x10 [ 25.164374] kfree+0xd9/0x260 [ 25.164379] tipc_group_delete+0x2c8/0x3d0 [ 25.164385] tipc_setsockopt+0xba3/0xcc0 [ 25.164391] SyS_setsockopt+0x189/0x360 [ 25.164397] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.164398] [ 25.164403] The buggy address belongs to the object at ffff8801dad619c0 [ 25.164403] which belongs to the cache kmalloc-128 of size 128 [ 25.164409] The buggy address is located 0 bytes inside of [ 25.164409] 128-byte region [ffff8801dad619c0, ffff8801dad61a40) [ 25.164411] The buggy address belongs to the page: [ 25.164418] page:ffffea00076b5840 count:1 mapcount:0 mapping:ffff8801dad61000 index:0x0 [ 25.164425] flags: 0x2fffc0000000100(slab) [ 25.164435] raw: 02fffc0000000100 ffff8801dad61000 0000000000000000 0000000100000015 [ 25.164442] raw: ffffea000761e1a0 ffff8801dac01548 ffff8801dac00640 0000000000000000 [ 25.164445] page dumped because: kasan: bad access detected [ 25.164447] [ 25.164449] Memory state around the buggy address: [ 25.164454] ffff8801dad61880: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 25.164459] ffff8801dad61900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.164464] >ffff8801dad61980: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 25.164467] ^ [ 25.164473] ffff8801dad61a00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 25.164477] ffff8801dad61a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.164480] ================================================================== [ 25.164482] Disabling lock debugging due to kernel taint [ 25.164500] Kernel panic - not syncing: panic_on_warn set ... [ 25.164500] [ 25.164506] CPU: 1 PID: 3679 Comm: syzkaller439266 Tainted: G B 4.15.0-rc7-next-20180115+ #97 [ 25.164509] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.164511] Call Trace: [ 25.164518] dump_stack+0x194/0x257 [ 25.164527] ? arch_local_irq_restore+0x53/0x53 [ 25.164533] ? kasan_end_report+0x32/0x50 [ 25.164541] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.164549] ? vsnprintf+0x1ed/0x1900 [ 25.164556] ? rb_next_postorder+0xe0/0x140 [ 25.164565] panic+0x1e4/0x41c [ 25.164572] ? refcount_error_report+0x214/0x214 [ 25.164582] ? add_taint+0x1c/0x50 [ 25.164589] ? add_taint+0x1c/0x50 [ 25.164597] ? rb_first_postorder+0x7c/0xa0 [ 25.164604] kasan_end_report+0x50/0x50 [ 25.164611] kasan_report+0x148/0x360 [ 25.164620] __asan_report_load8_noabort+0x14/0x20 [ 25.164626] rb_first_postorder+0x7c/0xa0 [ 25.164634] tipc_group_join+0x120/0x2d0 [ 25.164643] ? tipc_group_update_member+0x740/0x740 [ 25.164648] ? tipc_sk_publish+0x388/0x4b0 [ 25.164661] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 25.164672] tipc_setsockopt+0x67e/0xcc0 [ 25.164681] ? tipc_sk_leave+0x200/0x200 [ 25.164696] ? security_socket_setsockopt+0x89/0xb0 [ 25.164706] SyS_setsockopt+0x189/0x360 [ 25.164716] ? SyS_recv+0x40/0x40 [ 25.164724] ? entry_SYSCALL_64_fastpath+0x5/0xa0 [ 25.164733] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.164740] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.164753] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.164757] RIP: 0033:0x43fca9 [ 25.164760] RSP: 002b:00007ffe76d1f6f8 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 25.164766] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fca9 [ 25.164769] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 25.164773] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000000000 [ 25.164776] R10: 0000000020265000 R11: 0000000000000203 R12: 0000000000401610 [ 25.164780] R13: 00000000004016a0 R14: 0000000000000000 R15: 0000000000000000 [ 25.185816] Dumping ftrace buffer: [ 25.185821] (ftrace buffer empty) [ 25.185824] Kernel Offset: disabled [ 25.779251] Rebooting in 86400 seconds..