[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 12.428636] audit: type=1400 audit(1515688578.664:6): avc: denied { map } for pid=3467 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.29' (ECDSA) to the list of known hosts. syzkaller login: [ 48.583461] audit: type=1400 audit(1515688614.819:7): avc: denied { map } for pid=3486 comm="syzkaller419288" path="/root/syzkaller419288071" 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 [ 48.609470] audit: type=1400 audit(1515688614.819:8): avc: denied { sys_admin } for pid=3486 comm="syzkaller419288" 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 [ 48.637656] audit: type=1400 audit(1515688614.873:9): avc: denied { sys_chroot } for pid=3487 comm="syzkaller419288" 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 [ 48.662169] audit: type=1400 audit(1515688614.874:10): avc: denied { map_create } for pid=3487 comm="syzkaller419288" 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 [ 48.685285] audit: type=1400 audit(1515688614.874:11): avc: denied { map_read map_write } for pid=3487 comm="syzkaller419288" 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 [ 48.711151] ================================================================== [ 48.718537] BUG: KASAN: slab-out-of-bounds in perf_event_fd_array_release+0x435/0x480 [ 48.726474] Read of size 8 at addr ffff8801c056ac80 by task syzkaller419288/3487 [ 48.733976] [ 48.735576] CPU: 1 PID: 3487 Comm: syzkaller419288 Not tainted 4.15.0-rc7-next-20180111+ #94 [ 48.744119] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.753439] Call Trace: [ 48.756002] dump_stack+0x194/0x257 [ 48.759604] ? arch_local_irq_restore+0x53/0x53 [ 48.764242] ? show_regs_print_info+0x18/0x18 [ 48.768710] ? lock_release+0xa40/0xa40 [ 48.772654] ? perf_event_fd_array_release+0x435/0x480 [ 48.777908] print_address_description+0x73/0x250 [ 48.782721] ? perf_event_fd_array_release+0x435/0x480 [ 48.787965] kasan_report+0x23b/0x360 [ 48.791746] __asan_report_load8_noabort+0x14/0x20 [ 48.796643] perf_event_fd_array_release+0x435/0x480 [ 48.801720] ? array_of_map_alloc+0x130/0x130 [ 48.806188] ? fsnotify_first_mark+0x2b0/0x2b0 [ 48.810736] ? lock_downgrade+0x980/0x980 [ 48.814857] ? array_of_map_alloc+0x130/0x130 [ 48.819323] ? __bpf_map_put+0x2e0/0x2e0 [ 48.823381] bpf_map_release+0x84/0xc0 [ 48.827242] __fput+0x327/0x7e0 [ 48.830499] ? fput+0x140/0x140 [ 48.833750] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 48.839610] ____fput+0x15/0x20 [ 48.842860] task_work_run+0x199/0x270 [ 48.846719] ? task_work_cancel+0x210/0x210 [ 48.851008] ? free_nsproxy+0x185/0x1f0 [ 48.854952] ? switch_task_namespaces+0xa2/0xc0 [ 48.859597] do_exit+0x9bb/0x1ad0 [ 48.863018] ? __pmd_alloc+0x4e0/0x4e0 [ 48.866873] ? vma_link+0xe9/0x170 [ 48.870385] ? mm_update_next_owner+0x930/0x930 [ 48.875034] ? find_held_lock+0x35/0x1d0 [ 48.879071] ? handle_mm_fault+0x2a0/0x930 [ 48.883279] ? find_held_lock+0x35/0x1d0 [ 48.887318] ? __do_page_fault+0x5f7/0xc90 [ 48.891525] ? lock_downgrade+0x980/0x980 [ 48.895652] ? down_read_trylock+0xdb/0x170 [ 48.899946] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 48.904496] ? vmacache_find+0x5f/0x280 [ 48.908436] ? vmacache_update+0xfe/0x130 [ 48.912555] ? up_read+0x1a/0x40 [ 48.915890] ? __do_page_fault+0x3d6/0xc90 [ 48.920100] ? mm_fault_error+0x2c0/0x2c0 [ 48.924226] ? do_page_fault+0xee/0x720 [ 48.928171] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 48.933678] ? __do_page_fault+0xc90/0xc90 [ 48.937894] do_group_exit+0x149/0x400 [ 48.941752] ? SyS_exit+0x30/0x30 [ 48.945176] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 48.950165] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.954895] SyS_exit_group+0x1d/0x20 [ 48.958667] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 48.963393] RIP: 0033:0x440a69 [ 48.966554] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 48.974234] RAX: ffffffffffffffda RBX: 00007ffca3d0ec40 RCX: 0000000000440a69 [ 48.981476] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 48.988715] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 48.995956] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 49.003195] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 49.010449] [ 49.012045] Allocated by task 3487: [ 49.015642] save_stack+0x43/0xd0 [ 49.019064] kasan_kmalloc+0xad/0xe0 [ 49.022742] __kmalloc_node+0x47/0x70 [ 49.026510] bpf_map_area_alloc+0x32/0x80 [ 49.030627] array_map_alloc+0x351/0xa00 [ 49.034669] fd_array_map_alloc+0x57/0x70 [ 49.038784] SyS_bpf+0x7f8/0x4400 [ 49.042205] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 49.046924] [ 49.048518] Freed by task 1957: [ 49.051767] save_stack+0x43/0xd0 [ 49.055188] __kasan_slab_free+0x11a/0x170 [ 49.059389] kasan_slab_free+0xe/0x10 [ 49.063157] kfree+0xd9/0x260 [ 49.066230] single_release+0x80/0xb0 [ 49.070010] __fput+0x327/0x7e0 [ 49.073270] ____fput+0x15/0x20 [ 49.076525] task_work_run+0x199/0x270 [ 49.080382] exit_to_usermode_loop+0x275/0x2f0 [ 49.084933] syscall_return_slowpath+0x490/0x550 [ 49.089658] entry_SYSCALL_64_fastpath+0x9e/0xa0 [ 49.094393] [ 49.096008] The buggy address belongs to the object at ffff8801c056ab80 [ 49.096008] which belongs to the cache kmalloc-256 of size 256 [ 49.108649] The buggy address is located 0 bytes to the right of [ 49.108649] 256-byte region [ffff8801c056ab80, ffff8801c056ac80) [ 49.120841] The buggy address belongs to the page: [ 49.125747] page:ffffea0007015a80 count:1 mapcount:0 mapping:ffff8801c056a040 index:0xffff8801c056a900 [ 49.135166] flags: 0x2fffc0000000100(slab) [ 49.139371] raw: 02fffc0000000100 ffff8801c056a040 ffff8801c056a900 000000010000000b [ 49.147231] raw: ffffea0007019660 ffffea0007004f60 ffff8801dac007c0 0000000000000000 [ 49.155091] page dumped because: kasan: bad access detected [ 49.160767] [ 49.162361] Memory state around the buggy address: [ 49.167256] ffff8801c056ab80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 49.174584] ffff8801c056ac00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 49.181912] >ffff8801c056ac80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 49.189238] ^ [ 49.192571] ffff8801c056ad00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.199900] ffff8801c056ad80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 49.207227] ================================================================== [ 49.214554] Disabling lock debugging due to kernel taint [ 49.220045] Kernel panic - not syncing: panic_on_warn set ... [ 49.220045] [ 49.227384] CPU: 1 PID: 3487 Comm: syzkaller419288 Tainted: G B 4.15.0-rc7-next-20180111+ #94 [ 49.237232] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.246557] Call Trace: [ 49.249130] dump_stack+0x194/0x257 [ 49.252729] ? arch_local_irq_restore+0x53/0x53 [ 49.257369] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 49.262093] ? vsnprintf+0x1ed/0x1900 [ 49.265863] ? perf_event_fd_array_release+0x3c0/0x480 [ 49.271107] panic+0x1e4/0x41c [ 49.274267] ? refcount_error_report+0x214/0x214 [ 49.279009] ? add_taint+0x1c/0x50 [ 49.282518] ? add_taint+0x1c/0x50 [ 49.286026] ? perf_event_fd_array_release+0x435/0x480 [ 49.291270] kasan_end_report+0x50/0x50 [ 49.295226] kasan_report+0x148/0x360 [ 49.298994] __asan_report_load8_noabort+0x14/0x20 [ 49.303893] perf_event_fd_array_release+0x435/0x480 [ 49.308963] ? array_of_map_alloc+0x130/0x130 [ 49.313426] ? fsnotify_first_mark+0x2b0/0x2b0 [ 49.317973] ? lock_downgrade+0x980/0x980 [ 49.322089] ? array_of_map_alloc+0x130/0x130 [ 49.326549] ? __bpf_map_put+0x2e0/0x2e0 [ 49.330575] bpf_map_release+0x84/0xc0 [ 49.334435] __fput+0x327/0x7e0 [ 49.337685] ? fput+0x140/0x140 [ 49.340934] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 49.346788] ____fput+0x15/0x20 [ 49.350037] task_work_run+0x199/0x270 [ 49.353893] ? task_work_cancel+0x210/0x210 [ 49.358180] ? free_nsproxy+0x185/0x1f0 [ 49.362121] ? switch_task_namespaces+0xa2/0xc0 [ 49.366759] do_exit+0x9bb/0x1ad0 [ 49.370181] ? __pmd_alloc+0x4e0/0x4e0 [ 49.374035] ? vma_link+0xe9/0x170 [ 49.377542] ? mm_update_next_owner+0x930/0x930 [ 49.382178] ? find_held_lock+0x35/0x1d0 [ 49.386209] ? handle_mm_fault+0x2a0/0x930 [ 49.390413] ? find_held_lock+0x35/0x1d0 [ 49.394444] ? __do_page_fault+0x5f7/0xc90 [ 49.398646] ? lock_downgrade+0x980/0x980 [ 49.402762] ? down_read_trylock+0xdb/0x170 [ 49.407051] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 49.411597] ? vmacache_find+0x5f/0x280 [ 49.415536] ? vmacache_update+0xfe/0x130 [ 49.419650] ? up_read+0x1a/0x40 [ 49.422980] ? __do_page_fault+0x3d6/0xc90 [ 49.427183] ? mm_fault_error+0x2c0/0x2c0 [ 49.431300] ? do_page_fault+0xee/0x720 [ 49.435245] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 49.440753] ? __do_page_fault+0xc90/0xc90 [ 49.444958] do_group_exit+0x149/0x400 [ 49.448811] ? SyS_exit+0x30/0x30 [ 49.452231] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 49.457212] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 49.461935] SyS_exit_group+0x1d/0x20 [ 49.465702] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 49.470424] RIP: 0033:0x440a69 [ 49.473580] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 49.481262] RAX: ffffffffffffffda RBX: 00007ffca3d0ec40 RCX: 0000000000440a69 [ 49.488503] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 49.495738] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 49.502972] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 49.510208] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 49.517488] Dumping ftrace buffer: [ 49.520992] (ftrace buffer empty) [ 49.524668] Kernel Offset: disabled [ 49.528263] Rebooting in 86400 seconds..