[....] Starting enhanced syslogd: rsyslogd[ 12.006676] audit: type=1400 audit(1515663671.039:5): avc: denied { syslog } for pid=3336 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.090425] audit: type=1400 audit(1515663678.123:6): avc: denied { map } for pid=3477 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.208' (ECDSA) to the list of known hosts. [ 25.553717] audit: type=1400 audit(1515663684.586:7): avc: denied { map } for pid=3491 comm="syzkaller508479" path="/root/syzkaller508479629" 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 [ 25.579736] audit: type=1400 audit(1515663684.590:8): avc: denied { sys_admin } for pid=3491 comm="syzkaller508479" 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 executing program [ 25.609464] audit: type=1400 audit(1515663684.642:9): avc: denied { sys_chroot } for pid=3492 comm="syzkaller508479" 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 [ 25.633993] audit: type=1400 audit(1515663684.644:10): avc: denied { map_create } for pid=3492 comm="syzkaller508479" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 [ 25.656674] audit: type=1400 audit(1515663684.644:11): avc: denied { map_read map_write } for pid=3492 comm="syzkaller508479" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 [ 25.691139] ================================================================== [ 25.698523] BUG: KASAN: slab-out-of-bounds in perf_event_fd_array_release+0x435/0x480 [ 25.706468] Read of size 8 at addr ffff8801cc746c40 by task syzkaller508479/3492 [ 25.713968] [ 25.715569] CPU: 0 PID: 3492 Comm: syzkaller508479 Not tainted 4.15.0-rc7-mm1+ #53 [ 25.723246] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.732568] Call Trace: [ 25.735126] dump_stack+0x194/0x257 [ 25.738723] ? arch_local_irq_restore+0x53/0x53 [ 25.743359] ? show_regs_print_info+0x18/0x18 [ 25.747825] ? lock_release+0xa40/0xa40 [ 25.751770] ? perf_event_fd_array_release+0x435/0x480 [ 25.757021] print_address_description+0x73/0x250 [ 25.761836] ? perf_event_fd_array_release+0x435/0x480 [ 25.767081] kasan_report+0x23b/0x360 [ 25.770855] __asan_report_load8_noabort+0x14/0x20 [ 25.775752] perf_event_fd_array_release+0x435/0x480 [ 25.780827] ? array_of_map_alloc+0x130/0x130 [ 25.785295] ? fsnotify_first_mark+0x2b0/0x2b0 [ 25.789846] ? lock_downgrade+0x980/0x980 [ 25.793968] ? array_of_map_alloc+0x130/0x130 [ 25.798429] ? __bpf_map_put+0x2e0/0x2e0 [ 25.802456] bpf_map_release+0x84/0xc0 [ 25.806315] __fput+0x327/0x7e0 [ 25.809569] ? fput+0x140/0x140 [ 25.812818] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 25.818683] ____fput+0x15/0x20 [ 25.821933] task_work_run+0x199/0x270 [ 25.825791] ? task_work_cancel+0x210/0x210 [ 25.830079] ? free_nsproxy+0x185/0x1f0 [ 25.834030] ? switch_task_namespaces+0xa2/0xc0 [ 25.838673] do_exit+0x9bb/0x1ad0 [ 25.842095] ? __pmd_alloc+0x4e0/0x4e0 [ 25.845948] ? vma_link+0xe9/0x170 [ 25.849461] ? mm_update_next_owner+0x930/0x930 [ 25.854105] ? find_held_lock+0x35/0x1d0 [ 25.858149] ? handle_mm_fault+0x2a0/0x930 [ 25.862356] ? find_held_lock+0x35/0x1d0 [ 25.866393] ? __do_page_fault+0x5f7/0xc90 [ 25.870597] ? lock_downgrade+0x980/0x980 [ 25.874721] ? down_read_trylock+0xdb/0x170 [ 25.879020] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 25.883571] ? vmacache_find+0x5f/0x280 [ 25.887511] ? vmacache_update+0xfe/0x130 [ 25.891633] ? up_read+0x1a/0x40 [ 25.894978] ? __do_page_fault+0x3d6/0xc90 [ 25.899187] ? mm_fault_error+0x2c0/0x2c0 [ 25.903313] ? do_page_fault+0xee/0x720 [ 25.907257] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 25.912773] ? __do_page_fault+0xc90/0xc90 [ 25.917004] do_group_exit+0x149/0x400 [ 25.920868] ? SyS_exit+0x30/0x30 [ 25.924292] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.929280] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.934023] SyS_exit_group+0x1d/0x20 [ 25.937799] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.942522] RIP: 0033:0x440a69 [ 25.945681] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 25.953357] RAX: ffffffffffffffda RBX: 00007ffecdff64b0 RCX: 0000000000440a69 [ 25.960596] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 25.967834] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 25.975081] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 25.982320] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 25.989575] [ 25.991172] Allocated by task 3492: [ 25.994772] save_stack+0x43/0xd0 [ 25.998194] kasan_kmalloc+0xad/0xe0 [ 26.001877] __kmalloc_node+0x47/0x70 [ 26.005654] bpf_map_area_alloc+0x32/0x80 [ 26.009770] array_map_alloc+0x351/0xa00 [ 26.013797] fd_array_map_alloc+0x57/0x70 [ 26.017914] SyS_bpf+0x7f8/0x4400 [ 26.022726] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.027449] [ 26.029047] Freed by task 1865: [ 26.032299] save_stack+0x43/0xd0 [ 26.035730] __kasan_slab_free+0x11a/0x170 [ 26.039933] kasan_slab_free+0xe/0x10 [ 26.043703] kfree+0xd9/0x260 [ 26.046778] single_release+0x80/0xb0 [ 26.050547] __fput+0x327/0x7e0 [ 26.053797] ____fput+0x15/0x20 [ 26.057053] task_work_run+0x199/0x270 [ 26.060907] exit_to_usermode_loop+0x275/0x2f0 [ 26.065464] syscall_return_slowpath+0x490/0x550 [ 26.070198] entry_SYSCALL_64_fastpath+0x9e/0xa0 [ 26.074921] [ 26.076520] The buggy address belongs to the object at ffff8801cc746b40 [ 26.076520] which belongs to the cache kmalloc-256 of size 256 [ 26.089145] The buggy address is located 0 bytes to the right of [ 26.089145] 256-byte region [ffff8801cc746b40, ffff8801cc746c40) [ 26.101339] The buggy address belongs to the page: [ 26.106242] page:ffffea000731d180 count:1 mapcount:0 mapping:ffff8801cc746000 index:0xffff8801cc746280 [ 26.115655] flags: 0x2fffc0000000100(slab) [ 26.119858] raw: 02fffc0000000100 ffff8801cc746000 ffff8801cc746280 0000000100000009 [ 26.127714] raw: ffffea00072d9220 ffffea0007363f20 ffff8801dac007c0 0000000000000000 [ 26.135678] page dumped because: kasan: bad access detected [ 26.141354] [ 26.142959] Memory state around the buggy address: [ 26.147857] ffff8801cc746b00: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 26.155187] ffff8801cc746b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.162516] >ffff8801cc746c00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 26.169854] ^ [ 26.175281] ffff8801cc746c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.182615] ffff8801cc746d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.189948] ================================================================== [ 26.197273] Disabling lock debugging due to kernel taint [ 26.202796] Kernel panic - not syncing: panic_on_warn set ... [ 26.202796] [ 26.210161] CPU: 0 PID: 3492 Comm: syzkaller508479 Tainted: G B 4.15.0-rc7-mm1+ #53 [ 26.219146] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.228470] Call Trace: [ 26.231030] dump_stack+0x194/0x257 [ 26.234625] ? arch_local_irq_restore+0x53/0x53 [ 26.239263] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.243985] ? vsnprintf+0x1ed/0x1900 [ 26.247763] ? perf_event_fd_array_release+0x400/0x480 [ 26.253011] panic+0x1e4/0x41c [ 26.256173] ? refcount_error_report+0x214/0x214 [ 26.260925] ? add_taint+0x1c/0x50 [ 26.264439] ? add_taint+0x1c/0x50 [ 26.267987] ? perf_event_fd_array_release+0x435/0x480 [ 26.273240] kasan_end_report+0x50/0x50 [ 26.277185] kasan_report+0x148/0x360 [ 26.280973] __asan_report_load8_noabort+0x14/0x20 [ 26.285876] perf_event_fd_array_release+0x435/0x480 [ 26.290951] ? array_of_map_alloc+0x130/0x130 [ 26.295415] ? fsnotify_first_mark+0x2b0/0x2b0 [ 26.299963] ? lock_downgrade+0x980/0x980 [ 26.304081] ? array_of_map_alloc+0x130/0x130 [ 26.308543] ? __bpf_map_put+0x2e0/0x2e0 [ 26.312570] bpf_map_release+0x84/0xc0 [ 26.316427] __fput+0x327/0x7e0 [ 26.320484] ? fput+0x140/0x140 [ 26.323733] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 26.329587] ____fput+0x15/0x20 [ 26.332833] task_work_run+0x199/0x270 [ 26.336687] ? task_work_cancel+0x210/0x210 [ 26.340975] ? free_nsproxy+0x185/0x1f0 [ 26.344917] ? switch_task_namespaces+0xa2/0xc0 [ 26.349555] do_exit+0x9bb/0x1ad0 [ 26.352987] ? __pmd_alloc+0x4e0/0x4e0 [ 26.356842] ? vma_link+0xe9/0x170 [ 26.360360] ? mm_update_next_owner+0x930/0x930 [ 26.364993] ? find_held_lock+0x35/0x1d0 [ 26.369034] ? handle_mm_fault+0x2a0/0x930 [ 26.373235] ? find_held_lock+0x35/0x1d0 [ 26.377267] ? __do_page_fault+0x5f7/0xc90 [ 26.381468] ? lock_downgrade+0x980/0x980 [ 26.385587] ? down_read_trylock+0xdb/0x170 [ 26.389876] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 26.394422] ? vmacache_find+0x5f/0x280 [ 26.398361] ? vmacache_update+0xfe/0x130 [ 26.402478] ? up_read+0x1a/0x40 [ 26.405818] ? __do_page_fault+0x3d6/0xc90 [ 26.410025] ? mm_fault_error+0x2c0/0x2c0 [ 26.414143] ? do_page_fault+0xee/0x720 [ 26.418092] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 26.423596] ? __do_page_fault+0xc90/0xc90 [ 26.427802] do_group_exit+0x149/0x400 [ 26.431656] ? SyS_exit+0x30/0x30 [ 26.435079] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.440061] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.444792] SyS_exit_group+0x1d/0x20 [ 26.448560] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.453282] RIP: 0033:0x440a69 [ 26.456437] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 26.464109] RAX: ffffffffffffffda RBX: 00007ffecdff64b0 RCX: 0000000000440a69 [ 26.471344] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 26.478580] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 26.485816] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 26.493053] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 26.500335] Dumping ftrace buffer: [ 26.503857] (ftrace buffer empty) [ 26.507534] Kernel Offset: disabled [ 26.511144] Rebooting in 86400 seconds..