[....] Starting enhanced syslogd: rsyslogd[ 11.443053] audit: type=1400 audit(1515653669.920:5): avc: denied { syslog } for pid=3350 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.087773] audit: type=1400 audit(1515653675.565:6): avc: denied { map } for pid=3489 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.199' (ECDSA) to the list of known hosts. [ 38.274156] audit: type=1400 audit(1515653696.751:7): avc: denied { map } for pid=3507 comm="syzkaller371743" path="/root/syzkaller371743721" 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 [ 38.300146] audit: type=1400 audit(1515653696.754:8): avc: denied { sys_admin } for pid=3507 comm="syzkaller371743" 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 [ 38.325446] audit: type=1400 audit(1515653696.803:9): avc: denied { sys_chroot } for pid=3508 comm="syzkaller371743" 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 [ 38.349963] audit: type=1400 audit(1515653696.803:10): avc: denied { map_create } for pid=3508 comm="syzkaller371743" 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 [ 38.372651] audit: type=1400 audit(1515653696.804:11): avc: denied { map_read map_write } for pid=3508 comm="syzkaller371743" 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 [ 38.405928] ================================================================== [ 38.413332] BUG: KASAN: slab-out-of-bounds in perf_event_fd_array_release+0x435/0x480 [ 38.421280] Read of size 8 at addr ffff8801bde90100 by task syzkaller371743/3508 [ 38.428805] [ 38.430403] CPU: 1 PID: 3508 Comm: syzkaller371743 Not tainted 4.15.0-rc7-mm1+ #53 [ 38.438078] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.447401] Call Trace: [ 38.449963] dump_stack+0x194/0x257 [ 38.453561] ? arch_local_irq_restore+0x53/0x53 [ 38.458200] ? show_regs_print_info+0x18/0x18 [ 38.462668] ? lock_release+0xa40/0xa40 [ 38.466613] ? perf_event_fd_array_release+0x435/0x480 [ 38.471861] print_address_description+0x73/0x250 [ 38.476673] ? perf_event_fd_array_release+0x435/0x480 [ 38.481923] kasan_report+0x23b/0x360 [ 38.485705] __asan_report_load8_noabort+0x14/0x20 [ 38.490602] perf_event_fd_array_release+0x435/0x480 [ 38.495679] ? array_of_map_alloc+0x130/0x130 [ 38.500148] ? fsnotify_first_mark+0x2b0/0x2b0 [ 38.504696] ? lock_downgrade+0x980/0x980 [ 38.508814] ? array_of_map_alloc+0x130/0x130 [ 38.513275] ? __bpf_map_put+0x2e0/0x2e0 [ 38.517303] bpf_map_release+0x84/0xc0 [ 38.521159] __fput+0x327/0x7e0 [ 38.524412] ? fput+0x140/0x140 [ 38.527662] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 38.533521] ____fput+0x15/0x20 [ 38.536772] task_work_run+0x199/0x270 [ 38.540628] ? task_work_cancel+0x210/0x210 [ 38.544919] ? free_nsproxy+0x185/0x1f0 [ 38.548863] ? switch_task_namespaces+0xa2/0xc0 [ 38.553503] do_exit+0x9bb/0x1ad0 [ 38.556923] ? __pmd_alloc+0x4e0/0x4e0 [ 38.560779] ? vma_link+0xe9/0x170 [ 38.564295] ? mm_update_next_owner+0x930/0x930 [ 38.568934] ? find_held_lock+0x35/0x1d0 [ 38.572972] ? handle_mm_fault+0x2a0/0x930 [ 38.577176] ? find_held_lock+0x35/0x1d0 [ 38.581212] ? __do_page_fault+0x5f7/0xc90 [ 38.585414] ? lock_downgrade+0x980/0x980 [ 38.589539] ? down_read_trylock+0xdb/0x170 [ 38.593840] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 38.598389] ? vmacache_find+0x5f/0x280 [ 38.602328] ? vmacache_update+0xfe/0x130 [ 38.606446] ? up_read+0x1a/0x40 [ 38.609782] ? __do_page_fault+0x3d6/0xc90 [ 38.613993] ? mm_fault_error+0x2c0/0x2c0 [ 38.618119] ? do_page_fault+0xee/0x720 [ 38.622063] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 38.627565] ? __do_page_fault+0xc90/0xc90 [ 38.631779] do_group_exit+0x149/0x400 [ 38.635635] ? SyS_exit+0x30/0x30 [ 38.639057] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 38.644051] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.648797] SyS_exit_group+0x1d/0x20 [ 38.652568] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 38.657289] RIP: 0033:0x440a69 [ 38.660449] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 38.668123] RAX: ffffffffffffffda RBX: 00007ffc6bbf95f0 RCX: 0000000000440a69 [ 38.675707] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 38.682945] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 38.690184] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 38.697423] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 38.704675] [ 38.706280] Allocated by task 3508: [ 38.709877] save_stack+0x43/0xd0 [ 38.713297] kasan_kmalloc+0xad/0xe0 [ 38.716977] __kmalloc_node+0x47/0x70 [ 38.720747] bpf_map_area_alloc+0x32/0x80 [ 38.724868] array_map_alloc+0x351/0xa00 [ 38.728896] fd_array_map_alloc+0x57/0x70 [ 38.733011] SyS_bpf+0x7f8/0x4400 [ 38.736431] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 38.741151] [ 38.742744] Freed by task 1963: [ 38.745994] save_stack+0x43/0xd0 [ 38.749412] __kasan_slab_free+0x11a/0x170 [ 38.753613] kasan_slab_free+0xe/0x10 [ 38.757376] kfree+0xd9/0x260 [ 38.760448] single_release+0x80/0xb0 [ 38.764211] __fput+0x327/0x7e0 [ 38.767456] ____fput+0x15/0x20 [ 38.770705] task_work_run+0x199/0x270 [ 38.774558] exit_to_usermode_loop+0x275/0x2f0 [ 38.779105] syscall_return_slowpath+0x490/0x550 [ 38.783827] entry_SYSCALL_64_fastpath+0x9e/0xa0 [ 38.788547] [ 38.790142] The buggy address belongs to the object at ffff8801bde90000 [ 38.790142] which belongs to the cache kmalloc-256 of size 256 [ 38.802764] The buggy address is located 0 bytes to the right of [ 38.802764] 256-byte region [ffff8801bde90000, ffff8801bde90100) [ 38.814950] The buggy address belongs to the page: [ 38.819848] page:ffffea0006f7a400 count:1 mapcount:0 mapping:ffff8801bde90000 index:0x0 [ 38.827957] flags: 0x2fffc0000000100(slab) [ 38.832171] raw: 02fffc0000000100 ffff8801bde90000 0000000000000000 000000010000000c [ 38.840020] raw: ffffea0006f7c6a0 ffffea0006f7c7a0 ffff8801dac007c0 0000000000000000 [ 38.847873] page dumped because: kasan: bad access detected [ 38.853545] [ 38.855137] Memory state around the buggy address: [ 38.860030] ffff8801bde90000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 38.867354] ffff8801bde90080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 38.874681] >ffff8801bde90100: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 38.882016] ^ [ 38.885348] ffff8801bde90180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.892672] ffff8801bde90200: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 38.900000] ================================================================== [ 38.907330] Disabling lock debugging due to kernel taint [ 38.912832] Kernel panic - not syncing: panic_on_warn set ... [ 38.912832] [ 38.920164] CPU: 1 PID: 3508 Comm: syzkaller371743 Tainted: G B 4.15.0-rc7-mm1+ #53 [ 38.929135] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.938456] Call Trace: [ 38.941015] dump_stack+0x194/0x257 [ 38.944609] ? arch_local_irq_restore+0x53/0x53 [ 38.949245] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.953968] ? vsnprintf+0x1ed/0x1900 [ 38.957738] ? perf_event_fd_array_release+0x400/0x480 [ 38.962981] panic+0x1e4/0x41c [ 38.966142] ? refcount_error_report+0x214/0x214 [ 38.970863] ? add_taint+0x1c/0x50 [ 38.974369] ? add_taint+0x1c/0x50 [ 38.977876] ? perf_event_fd_array_release+0x435/0x480 [ 38.983119] kasan_end_report+0x50/0x50 [ 38.987058] kasan_report+0x148/0x360 [ 38.990825] __asan_report_load8_noabort+0x14/0x20 [ 38.995721] perf_event_fd_array_release+0x435/0x480 [ 39.000799] ? array_of_map_alloc+0x130/0x130 [ 39.005263] ? fsnotify_first_mark+0x2b0/0x2b0 [ 39.009811] ? lock_downgrade+0x980/0x980 [ 39.013925] ? array_of_map_alloc+0x130/0x130 [ 39.018384] ? __bpf_map_put+0x2e0/0x2e0 [ 39.022411] bpf_map_release+0x84/0xc0 [ 39.026265] __fput+0x327/0x7e0 [ 39.029512] ? fput+0x140/0x140 [ 39.032762] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 39.038614] ____fput+0x15/0x20 [ 39.041861] task_work_run+0x199/0x270 [ 39.045715] ? task_work_cancel+0x210/0x210 [ 39.050005] ? free_nsproxy+0x185/0x1f0 [ 39.053945] ? switch_task_namespaces+0xa2/0xc0 [ 39.058590] do_exit+0x9bb/0x1ad0 [ 39.062009] ? __pmd_alloc+0x4e0/0x4e0 [ 39.065859] ? vma_link+0xe9/0x170 [ 39.069369] ? mm_update_next_owner+0x930/0x930 [ 39.074012] ? find_held_lock+0x35/0x1d0 [ 39.078043] ? handle_mm_fault+0x2a0/0x930 [ 39.082244] ? find_held_lock+0x35/0x1d0 [ 39.086286] ? __do_page_fault+0x5f7/0xc90 [ 39.090498] ? lock_downgrade+0x980/0x980 [ 39.094634] ? down_read_trylock+0xdb/0x170 [ 39.098926] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 39.103473] ? vmacache_find+0x5f/0x280 [ 39.107410] ? vmacache_update+0xfe/0x130 [ 39.111526] ? up_read+0x1a/0x40 [ 39.114868] ? __do_page_fault+0x3d6/0xc90 [ 39.119080] ? mm_fault_error+0x2c0/0x2c0 [ 39.123199] ? do_page_fault+0xee/0x720 [ 39.127141] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 39.132645] ? __do_page_fault+0xc90/0xc90 [ 39.136850] do_group_exit+0x149/0x400 [ 39.140703] ? SyS_exit+0x30/0x30 [ 39.144125] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 39.149107] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 39.153829] SyS_exit_group+0x1d/0x20 [ 39.157596] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 39.162315] RIP: 0033:0x440a69 [ 39.165471] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 39.173144] RAX: ffffffffffffffda RBX: 00007ffc6bbf95f0 RCX: 0000000000440a69 [ 39.180379] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 39.187616] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 39.194853] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 39.202089] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 39.209368] Dumping ftrace buffer: [ 39.212875] (ftrace buffer empty) [ 39.216552] Kernel Offset: disabled [ 39.220159] Rebooting in 86400 seconds..