[....] Starting enhanced syslogd: rsyslogd[ 13.877941] audit: type=1400 audit(1516066432.360:5): avc: denied { syslog } for pid=3501 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: [ 19.344639] audit: type=1400 audit(1516066437.827:6): avc: denied { map } for pid=3642 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.15' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program [ 26.316217] audit: type=1400 audit(1516066444.799:7): avc: denied { map } for pid=3656 comm="syzkaller166579" path="/root/syzkaller166579891" 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 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 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 [ 28.331464] ================================================================== [ 28.338909] BUG: KASAN: use-after-free in tipc_group_size+0x40/0x50 [ 28.345291] Read of size 2 at addr ffff8801bbb32980 by task syzkaller166579/4545 [ 28.352796] [ 28.354405] CPU: 1 PID: 4545 Comm: syzkaller166579 Not tainted 4.15.0-rc8+ #173 [ 28.361825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.371156] Call Trace: [ 28.373724] dump_stack+0x194/0x257 [ 28.377333] ? arch_local_irq_restore+0x53/0x53 [ 28.381978] ? show_regs_print_info+0x18/0x18 [ 28.386460] ? tipc_group_size+0x40/0x50 [ 28.390511] print_address_description+0x73/0x250 [ 28.395345] ? tipc_group_size+0x40/0x50 [ 28.399389] kasan_report+0x25b/0x340 [ 28.403176] __asan_report_load2_noabort+0x14/0x20 [ 28.408088] tipc_group_size+0x40/0x50 [ 28.411954] tipc_poll+0x374/0x4f0 [ 28.415475] ? tipc_ioctl+0x240/0x240 [ 28.419274] ? set_normalized_timespec64+0x5a/0xb0 [ 28.424185] ? select_estimate_accuracy+0x30b/0x450 [ 28.429183] sock_poll+0x141/0x320 [ 28.432699] ? __might_sleep+0x95/0x190 [ 28.436647] ? sock_ioctl+0x440/0x440 [ 28.440427] ? sock_ioctl+0x440/0x440 [ 28.444203] do_sys_poll+0x715/0x10b0 [ 28.447992] ? compat_core_sys_select+0x9e0/0x9e0 [ 28.452821] ? check_noncircular+0x20/0x20 [ 28.457034] ? __handle_mm_fault+0x2747/0x3ce0 [ 28.461604] ? do_raw_spin_trylock+0x190/0x190 [ 28.466179] ? find_held_lock+0x35/0x1d0 [ 28.470219] ? poll_initwait+0x180/0x180 [ 28.474272] ? set_fd_set.part.0+0x70/0x70 [ 28.478501] ? set_fd_set.part.0+0x70/0x70 [ 28.482730] ? set_fd_set.part.0+0x70/0x70 [ 28.486952] ? set_fd_set.part.0+0x70/0x70 [ 28.491184] ? set_fd_set.part.0+0x70/0x70 [ 28.495417] ? set_fd_set.part.0+0x70/0x70 [ 28.499647] ? set_fd_set.part.0+0x70/0x70 [ 28.503879] ? set_fd_set.part.0+0x70/0x70 [ 28.508102] ? set_fd_set.part.0+0x70/0x70 [ 28.512325] SyS_poll+0x10d/0x450 [ 28.515754] ? SyS_poll+0x10d/0x450 [ 28.519358] ? SyS_pselect6+0x650/0x650 [ 28.523328] ? do_fast_syscall_32+0x156/0xf9d [ 28.527806] ? SyS_pselect6+0x650/0x650 [ 28.531760] do_fast_syscall_32+0x3ee/0xf9d [ 28.536069] ? do_int80_syscall_32+0x9d0/0x9d0 [ 28.540637] ? syscall_return_slowpath+0x2ad/0x550 [ 28.545543] ? prepare_exit_to_usermode+0x340/0x340 [ 28.550539] ? retint_user+0x18/0x18 [ 28.554232] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.559058] entry_SYSENTER_compat+0x54/0x63 [ 28.563440] RIP: 0023:0xf7f99c79 [ 28.566777] RSP: 002b:00000000f7f531fc EFLAGS: 00000246 ORIG_RAX: 00000000000000a8 [ 28.574461] RAX: ffffffffffffffda RBX: 0000000020ef5000 RCX: 000000000000000a [ 28.581712] RDX: 0000000000007fff RSI: 0000000000000000 RDI: 0000000000000000 [ 28.588958] RBP: 00000000003d0f00 R08: 0000000000000000 R09: 0000000000000000 [ 28.596205] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 28.603469] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 28.610730] [ 28.612336] Allocated by task 4543: [ 28.615938] save_stack+0x43/0xd0 [ 28.619363] kasan_kmalloc+0xad/0xe0 [ 28.623059] kmem_cache_alloc_trace+0x136/0x750 [ 28.627714] tipc_group_create+0x116/0x9c0 [ 28.631935] tipc_setsockopt+0x249/0xc10 [ 28.635972] compat_SyS_setsockopt+0x2e7/0x410 [ 28.640533] do_fast_syscall_32+0x3ee/0xf9d [ 28.644829] entry_SYSENTER_compat+0x54/0x63 [ 28.649221] [ 28.650829] Freed by task 4543: [ 28.654081] save_stack+0x43/0xd0 [ 28.657504] kasan_slab_free+0x71/0xc0 [ 28.661364] kfree+0xd6/0x260 [ 28.664441] tipc_group_delete+0x2c8/0x3d0 [ 28.668650] tipc_setsockopt+0xb0d/0xc10 [ 28.672683] compat_SyS_setsockopt+0x2e7/0x410 [ 28.677240] do_fast_syscall_32+0x3ee/0xf9d [ 28.681532] entry_SYSENTER_compat+0x54/0x63 [ 28.685908] [ 28.687510] The buggy address belongs to the object at ffff8801bbb32900 [ 28.687510] which belongs to the cache kmalloc-192 of size 192 [ 28.700153] The buggy address is located 128 bytes inside of [ 28.700153] 192-byte region [ffff8801bbb32900, ffff8801bbb329c0) [ 28.712019] The buggy address belongs to the page: [ 28.716932] page:ffffea0006eecc80 count:1 mapcount:0 mapping:ffff8801bbb32000 index:0x0 [ 28.725053] flags: 0x2fffc0000000100(slab) [ 28.729267] raw: 02fffc0000000100 ffff8801bbb32000 0000000000000000 0000000100000010 [ 28.737126] raw: ffffea000764e9a0 ffffea0007633b20 ffff8801dac00040 0000000000000000 [ 28.744982] page dumped because: kasan: bad access detected [ 28.750673] [ 28.752283] Memory state around the buggy address: [ 28.757184] ffff8801bbb32880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 28.764530] ffff8801bbb32900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.771868] >ffff8801bbb32980: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 28.779205] ^ executing program executing program executing program [ 28.782555] ffff8801bbb32a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.789907] ffff8801bbb32a80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 28.797268] ================================================================== [ 28.804605] Disabling lock debugging due to kernel taint [ 28.810241] Kernel panic - not syncing: panic_on_warn set ... [ 28.810241] [ 28.817608] CPU: 1 PID: 4545 Comm: syzkaller166579 Tainted: G B 4.15.0-rc8+ #173 executing program executing program executing program executing program [ 28.826355] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.835716] Call Trace: [ 28.838319] dump_stack+0x194/0x257 [ 28.841962] ? arch_local_irq_restore+0x53/0x53 [ 28.846631] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.851374] ? vsnprintf+0x1ed/0x1900 [ 28.855183] ? tipc_group_bc_snd_nxt+0x40/0x50 [ 28.859759] panic+0x1e4/0x41c [ 28.862941] ? refcount_error_report+0x214/0x214 [ 28.867773] ? add_taint+0x1c/0x50 [ 28.871306] ? add_taint+0x1c/0x50 [ 28.874845] ? tipc_group_size+0x40/0x50 [ 28.878928] kasan_end_report+0x50/0x50 executing program executing program executing program executing program [ 28.882914] kasan_report+0x144/0x340 [ 28.886718] __asan_report_load2_noabort+0x14/0x20 [ 28.891636] tipc_group_size+0x40/0x50 [ 28.895523] tipc_poll+0x374/0x4f0 [ 28.899072] ? tipc_ioctl+0x240/0x240 [ 28.902870] ? set_normalized_timespec64+0x5a/0xb0 [ 28.907796] ? select_estimate_accuracy+0x30b/0x450 [ 28.912834] sock_poll+0x141/0x320 [ 28.916382] ? __might_sleep+0x95/0x190 [ 28.920351] ? sock_ioctl+0x440/0x440 [ 28.924146] ? sock_ioctl+0x440/0x440 [ 28.927930] do_sys_poll+0x715/0x10b0 executing program executing program executing program executing program executing program executing program [ 28.931731] ? compat_core_sys_select+0x9e0/0x9e0 [ 28.936573] ? check_noncircular+0x20/0x20 [ 28.940801] ? __handle_mm_fault+0x2747/0x3ce0 [ 28.945380] ? do_raw_spin_trylock+0x190/0x190 [ 28.949957] ? find_held_lock+0x35/0x1d0 [ 28.954027] ? poll_initwait+0x180/0x180 [ 28.958098] ? set_fd_set.part.0+0x70/0x70 [ 28.962331] ? set_fd_set.part.0+0x70/0x70 [ 28.966565] ? set_fd_set.part.0+0x70/0x70 [ 28.970813] ? set_fd_set.part.0+0x70/0x70 [ 28.975054] ? set_fd_set.part.0+0x70/0x70 [ 28.979292] ? set_fd_set.part.0+0x70/0x70 executing program executing program executing program [ 28.983504] ? set_fd_set.part.0+0x70/0x70 [ 28.987733] ? set_fd_set.part.0+0x70/0x70 [ 28.991977] ? set_fd_set.part.0+0x70/0x70 [ 28.996218] SyS_poll+0x10d/0x450 [ 28.999658] ? SyS_poll+0x10d/0x450 [ 29.003277] ? SyS_pselect6+0x650/0x650 [ 29.007247] ? do_fast_syscall_32+0x156/0xf9d [ 29.011750] ? SyS_pselect6+0x650/0x650 [ 29.015724] do_fast_syscall_32+0x3ee/0xf9d [ 29.020032] ? do_int80_syscall_32+0x9d0/0x9d0 [ 29.024618] ? syscall_return_slowpath+0x2ad/0x550 [ 29.029546] ? prepare_exit_to_usermode+0x340/0x340 executing program executing program executing program executing program executing program [ 29.034559] ? retint_user+0x18/0x18 [ 29.038290] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.043144] entry_SYSENTER_compat+0x54/0x63 [ 29.047547] RIP: 0023:0xf7f99c79 [ 29.050903] RSP: 002b:00000000f7f531fc EFLAGS: 00000246 ORIG_RAX: 00000000000000a8 [ 29.058602] RAX: ffffffffffffffda RBX: 0000000020ef5000 RCX: 000000000000000a [ 29.065864] RDX: 0000000000007fff RSI: 0000000000000000 RDI: 0000000000000000 [ 29.073133] RBP: 00000000003d0f00 R08: 0000000000000000 R09: 0000000000000000 executing program [ 29.080398] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 29.087678] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 29.095438] Dumping ftrace buffer: [ 29.098968] (ftrace buffer empty) [ 29.102648] Kernel Offset: disabled [ 29.106249] Rebooting in 86400 seconds..