[....] Starting enhanced syslogd: rsyslogd[ 12.725297] audit: type=1400 audit(1515422041.940:5): avc: denied { syslog } for pid=3347 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.539580] audit: type=1400 audit(1515422048.754:6): avc: denied { map } for pid=3487 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.41' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 52.239167] audit: type=1400 audit(1515422081.453:7): avc: denied { map } for pid=3504 comm="syzkaller804328" path="/root/syzkaller804328662" 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 [ 52.435890] ================================================================== [ 52.443306] BUG: KASAN: use-after-free in tipc_group_size+0x40/0x50 [ 52.449690] Read of size 2 at addr ffff8801bebb7580 by task syzkaller804328/3747 [ 52.457189] [ 52.458787] CPU: 1 PID: 3747 Comm: syzkaller804328 Not tainted 4.15.0-rc5+ #178 [ 52.466207] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.475536] Call Trace: [ 52.478093] dump_stack+0x194/0x257 [ 52.481702] ? arch_local_irq_restore+0x53/0x53 [ 52.486349] ? show_regs_print_info+0x18/0x18 [ 52.490823] ? iterate_fd+0x3f0/0x3f0 [ 52.494592] ? tipc_group_size+0x40/0x50 [ 52.498624] print_address_description+0x73/0x250 [ 52.503437] ? tipc_group_size+0x40/0x50 [ 52.507468] kasan_report+0x25b/0x340 [ 52.511241] __asan_report_load2_noabort+0x14/0x20 [ 52.516146] tipc_group_size+0x40/0x50 [ 52.520003] tipc_poll+0x374/0x4f0 [ 52.523513] ? tipc_ioctl+0x240/0x240 [ 52.527285] ? __check_object_size+0x25d/0x4f0 [ 52.531835] ? mark_held_locks+0xaf/0x100 [ 52.535959] sock_poll+0x141/0x320 [ 52.539466] ? __might_sleep+0x95/0x190 [ 52.543426] ? sock_ioctl+0x440/0x440 [ 52.547204] ? sock_ioctl+0x440/0x440 [ 52.550975] do_sys_poll+0x715/0x10b0 [ 52.554760] ? compat_core_sys_select+0x9e0/0x9e0 [ 52.559583] ? _raw_spin_unlock+0x22/0x30 [ 52.563699] ? __handle_mm_fault+0x80e/0x3ce0 [ 52.568166] ? check_noncircular+0x20/0x20 [ 52.572365] ? __pmd_alloc+0x4e0/0x4e0 [ 52.576228] ? find_held_lock+0x35/0x1d0 [ 52.580267] ? handle_mm_fault+0x248/0x8d0 [ 52.584486] ? find_held_lock+0x35/0x1d0 [ 52.588539] ? handle_mm_fault+0x410/0x8d0 [ 52.592750] ? down_read_trylock+0xdb/0x170 [ 52.597040] ? __do_page_fault+0x32d/0xc90 [ 52.601244] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 52.605793] ? vmacache_find+0x5f/0x280 [ 52.609734] ? vmacache_update+0xfe/0x130 [ 52.613857] ? up_read+0x1a/0x40 [ 52.617204] ? __do_page_fault+0x3d6/0xc90 [ 52.621406] ? get_unused_fd_flags+0x190/0x190 [ 52.625965] ? mm_fault_error+0x2c0/0x2c0 [ 52.630093] ? sock_alloc_file+0x2a6/0x560 [ 52.634303] ? do_page_fault+0xee/0x720 [ 52.638246] ? __alloc_fd+0x750/0x750 [ 52.642025] ? poll_select_set_timeout+0x12f/0x210 [ 52.646922] ? do_restart_poll+0x2a0/0x2a0 [ 52.651137] ? SyS_futex+0x269/0x390 [ 52.654818] ? fd_install+0x4d/0x60 [ 52.658421] SyS_poll+0x10d/0x450 [ 52.661853] ? SyS_poll+0x10d/0x450 [ 52.665459] ? SyS_pselect6+0x650/0x650 [ 52.669410] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 52.674399] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.679131] entry_SYSCALL_64_fastpath+0x23/0x9a [ 52.683861] RIP: 0033:0x445d09 [ 52.687020] RSP: 002b:00007f14caaf7db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000007 [ 52.694697] RAX: ffffffffffffffda RBX: 00000000006dbc3c RCX: 0000000000445d09 [ 52.701942] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020fa2ff8 [ 52.709180] RBP: 00000000006dbc38 R08: 0000000000000000 R09: 0000000000000000 [ 52.716418] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 52.723656] R13: 00007ffebbb68e5f R14: 00007f14caaf89c0 R15: 0000000000000005 [ 52.730910] [ 52.732504] Allocated by task 3739: [ 52.736099] save_stack+0x43/0xd0 [ 52.739519] kasan_kmalloc+0xad/0xe0 [ 52.743200] kmem_cache_alloc_trace+0x136/0x750 [ 52.747835] tipc_group_create+0x116/0x9c0 [ 52.752037] tipc_setsockopt+0x249/0xc10 [ 52.756065] SyS_setsockopt+0x189/0x360 [ 52.760006] entry_SYSCALL_64_fastpath+0x23/0x9a [ 52.764724] [ 52.766321] Freed by task 3739: [ 52.769568] save_stack+0x43/0xd0 [ 52.772989] kasan_slab_free+0x71/0xc0 [ 52.776840] kfree+0xd6/0x260 [ 52.779922] tipc_group_delete+0x2c8/0x3d0 [ 52.784131] tipc_setsockopt+0xb0d/0xc10 [ 52.788166] SyS_setsockopt+0x189/0x360 [ 52.792114] entry_SYSCALL_64_fastpath+0x23/0x9a [ 52.796832] [ 52.798428] The buggy address belongs to the object at ffff8801bebb7500 [ 52.798428] which belongs to the cache kmalloc-192 of size 192 [ 52.811057] The buggy address is located 128 bytes inside of [ 52.811057] 192-byte region [ffff8801bebb7500, ffff8801bebb75c0) [ 52.822896] The buggy address belongs to the page: [ 52.827795] page:00000000c683dd90 count:1 mapcount:0 mapping:00000000c2647592 index:0x0 [ 52.835914] flags: 0x2fffc0000000100(slab) [ 52.840115] raw: 02fffc0000000100 ffff8801bebb7000 0000000000000000 0000000100000010 [ 52.847961] raw: ffffea0006fab460 ffffea0006faaa60 ffff8801dac00040 0000000000000000 [ 52.855806] page dumped because: kasan: bad access detected [ 52.861481] [ 52.863074] Memory state around the buggy address: [ 52.867968] ffff8801bebb7480: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 52.875293] ffff8801bebb7500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 52.882622] >ffff8801bebb7580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 52.889945] ^ [ 52.893277] ffff8801bebb7600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.900603] ffff8801bebb7680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 52.907938] ================================================================== [ 52.915274] Disabling lock debugging due to kernel taint [ 52.920802] Kernel panic - not syncing: panic_on_warn set ... [ 52.920802] [ 52.928142] CPU: 1 PID: 3747 Comm: syzkaller804328 Tainted: G B 4.15.0-rc5+ #178 [ 52.936879] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.946211] Call Trace: [ 52.948784] dump_stack+0x194/0x257 [ 52.952388] ? arch_local_irq_restore+0x53/0x53 [ 52.957026] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.961749] ? vsnprintf+0x1ed/0x1900 [ 52.965517] ? tipc_group_exclude+0x90/0xa0 [ 52.969805] panic+0x1e4/0x41c [ 52.972974] ? refcount_error_report+0x214/0x214 [ 52.977708] ? add_taint+0x1c/0x50 [ 52.981214] ? add_taint+0x1c/0x50 [ 52.984720] ? tipc_group_size+0x40/0x50 [ 52.988747] kasan_end_report+0x50/0x50 [ 52.992687] kasan_report+0x144/0x340 [ 52.996456] __asan_report_load2_noabort+0x14/0x20 [ 53.001360] tipc_group_size+0x40/0x50 [ 53.005215] tipc_poll+0x374/0x4f0 [ 53.008731] ? tipc_ioctl+0x240/0x240 [ 53.012499] ? __check_object_size+0x25d/0x4f0 [ 53.017046] ? mark_held_locks+0xaf/0x100 [ 53.021164] sock_poll+0x141/0x320 [ 53.024679] ? __might_sleep+0x95/0x190 [ 53.028619] ? sock_ioctl+0x440/0x440 [ 53.032390] ? sock_ioctl+0x440/0x440 [ 53.036156] do_sys_poll+0x715/0x10b0 [ 53.039930] ? compat_core_sys_select+0x9e0/0x9e0 [ 53.044739] ? _raw_spin_unlock+0x22/0x30 [ 53.048855] ? __handle_mm_fault+0x80e/0x3ce0 [ 53.053318] ? check_noncircular+0x20/0x20 [ 53.057517] ? __pmd_alloc+0x4e0/0x4e0 [ 53.061375] ? find_held_lock+0x35/0x1d0 [ 53.065406] ? handle_mm_fault+0x248/0x8d0 [ 53.069618] ? find_held_lock+0x35/0x1d0 [ 53.073657] ? handle_mm_fault+0x410/0x8d0 [ 53.077857] ? down_read_trylock+0xdb/0x170 [ 53.082147] ? __do_page_fault+0x32d/0xc90 [ 53.086347] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 53.090895] ? vmacache_find+0x5f/0x280 [ 53.094839] ? vmacache_update+0xfe/0x130 [ 53.098967] ? up_read+0x1a/0x40 [ 53.102305] ? __do_page_fault+0x3d6/0xc90 [ 53.106505] ? get_unused_fd_flags+0x190/0x190 [ 53.111067] ? mm_fault_error+0x2c0/0x2c0 [ 53.115183] ? sock_alloc_file+0x2a6/0x560 [ 53.119386] ? do_page_fault+0xee/0x720 [ 53.123335] ? __alloc_fd+0x750/0x750 [ 53.127102] ? poll_select_set_timeout+0x12f/0x210 [ 53.131996] ? do_restart_poll+0x2a0/0x2a0 [ 53.136196] ? SyS_futex+0x269/0x390 [ 53.139875] ? fd_install+0x4d/0x60 [ 53.143472] SyS_poll+0x10d/0x450 [ 53.146908] ? SyS_poll+0x10d/0x450 [ 53.150512] ? SyS_pselect6+0x650/0x650 [ 53.154463] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 53.159450] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 53.164176] entry_SYSCALL_64_fastpath+0x23/0x9a [ 53.168898] RIP: 0033:0x445d09 [ 53.172064] RSP: 002b:00007f14caaf7db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000007 [ 53.179931] RAX: ffffffffffffffda RBX: 00000000006dbc3c RCX: 0000000000445d09 [ 53.187167] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020fa2ff8 [ 53.194411] RBP: 00000000006dbc38 R08: 0000000000000000 R09: 0000000000000000 [ 53.201676] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 53.208923] R13: 00007ffebbb68e5f R14: 00007f14caaf89c0 R15: 0000000000000005 [ 53.216210] Dumping ftrace buffer: [ 53.219717] (ftrace buffer empty) [ 53.223394] Kernel Offset: disabled [ 53.226989] Rebooting in 86400 seconds..