[....] Starting enhanced syslogd: rsyslogd[ 12.421879] audit: type=1400 audit(1515653664.250:5): avc: denied { syslog } for pid=3356 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: [ 18.014421] audit: type=1400 audit(1515653669.843:6): avc: denied { map } for pid=3497 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.14' (ECDSA) to the list of known hosts. [ 24.202470] audit: type=1400 audit(1515653676.031:7): avc: denied { map } for pid=3511 comm="syzkaller942524" path="/root/syzkaller942524776" 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 [ 24.228599] audit: type=1400 audit(1515653676.031:8): avc: denied { sys_admin } for pid=3511 comm="syzkaller942524" 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 [ 24.258578] audit: type=1400 audit(1515653676.087:9): avc: denied { sys_chroot } for pid=3512 comm="syzkaller942524" 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 [ 24.283162] audit: type=1400 audit(1515653676.088:10): avc: denied { map_create } for pid=3512 comm="syzkaller942524" 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 [ 24.305949] audit: type=1400 audit(1515653676.088:11): avc: denied { map_read map_write } for pid=3512 comm="syzkaller942524" 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 [ 24.332471] ================================================================== [ 24.339868] BUG: KASAN: slab-out-of-bounds in perf_event_fd_array_release+0x435/0x480 [ 24.347821] Read of size 8 at addr ffff8801bffcaf00 by task syzkaller942524/3512 [ 24.355322] [ 24.356929] CPU: 0 PID: 3512 Comm: syzkaller942524 Not tainted 4.15.0-rc7-next-20180110+ #93 [ 24.365471] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.374806] Call Trace: [ 24.377369] dump_stack+0x194/0x257 [ 24.380967] ? arch_local_irq_restore+0x53/0x53 [ 24.385608] ? show_regs_print_info+0x18/0x18 [ 24.390079] ? lock_release+0xa40/0xa40 [ 24.394028] ? perf_event_fd_array_release+0x435/0x480 [ 24.399275] print_address_description+0x73/0x250 [ 24.404084] ? perf_event_fd_array_release+0x435/0x480 [ 24.409330] kasan_report+0x23b/0x360 [ 24.413104] __asan_report_load8_noabort+0x14/0x20 [ 24.418003] perf_event_fd_array_release+0x435/0x480 [ 24.423080] ? array_of_map_alloc+0x130/0x130 [ 24.427550] ? fsnotify_first_mark+0x2b0/0x2b0 [ 24.432101] ? lock_downgrade+0x980/0x980 [ 24.436237] ? array_of_map_alloc+0x130/0x130 [ 24.440708] ? __bpf_map_put+0x2e0/0x2e0 [ 24.444740] bpf_map_release+0x84/0xc0 [ 24.448602] __fput+0x327/0x7e0 [ 24.451875] ? fput+0x140/0x140 [ 24.455126] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.460985] ____fput+0x15/0x20 [ 24.464234] task_work_run+0x199/0x270 [ 24.468093] ? task_work_cancel+0x210/0x210 [ 24.472395] ? free_nsproxy+0x185/0x1f0 [ 24.476341] ? switch_task_namespaces+0xa2/0xc0 [ 24.480995] do_exit+0x9bb/0x1ad0 [ 24.484419] ? __pmd_alloc+0x4e0/0x4e0 [ 24.488275] ? vma_link+0xe9/0x170 [ 24.491792] ? mm_update_next_owner+0x930/0x930 [ 24.496432] ? find_held_lock+0x35/0x1d0 [ 24.500470] ? handle_mm_fault+0x2a0/0x930 [ 24.504677] ? find_held_lock+0x35/0x1d0 [ 24.508718] ? __do_page_fault+0x5f7/0xc90 [ 24.512924] ? lock_downgrade+0x980/0x980 [ 24.517059] ? down_read_trylock+0xdb/0x170 [ 24.521352] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 24.525903] ? vmacache_find+0x5f/0x280 [ 24.529856] ? vmacache_update+0xfe/0x130 [ 24.533994] ? up_read+0x1a/0x40 [ 24.537332] ? __do_page_fault+0x3d6/0xc90 [ 24.541540] ? mm_fault_error+0x2c0/0x2c0 [ 24.545667] ? do_page_fault+0xee/0x720 [ 24.549623] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 24.555130] ? __do_page_fault+0xc90/0xc90 [ 24.559352] do_group_exit+0x149/0x400 [ 24.563218] ? SyS_exit+0x30/0x30 [ 24.566642] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.571640] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.576370] SyS_exit_group+0x1d/0x20 [ 24.580150] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.584887] RIP: 0033:0x440a69 [ 24.588048] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 24.595724] RAX: ffffffffffffffda RBX: 00007fffad3d7550 RCX: 0000000000440a69 [ 24.602963] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 24.610214] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.617453] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 24.624692] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 24.631947] [ 24.633547] Allocated by task 3512: [ 24.637144] save_stack+0x43/0xd0 [ 24.640565] kasan_kmalloc+0xad/0xe0 [ 24.644250] __kmalloc_node+0x47/0x70 [ 24.648020] bpf_map_area_alloc+0x32/0x80 [ 24.652146] array_map_alloc+0x351/0xa00 [ 24.656177] fd_array_map_alloc+0x57/0x70 [ 24.660291] SyS_bpf+0x7f8/0x4400 [ 24.663715] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.668435] [ 24.670032] Freed by task 1981: [ 24.673291] save_stack+0x43/0xd0 [ 24.676722] __kasan_slab_free+0x11a/0x170 [ 24.680925] kasan_slab_free+0xe/0x10 [ 24.684693] kfree+0xd9/0x260 [ 24.687768] single_release+0x80/0xb0 [ 24.691535] __fput+0x327/0x7e0 [ 24.694790] ____fput+0x15/0x20 [ 24.698037] task_work_run+0x199/0x270 [ 24.701893] exit_to_usermode_loop+0x275/0x2f0 [ 24.706443] syscall_return_slowpath+0x490/0x550 [ 24.711180] entry_SYSCALL_64_fastpath+0x9e/0xa0 [ 24.715903] [ 24.717502] The buggy address belongs to the object at ffff8801bffcae00 [ 24.717502] which belongs to the cache kmalloc-256 of size 256 [ 24.730213] The buggy address is located 0 bytes to the right of [ 24.730213] 256-byte region [ffff8801bffcae00, ffff8801bffcaf00) [ 24.742400] The buggy address belongs to the page: [ 24.747308] page:ffffea0006fff280 count:1 mapcount:0 mapping:ffff8801bffca040 index:0x0 [ 24.755419] flags: 0x2fffc0000000100(slab) [ 24.759624] raw: 02fffc0000000100 ffff8801bffca040 0000000000000000 000000010000000c [ 24.767483] raw: ffffea0006ff16e0 ffffea0006fff3a0 ffff8801dac007c0 0000000000000000 [ 24.775342] page dumped because: kasan: bad access detected [ 24.781489] [ 24.783089] Memory state around the buggy address: [ 24.787987] ffff8801bffcae00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.795311] ffff8801bffcae80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.802646] >ffff8801bffcaf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.809972] ^ [ 24.813317] ffff8801bffcaf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.820645] ffff8801bffcb000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.827971] ================================================================== [ 24.835296] Disabling lock debugging due to kernel taint [ 24.840823] Kernel panic - not syncing: panic_on_warn set ... [ 24.840823] [ 24.848164] CPU: 0 PID: 3512 Comm: syzkaller942524 Tainted: G B 4.15.0-rc7-next-20180110+ #93 [ 24.858009] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.867345] Call Trace: [ 24.869909] dump_stack+0x194/0x257 [ 24.873514] ? arch_local_irq_restore+0x53/0x53 [ 24.878258] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.882990] ? vsnprintf+0x1ed/0x1900 [ 24.886762] ? perf_event_fd_array_release+0x360/0x480 [ 24.892009] panic+0x1e4/0x41c [ 24.895168] ? refcount_error_report+0x214/0x214 [ 24.899901] ? add_taint+0x1c/0x50 [ 24.903409] ? add_taint+0x1c/0x50 [ 24.906919] ? perf_event_fd_array_release+0x435/0x480 [ 24.912164] kasan_end_report+0x50/0x50 [ 24.916116] kasan_report+0x148/0x360 [ 24.919915] __asan_report_load8_noabort+0x14/0x20 [ 24.924820] perf_event_fd_array_release+0x435/0x480 [ 24.929899] ? array_of_map_alloc+0x130/0x130 [ 24.934363] ? fsnotify_first_mark+0x2b0/0x2b0 [ 24.938915] ? lock_downgrade+0x980/0x980 [ 24.943031] ? array_of_map_alloc+0x130/0x130 [ 24.947493] ? __bpf_map_put+0x2e0/0x2e0 [ 24.951532] bpf_map_release+0x84/0xc0 [ 24.955389] __fput+0x327/0x7e0 [ 24.958635] ? fput+0x140/0x140 [ 24.961883] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.967737] ____fput+0x15/0x20 [ 24.970986] task_work_run+0x199/0x270 [ 24.974841] ? task_work_cancel+0x210/0x210 [ 24.979229] ? free_nsproxy+0x185/0x1f0 [ 24.983179] ? switch_task_namespaces+0xa2/0xc0 [ 24.987818] do_exit+0x9bb/0x1ad0 [ 24.991596] ? __pmd_alloc+0x4e0/0x4e0 [ 24.995449] ? vma_link+0xe9/0x170 [ 24.998958] ? mm_update_next_owner+0x930/0x930 [ 25.003594] ? find_held_lock+0x35/0x1d0 [ 25.007635] ? handle_mm_fault+0x2a0/0x930 [ 25.011840] ? find_held_lock+0x35/0x1d0 [ 25.015873] ? __do_page_fault+0x5f7/0xc90 [ 25.020075] ? lock_downgrade+0x980/0x980 [ 25.024202] ? down_read_trylock+0xdb/0x170 [ 25.028502] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 25.033050] ? vmacache_find+0x5f/0x280 [ 25.037002] ? vmacache_update+0xfe/0x130 [ 25.041119] ? up_read+0x1a/0x40 [ 25.044451] ? __do_page_fault+0x3d6/0xc90 [ 25.048665] ? mm_fault_error+0x2c0/0x2c0 [ 25.052788] ? do_page_fault+0xee/0x720 [ 25.056732] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 25.062236] ? __do_page_fault+0xc90/0xc90 [ 25.066450] do_group_exit+0x149/0x400 [ 25.070318] ? SyS_exit+0x30/0x30 [ 25.073739] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.078722] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.083452] SyS_exit_group+0x1d/0x20 [ 25.087227] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.091962] RIP: 0033:0x440a69 [ 25.095122] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 25.102801] RAX: ffffffffffffffda RBX: 00007fffad3d7550 RCX: 0000000000440a69 [ 25.110041] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 25.117286] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 25.124532] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 25.131780] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 25.139077] Dumping ftrace buffer: [ 25.142587] (ftrace buffer empty) [ 25.146277] Kernel Offset: disabled [ 25.149888] Rebooting in 86400 seconds..