[....] Starting enhanced syslogd: rsyslogd[ 13.586127] audit: type=1400 audit(1516060811.860:5): avc: denied { syslog } for pid=3502 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.873584] audit: type=1400 audit(1516060817.148:6): avc: denied { map } for pid=3641 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.193' (ECDSA) to the list of known hosts. [ 27.756328] audit: type=1400 audit(1516060826.031:7): avc: denied { map } for pid=3656 comm="syzkaller238789" path="/root/syzkaller238789312" 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 net.ipv6.conf.syz0.accept_dad = 0 net.ipv6.conf.syz0.router_solicitations = 0 RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 28.128082] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument executing program [ 28.455540] audit: type=1400 audit(1516060826.730:8): avc: denied { sys_admin } for pid=3656 comm="syzkaller238789" capability=21 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 [ 28.484444] audit: type=1400 audit(1516060826.759:9): avc: denied { sys_chroot } for pid=3783 comm="syzkaller238789" capability=18 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.329218] ================================================================== [ 36.336614] BUG: KASAN: use-after-free in tipc_group_size+0x40/0x50 [ 36.342993] Read of size 2 at addr ffff8801d6331e80 by task syzkaller238789/4237 [ 36.350491] [ 36.352090] CPU: 1 PID: 4237 Comm: syzkaller238789 Not tainted 4.15.0-rc8+ #263 [ 36.359501] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.368826] Call Trace: [ 36.371390] dump_stack+0x194/0x257 [ 36.374987] ? arch_local_irq_restore+0x53/0x53 [ 36.379622] ? show_regs_print_info+0x18/0x18 [ 36.384091] ? tipc_group_size+0x40/0x50 [ 36.388119] print_address_description+0x73/0x250 [ 36.392928] ? tipc_group_size+0x40/0x50 [ 36.396955] kasan_report+0x25b/0x340 [ 36.400725] __asan_report_load2_noabort+0x14/0x20 [ 36.405619] tipc_group_size+0x40/0x50 [ 36.409473] tipc_poll+0x374/0x4f0 [ 36.412984] ? tipc_ioctl+0x240/0x240 [ 36.416752] ? set_normalized_timespec64+0x5a/0xb0 [ 36.421651] ? select_estimate_accuracy+0x30b/0x450 [ 36.426648] sock_poll+0x141/0x320 [ 36.430156] ? __might_sleep+0x95/0x190 [ 36.434102] ? sock_ioctl+0x440/0x440 [ 36.437876] ? sock_ioctl+0x440/0x440 [ 36.441651] do_sys_poll+0x715/0x10b0 [ 36.445436] ? compat_core_sys_select+0x9e0/0x9e0 [ 36.450254] ? _raw_spin_unlock+0x22/0x30 [ 36.454372] ? __handle_mm_fault+0x80e/0x3ce0 [ 36.458839] ? check_noncircular+0x20/0x20 [ 36.463053] ? handle_mm_fault+0x248/0x8d0 [ 36.467259] ? find_held_lock+0x35/0x1d0 [ 36.471294] ? poll_initwait+0x180/0x180 [ 36.475325] ? set_fd_set.part.0+0x70/0x70 [ 36.479528] ? set_fd_set.part.0+0x70/0x70 [ 36.483731] ? set_fd_set.part.0+0x70/0x70 [ 36.487935] ? set_fd_set.part.0+0x70/0x70 [ 36.492142] ? set_fd_set.part.0+0x70/0x70 [ 36.496347] ? set_fd_set.part.0+0x70/0x70 [ 36.500551] ? nsec_to_clock_t+0x30/0x30 [ 36.504581] ? move_addr_to_kernel.part.18+0x100/0x100 [ 36.509832] ? poll_select_set_timeout+0x12f/0x210 [ 36.514730] ? do_restart_poll+0x2a0/0x2a0 [ 36.518936] ? SyS_futex+0x269/0x390 [ 36.522618] ? SyS_setsockopt+0x215/0x360 [ 36.526737] SyS_poll+0x10d/0x450 [ 36.530156] ? SyS_poll+0x10d/0x450 [ 36.534338] ? SyS_pselect6+0x650/0x650 [ 36.538280] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 36.543262] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 36.547991] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 36.552712] RIP: 0033:0x44cfd9 [ 36.555868] RSP: 002b:00007f026ef37ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000007 [ 36.563977] RAX: ffffffffffffffda RBX: 00000000006f0054 RCX: 000000000044cfd9 [ 36.571213] RDX: 0000000000007fff RSI: 000000000000000a RDI: 0000000020ef5000 [ 36.578450] RBP: 00000000006f0050 R08: 0000000000000000 R09: 0000000000000000 [ 36.585685] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 36.592921] R13: 00000000007ff93f R14: 00007f026ef389c0 R15: 0000000000000007 [ 36.600171] [ 36.601765] Allocated by task 4236: [ 36.605362] save_stack+0x43/0xd0 [ 36.608779] kasan_kmalloc+0xad/0xe0 [ 36.612458] kmem_cache_alloc_trace+0x136/0x750 [ 36.617092] tipc_group_create+0x116/0x9c0 [ 36.621290] tipc_setsockopt+0x249/0xc10 [ 36.625314] SyS_setsockopt+0x189/0x360 [ 36.629253] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 36.633970] [ 36.635562] Freed by task 4236: [ 36.638809] save_stack+0x43/0xd0 [ 36.642225] kasan_slab_free+0x71/0xc0 [ 36.646074] kfree+0xd6/0x260 [ 36.649148] tipc_group_delete+0x2c8/0x3d0 [ 36.653363] tipc_setsockopt+0xb0d/0xc10 [ 36.657387] SyS_setsockopt+0x189/0x360 [ 36.661326] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 36.666041] [ 36.667635] The buggy address belongs to the object at ffff8801d6331e00 [ 36.667635] which belongs to the cache kmalloc-192 of size 192 [ 36.680254] The buggy address is located 128 bytes inside of [ 36.680254] 192-byte region [ffff8801d6331e00, ffff8801d6331ec0) [ 36.692090] The buggy address belongs to the page: [ 36.696986] page:ffffea000758cc40 count:1 mapcount:0 mapping:ffff8801d6331000 index:0x0 [ 36.705095] flags: 0x2fffc0000000100(slab) [ 36.709297] raw: 02fffc0000000100 ffff8801d6331000 0000000000000000 0000000100000010 [ 36.717142] raw: ffffea0007549fe0 ffff8801dac01148 ffff8801dac00040 0000000000000000 [ 36.724985] page dumped because: kasan: bad access detected [ 36.730658] [ 36.732250] Memory state around the buggy address: [ 36.737142] ffff8801d6331d80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 36.744472] ffff8801d6331e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.751802] >ffff8801d6331e80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 36.759123] ^ [ 36.762457] ffff8801d6331f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.769782] ffff8801d6331f80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 36.777109] ================================================================== [ 36.784429] Disabling lock debugging due to kernel taint [ 36.789935] Kernel panic - not syncing: panic_on_warn set ... [ 36.789935] [ 36.797265] CPU: 1 PID: 4237 Comm: syzkaller238789 Tainted: G B 4.15.0-rc8+ #263 [ 36.805978] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.815296] Call Trace: [ 36.817861] dump_stack+0x194/0x257 [ 36.821458] ? arch_local_irq_restore+0x53/0x53 [ 36.826096] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 36.830818] ? vsnprintf+0x1ed/0x1900 [ 36.834584] ? tipc_group_bc_snd_nxt+0x40/0x50 [ 36.839129] panic+0x1e4/0x41c [ 36.842297] ? refcount_error_report+0x214/0x214 [ 36.847025] ? add_taint+0x1c/0x50 [ 36.850531] ? add_taint+0x1c/0x50 [ 36.854035] ? tipc_group_size+0x40/0x50 [ 36.858061] kasan_end_report+0x50/0x50 [ 36.861999] kasan_report+0x144/0x340 [ 36.865764] __asan_report_load2_noabort+0x14/0x20 [ 36.870657] tipc_group_size+0x40/0x50 [ 36.874510] tipc_poll+0x374/0x4f0 [ 36.878014] ? tipc_ioctl+0x240/0x240 [ 36.881779] ? set_normalized_timespec64+0x5a/0xb0 [ 36.886674] ? select_estimate_accuracy+0x30b/0x450 [ 36.891656] sock_poll+0x141/0x320 [ 36.895159] ? __might_sleep+0x95/0x190 [ 36.899098] ? sock_ioctl+0x440/0x440 [ 36.902868] ? sock_ioctl+0x440/0x440 [ 36.906631] do_sys_poll+0x715/0x10b0 [ 36.910405] ? compat_core_sys_select+0x9e0/0x9e0 [ 36.915221] ? _raw_spin_unlock+0x22/0x30 [ 36.919335] ? __handle_mm_fault+0x80e/0x3ce0 [ 36.923797] ? check_noncircular+0x20/0x20 [ 36.928004] ? handle_mm_fault+0x248/0x8d0 [ 36.932208] ? find_held_lock+0x35/0x1d0 [ 36.936236] ? poll_initwait+0x180/0x180 [ 36.940264] ? set_fd_set.part.0+0x70/0x70 [ 36.944480] ? set_fd_set.part.0+0x70/0x70 [ 36.948681] ? set_fd_set.part.0+0x70/0x70 [ 36.952880] ? set_fd_set.part.0+0x70/0x70 [ 36.957079] ? set_fd_set.part.0+0x70/0x70 [ 36.961282] ? set_fd_set.part.0+0x70/0x70 [ 36.965484] ? nsec_to_clock_t+0x30/0x30 [ 36.969510] ? move_addr_to_kernel.part.18+0x100/0x100 [ 36.974753] ? poll_select_set_timeout+0x12f/0x210 [ 36.979646] ? do_restart_poll+0x2a0/0x2a0 [ 36.983848] ? SyS_futex+0x269/0x390 [ 36.987526] ? SyS_setsockopt+0x215/0x360 [ 36.991956] SyS_poll+0x10d/0x450 [ 36.995373] ? SyS_poll+0x10d/0x450 [ 36.998964] ? SyS_pselect6+0x650/0x650 [ 37.003169] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 37.008151] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 37.012877] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 37.017596] RIP: 0033:0x44cfd9 [ 37.020756] RSP: 002b:00007f026ef37ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000007 [ 37.028428] RAX: ffffffffffffffda RBX: 00000000006f0054 RCX: 000000000044cfd9 [ 37.035663] RDX: 0000000000007fff RSI: 000000000000000a RDI: 0000000020ef5000 [ 37.042904] RBP: 00000000006f0050 R08: 0000000000000000 R09: 0000000000000000 [ 37.050139] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 37.057381] R13: 00000000007ff93f R14: 00007f026ef389c0 R15: 0000000000000007 [ 37.064658] Dumping ftrace buffer: [ 37.068162] (ftrace buffer empty) [ 37.071848] Kernel Offset: disabled [ 37.075445] Rebooting in 86400 seconds..