[....] Starting enhanced syslogd: rsyslogd[ 11.281465] audit: type=1400 audit(1515424087.813:5): avc: denied { syslog } for pid=3309 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: [ 17.571047] audit: type=1400 audit(1515424094.102:6): avc: denied { map } for pid=3449 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.56' (ECDSA) to the list of known hosts. [ 31.874344] audit: type=1400 audit(1515424108.406:7): avc: denied { map } for pid=3465 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 15:08:28 parsed 1 programs 2018/01/08 15:08:28 executed programs: 0 [ 31.996588] audit: type=1400 audit(1515424108.528:8): avc: denied { map } for pid=3465 comm="syz-execprog" path="/root/syzkaller-shm408704954" 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 15:08:33 executed programs: 302 [ 39.432149] ================================================================== [ 39.439563] BUG: KASAN: use-after-free in tipc_group_size+0x40/0x50 [ 39.445952] Read of size 2 at addr ffff8801bc45c780 by task syz-executor0/4827 [ 39.453277] [ 39.454875] CPU: 0 PID: 4827 Comm: syz-executor0 Not tainted 4.15.0-rc6-mm1+ #51 [ 39.462373] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.471697] Call Trace: [ 39.474258] dump_stack+0x137/0x198 [ 39.477855] ? tipc_group_size+0x40/0x50 [ 39.481893] print_address_description+0x73/0x250 [ 39.486706] ? tipc_group_size+0x40/0x50 [ 39.490736] kasan_report+0x23b/0x360 [ 39.494506] __asan_report_load2_noabort+0x14/0x20 [ 39.499403] tipc_group_size+0x40/0x50 [ 39.503258] tipc_poll+0x2bc/0x400 [ 39.506769] sock_poll+0xf9/0x220 [ 39.510194] do_sys_poll+0x540/0xc80 [ 39.513892] ? sock_ioctl+0x440/0x440 [ 39.517667] ? compat_core_sys_select+0x620/0x620 [ 39.522495] ? mmdrop+0x18/0x30 [ 39.525747] ? futex_wake+0x13e/0x430 [ 39.529535] ? lru_cache_add+0xd9/0x1e0 [ 39.533490] ? exit_robust_list+0x240/0x240 [ 39.537778] ? __handle_mm_fault+0x647/0x3210 [ 39.542243] ? check_noncircular+0x20/0x20 [ 39.546446] ? __pmd_alloc+0x4e0/0x4e0 [ 39.550305] ? find_held_lock+0x35/0x1e0 [ 39.554343] ? __do_page_fault+0x5cc/0xca0 [ 39.558545] ? lock_downgrade+0x860/0x860 [ 39.562678] ? SyS_futex+0x1fd/0x2b0 [ 39.566366] SyS_poll+0x10d/0x3e0 [ 39.569787] ? SyS_poll+0x10d/0x3e0 [ 39.573381] ? SyS_pselect6+0x4a0/0x4a0 [ 39.577319] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 39.582304] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 39.587044] entry_SYSCALL_64_fastpath+0x23/0x9a [ 39.591774] RIP: 0033:0x452ac9 [ 39.594933] RSP: 002b:00007ff59037cc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000007 [ 39.602611] RAX: ffffffffffffffda RBX: 000000000071bf58 RCX: 0000000000452ac9 [ 39.609858] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020fa2ff8 [ 39.617097] RBP: 0000000000000567 R08: 0000000000000000 R09: 0000000000000000 [ 39.624337] R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6248 [ 39.631583] R13: 00000000ffffffff R14: 00007ff59037d6d4 R15: 0000000000000002 [ 39.638840] [ 39.640435] Allocated by task 4826: [ 39.644038] save_stack+0x43/0xd0 [ 39.647457] kasan_kmalloc+0xad/0xe0 [ 39.651135] kmem_cache_alloc_trace+0x136/0x750 [ 39.655772] tipc_group_create+0x84/0x7d0 [ 39.659887] tipc_setsockopt+0x201/0x9d0 [ 39.663916] SyS_setsockopt+0x158/0x240 [ 39.667855] entry_SYSCALL_64_fastpath+0x23/0x9a [ 39.672574] [ 39.674167] Freed by task 4826: [ 39.677418] save_stack+0x43/0xd0 [ 39.680836] __kasan_slab_free+0x11a/0x170 [ 39.685040] kasan_slab_free+0xe/0x10 [ 39.688805] kfree+0xd9/0x260 [ 39.691875] tipc_group_delete+0x21d/0x300 [ 39.696074] tipc_setsockopt+0x8df/0x9d0 [ 39.700103] SyS_setsockopt+0x158/0x240 [ 39.704045] entry_SYSCALL_64_fastpath+0x23/0x9a [ 39.708761] [ 39.710356] The buggy address belongs to the object at ffff8801bc45c700 [ 39.710356] which belongs to the cache kmalloc-192 of size 192 [ 39.722981] The buggy address is located 128 bytes inside of [ 39.722981] 192-byte region [ffff8801bc45c700, ffff8801bc45c7c0) [ 39.734819] The buggy address belongs to the page: [ 39.739714] page:ffffea0006f11700 count:1 mapcount:0 mapping:ffff8801bc45c000 index:0x0 [ 39.747825] flags: 0x2fffc0000000100(slab) [ 39.752034] raw: 02fffc0000000100 ffff8801bc45c000 0000000000000000 0000000100000010 [ 39.759891] raw: ffffea0006f9d0e0 ffffea0006f66e20 ffff8801db000040 0000000000000000 [ 39.767737] page dumped because: kasan: bad access detected [ 39.773410] [ 39.775008] Memory state around the buggy address: [ 39.779909] ffff8801bc45c680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 39.787232] ffff8801bc45c700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.794563] >ffff8801bc45c780: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 39.801887] ^ [ 39.805217] ffff8801bc45c800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.812542] ffff8801bc45c880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 39.819870] ================================================================== [ 39.827193] Disabling lock debugging due to kernel taint [ 39.832690] Kernel panic - not syncing: panic_on_warn set ... [ 39.832690] [ 39.840026] CPU: 0 PID: 4827 Comm: syz-executor0 Tainted: G B 4.15.0-rc6-mm1+ #51 [ 39.848833] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.858154] Call Trace: [ 39.860713] dump_stack+0x137/0x198 [ 39.864308] ? tipc_group_exclude+0x10/0xa0 [ 39.868595] panic+0x1e4/0x41c [ 39.871755] ? refcount_error_report+0x214/0x214 [ 39.876475] ? add_taint+0x1c/0x50 [ 39.879982] ? add_taint+0x1c/0x50 [ 39.883489] ? tipc_group_size+0x40/0x50 [ 39.887517] kasan_end_report+0x50/0x50 [ 39.891471] kasan_report+0x148/0x360 [ 39.895240] __asan_report_load2_noabort+0x14/0x20 [ 39.900142] tipc_group_size+0x40/0x50 [ 39.904003] tipc_poll+0x2bc/0x400 [ 39.907510] sock_poll+0xf9/0x220 [ 39.910930] do_sys_poll+0x540/0xc80 [ 39.914626] ? sock_ioctl+0x440/0x440 [ 39.918392] ? compat_core_sys_select+0x620/0x620 [ 39.923199] ? mmdrop+0x18/0x30 [ 39.926444] ? futex_wake+0x13e/0x430 [ 39.930221] ? lru_cache_add+0xd9/0x1e0 [ 39.934164] ? exit_robust_list+0x240/0x240 [ 39.938449] ? __handle_mm_fault+0x647/0x3210 [ 39.942911] ? check_noncircular+0x20/0x20 [ 39.947110] ? __pmd_alloc+0x4e0/0x4e0 [ 39.950970] ? find_held_lock+0x35/0x1e0 [ 39.955009] ? __do_page_fault+0x5cc/0xca0 [ 39.959224] ? lock_downgrade+0x860/0x860 [ 39.963344] ? SyS_futex+0x1fd/0x2b0 [ 39.967028] SyS_poll+0x10d/0x3e0 [ 39.970446] ? SyS_poll+0x10d/0x3e0 [ 39.974037] ? SyS_pselect6+0x4a0/0x4a0 [ 39.977975] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 39.982955] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 39.987693] entry_SYSCALL_64_fastpath+0x23/0x9a [ 39.992426] RIP: 0033:0x452ac9 [ 39.995584] RSP: 002b:00007ff59037cc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000007 [ 40.003257] RAX: ffffffffffffffda RBX: 000000000071bf58 RCX: 0000000000452ac9 [ 40.010499] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020fa2ff8 [ 40.017735] RBP: 0000000000000567 R08: 0000000000000000 R09: 0000000000000000 [ 40.024972] R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f6248 [ 40.032219] R13: 00000000ffffffff R14: 00007ff59037d6d4 R15: 0000000000000002 [ 40.039514] Dumping ftrace buffer: [ 40.043021] (ftrace buffer empty) [ 40.046703] Kernel Offset: disabled [ 40.050295] Rebooting in 86400 seconds..