[....] Starting enhanced syslogd: rsyslogd[ 10.985711] audit: type=1400 audit(1515422857.710:5): avc: denied { syslog } for pid=3307 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: [ 17.279539] audit: type=1400 audit(1515422864.004:6): avc: denied { map } for pid=3446 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.240' (ECDSA) to the list of known hosts. [ 23.953416] audit: type=1400 audit(1515422870.678:7): avc: denied { map } for pid=3461 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16479 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2018/01/08 14:47:50 parsed 1 programs 2018/01/08 14:47:50 executed programs: 0 [ 24.076997] audit: type=1400 audit(1515422870.801:8): avc: denied { map } for pid=3461 comm="syz-execprog" path="/root/syzkaller-shm615957951" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 2018/01/08 14:47:55 executed programs: 1392 [ 29.071463] ================================================================== [ 29.078883] BUG: KASAN: use-after-free in tipc_group_size+0x40/0x50 [ 29.085264] Read of size 2 at addr ffff8801cfb99780 by task syz-executor6/7641 [ 29.092603] [ 29.094220] CPU: 0 PID: 7641 Comm: syz-executor6 Not tainted 4.15.0-rc6-next-20180108+ #90 [ 29.102600] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.111937] Call Trace: [ 29.114515] dump_stack+0x137/0x198 [ 29.118134] ? tipc_group_size+0x40/0x50 [ 29.122192] print_address_description+0x73/0x250 [ 29.127023] ? tipc_group_size+0x40/0x50 [ 29.131073] kasan_report+0x23b/0x360 [ 29.134864] __asan_report_load2_noabort+0x14/0x20 [ 29.139781] tipc_group_size+0x40/0x50 [ 29.143646] tipc_poll+0x2bc/0x400 [ 29.147173] sock_poll+0xf9/0x220 [ 29.150797] do_sys_poll+0x540/0xc80 [ 29.154497] ? sock_ioctl+0x440/0x440 [ 29.158278] ? compat_core_sys_select+0x620/0x620 [ 29.163112] ? mmdrop+0x18/0x30 [ 29.166383] ? futex_wake+0x13e/0x430 [ 29.170185] ? lru_cache_add+0xd9/0x1e0 [ 29.174133] ? exit_robust_list+0x240/0x240 [ 29.178424] ? __handle_mm_fault+0x647/0x3210 [ 29.182886] ? check_noncircular+0x20/0x20 [ 29.187092] ? __pmd_alloc+0x4e0/0x4e0 [ 29.190953] ? find_held_lock+0x35/0x1e0 [ 29.194988] ? __do_page_fault+0x5cc/0xca0 [ 29.199189] ? lock_downgrade+0x860/0x860 [ 29.203314] ? SyS_futex+0x1fd/0x2b0 [ 29.207005] SyS_poll+0x10d/0x3e0 [ 29.210429] ? SyS_poll+0x10d/0x3e0 [ 29.214029] ? SyS_pselect6+0x4a0/0x4a0 [ 29.217971] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.225045] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 29.231865] entry_SYSCALL_64_fastpath+0x23/0x9a [ 29.237280] RIP: 0033:0x452ac9 [ 29.240435] RSP: 002b:00007fe931bf3c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000007 [ 29.248110] RAX: ffffffffffffffda RBX: 000000000071bf58 RCX: 0000000000452ac9 [ 29.255349] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020fa2ff8 [ 29.262585] RBP: 0000000000000567 R08: 0000000000000000 R09: 0000000000000000 [ 29.269819] R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6248 [ 29.277055] R13: 00000000ffffffff R14: 00007fe931bf46d4 R15: 0000000000000002 [ 29.284304] [ 29.285902] Allocated by task 7636: [ 29.289498] save_stack+0x43/0xd0 [ 29.292918] kasan_kmalloc+0xad/0xe0 [ 29.296596] kmem_cache_alloc_trace+0x136/0x750 [ 29.301232] tipc_group_create+0x84/0x7d0 [ 29.305347] tipc_setsockopt+0x201/0x9d0 [ 29.309373] SyS_setsockopt+0x158/0x240 [ 29.313311] entry_SYSCALL_64_fastpath+0x23/0x9a [ 29.318030] [ 29.319624] Freed by task 7636: [ 29.322869] save_stack+0x43/0xd0 [ 29.326289] __kasan_slab_free+0x11a/0x170 [ 29.330487] kasan_slab_free+0xe/0x10 [ 29.334251] kfree+0xd9/0x260 [ 29.337336] tipc_group_delete+0x21d/0x300 [ 29.341537] tipc_setsockopt+0x8df/0x9d0 [ 29.345654] SyS_setsockopt+0x158/0x240 [ 29.351077] entry_SYSCALL_64_fastpath+0x23/0x9a [ 29.357275] [ 29.358868] The buggy address belongs to the object at ffff8801cfb99700 [ 29.358868] which belongs to the cache kmalloc-192 of size 192 [ 29.371488] The buggy address is located 128 bytes inside of [ 29.371488] 192-byte region [ffff8801cfb99700, ffff8801cfb997c0) [ 29.383324] The buggy address belongs to the page: [ 29.388217] page:ffffea00073ee640 count:1 mapcount:0 mapping:ffff8801cfb99000 index:0x0 [ 29.396329] flags: 0x2fffc0000000100(slab) [ 29.400531] raw: 02fffc0000000100 ffff8801cfb99000 0000000000000000 0000000100000010 [ 29.408378] raw: ffffea000737d620 ffffea0007398ee0 ffff8801db000040 0000000000000000 [ 29.417697] page dumped because: kasan: bad access detected [ 29.423367] [ 29.424959] Memory state around the buggy address: [ 29.429851] ffff8801cfb99680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 29.437173] ffff8801cfb99700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.444495] >ffff8801cfb99780: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 29.451816] ^ [ 29.455146] ffff8801cfb99800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.462469] ffff8801cfb99880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 29.469788] ================================================================== [ 29.477109] Disabling lock debugging due to kernel taint [ 29.482613] Kernel panic - not syncing: panic_on_warn set ... [ 29.482613] [ 29.491956] CPU: 0 PID: 7641 Comm: syz-executor6 Tainted: G B 4.15.0-rc6-next-20180108+ #90 [ 29.502076] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.511659] Call Trace: [ 29.514225] dump_stack+0x137/0x198 [ 29.517822] ? tipc_group_size+0x10/0x50 [ 29.521852] panic+0x1e4/0x41c [ 29.525015] ? refcount_error_report+0x214/0x214 [ 29.529742] ? add_taint+0x1c/0x50 [ 29.533245] ? add_taint+0x1c/0x50 [ 29.536751] ? tipc_group_size+0x40/0x50 [ 29.540777] kasan_end_report+0x50/0x50 [ 29.544716] kasan_report+0x148/0x360 [ 29.548482] __asan_report_load2_noabort+0x14/0x20 [ 29.553378] tipc_group_size+0x40/0x50 [ 29.557228] tipc_poll+0x2bc/0x400 [ 29.560739] sock_poll+0xf9/0x220 [ 29.564160] do_sys_poll+0x540/0xc80 [ 29.567843] ? sock_ioctl+0x440/0x440 [ 29.571610] ? compat_core_sys_select+0x620/0x620 [ 29.576421] ? mmdrop+0x18/0x30 [ 29.579670] ? futex_wake+0x13e/0x430 [ 29.583444] ? lru_cache_add+0xd9/0x1e0 [ 29.587386] ? exit_robust_list+0x240/0x240 [ 29.591671] ? __handle_mm_fault+0x647/0x3210 [ 29.596133] ? check_noncircular+0x20/0x20 [ 29.600334] ? __pmd_alloc+0x4e0/0x4e0 [ 29.604190] ? find_held_lock+0x35/0x1e0 [ 29.608219] ? __do_page_fault+0x5cc/0xca0 [ 29.612419] ? lock_downgrade+0x860/0x860 [ 29.616538] ? SyS_futex+0x1fd/0x2b0 [ 29.620219] SyS_poll+0x10d/0x3e0 [ 29.623637] ? SyS_poll+0x10d/0x3e0 [ 29.627229] ? SyS_pselect6+0x4a0/0x4a0 [ 29.631169] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.636152] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 29.641920] entry_SYSCALL_64_fastpath+0x23/0x9a [ 29.648034] RIP: 0033:0x452ac9 [ 29.651545] RSP: 002b:00007fe931bf3c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000007 [ 29.659215] RAX: ffffffffffffffda RBX: 000000000071bf58 RCX: 0000000000452ac9 [ 29.666451] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020fa2ff8 [ 29.673685] RBP: 0000000000000567 R08: 0000000000000000 R09: 0000000000000000 [ 29.680919] R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6248 [ 29.688153] R13: 00000000ffffffff R14: 00007fe931bf46d4 R15: 0000000000000002 [ 29.696000] Dumping ftrace buffer: [ 29.699521] (ftrace buffer empty) [ 29.703201] Kernel Offset: disabled [ 29.706791] Rebooting in 86400 seconds..