[....] Starting enhanced syslogd: rsyslogd[ 11.954815] audit: type=1400 audit(1515690949.841:5): avc: denied { syslog } for pid=3358 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.899442] audit: type=1400 audit(1515690956.786:6): avc: denied { map } for pid=3500 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.16' (ECDSA) to the list of known hosts. [ 27.406047] audit: type=1400 audit(1515690965.292:7): avc: denied { map } for pid=3515 comm="syzkaller388020" path="/root/syzkaller388020206" 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 [ 27.432109] audit: type=1400 audit(1515690965.293:8): avc: denied { sys_admin } for pid=3515 comm="syzkaller388020" 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 [ 27.458659] audit: type=1400 audit(1515690965.345:9): avc: denied { sys_chroot } for pid=3516 comm="syzkaller388020" 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 [ 27.483221] audit: type=1400 audit(1515690965.346:10): avc: denied { map_create } for pid=3516 comm="syzkaller388020" 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 [ 27.505915] audit: type=1400 audit(1515690965.347:11): avc: denied { map_read map_write } for pid=3516 comm="syzkaller388020" 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 [ 27.508016] ================================================================== [ 27.508032] BUG: KASAN: slab-out-of-bounds in perf_event_fd_array_release+0x435/0x480 [ 27.508036] Read of size 8 at addr ffff8801bf2dd280 by task syzkaller388020/3516 [ 27.508038] [ 27.508044] CPU: 1 PID: 3516 Comm: syzkaller388020 Not tainted 4.15.0-rc7-mm1+ #53 [ 27.508047] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.508049] Call Trace: [ 27.508057] dump_stack+0x194/0x257 [ 27.508065] ? arch_local_irq_restore+0x53/0x53 [ 27.508071] ? show_regs_print_info+0x18/0x18 [ 27.508080] ? lock_release+0xa40/0xa40 [ 27.508087] ? perf_event_fd_array_release+0x435/0x480 [ 27.508097] print_address_description+0x73/0x250 [ 27.508102] ? perf_event_fd_array_release+0x435/0x480 [ 27.508109] kasan_report+0x23b/0x360 [ 27.508118] __asan_report_load8_noabort+0x14/0x20 [ 27.508123] perf_event_fd_array_release+0x435/0x480 [ 27.508133] ? array_of_map_alloc+0x130/0x130 [ 27.508142] ? fsnotify_first_mark+0x2b0/0x2b0 [ 27.508151] ? lock_downgrade+0x980/0x980 [ 27.508159] ? array_of_map_alloc+0x130/0x130 [ 27.508163] ? __bpf_map_put+0x2e0/0x2e0 [ 27.508167] bpf_map_release+0x84/0xc0 [ 27.508175] __fput+0x327/0x7e0 [ 27.508186] ? fput+0x140/0x140 [ 27.508194] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 27.508206] ____fput+0x15/0x20 [ 27.508212] task_work_run+0x199/0x270 [ 27.508220] ? task_work_cancel+0x210/0x210 [ 27.508225] ? free_nsproxy+0x185/0x1f0 [ 27.508231] ? switch_task_namespaces+0xa2/0xc0 [ 27.508243] do_exit+0x9bb/0x1ad0 [ 27.508248] ? __pmd_alloc+0x4e0/0x4e0 [ 27.508251] ? vma_link+0xe9/0x170 [ 27.508261] ? mm_update_next_owner+0x930/0x930 [ 27.508266] ? find_held_lock+0x35/0x1d0 [ 27.508278] ? handle_mm_fault+0x2a0/0x930 [ 27.508286] ? find_held_lock+0x35/0x1d0 [ 27.508301] ? __do_page_fault+0x5f7/0xc90 [ 27.508307] ? lock_downgrade+0x980/0x980 [ 27.508321] ? down_read_trylock+0xdb/0x170 [ 27.508328] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 27.508331] ? vmacache_find+0x5f/0x280 [ 27.508335] ? vmacache_update+0xfe/0x130 [ 27.508345] ? up_read+0x1a/0x40 [ 27.508351] ? __do_page_fault+0x3d6/0xc90 [ 27.508363] ? mm_fault_error+0x2c0/0x2c0 [ 27.508378] ? do_page_fault+0xee/0x720 [ 27.508385] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 27.508391] ? __do_page_fault+0xc90/0xc90 [ 27.508405] do_group_exit+0x149/0x400 [ 27.508412] ? SyS_exit+0x30/0x30 [ 27.508419] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 27.508425] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.508434] SyS_exit_group+0x1d/0x20 [ 27.508441] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 27.508445] RIP: 0033:0x440a69 [ 27.508447] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 27.508452] RAX: ffffffffffffffda RBX: 00007ffd6d1f7dc0 RCX: 0000000000440a69 [ 27.508455] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 27.508457] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 27.508459] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 27.508462] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 27.508479] [ 27.508481] Allocated by task 3516: [ 27.508485] save_stack+0x43/0xd0 [ 27.508489] kasan_kmalloc+0xad/0xe0 [ 27.508492] __kmalloc_node+0x47/0x70 [ 27.508496] bpf_map_area_alloc+0x32/0x80 [ 27.508500] array_map_alloc+0x351/0xa00 [ 27.508503] fd_array_map_alloc+0x57/0x70 [ 27.508506] SyS_bpf+0x7f8/0x4400 [ 27.508510] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 27.508511] [ 27.508512] Freed by task 1974: [ 27.508516] save_stack+0x43/0xd0 [ 27.508520] __kasan_slab_free+0x11a/0x170 [ 27.508523] kasan_slab_free+0xe/0x10 [ 27.508527] kfree+0xd9/0x260 [ 27.508531] single_release+0x80/0xb0 [ 27.508534] __fput+0x327/0x7e0 [ 27.508537] ____fput+0x15/0x20 [ 27.508540] task_work_run+0x199/0x270 [ 27.508543] exit_to_usermode_loop+0x275/0x2f0 [ 27.508547] syscall_return_slowpath+0x490/0x550 [ 27.508550] entry_SYSCALL_64_fastpath+0x9e/0xa0 [ 27.508551] [ 27.508554] The buggy address belongs to the object at ffff8801bf2dd180 [ 27.508554] which belongs to the cache kmalloc-256 of size 256 [ 27.508558] The buggy address is located 0 bytes to the right of [ 27.508558] 256-byte region [ffff8801bf2dd180, ffff8801bf2dd280) [ 27.508559] The buggy address belongs to the page: [ 27.508563] page:ffffea0006fcb740 count:1 mapcount:0 mapping:ffff8801bf2dd040 index:0x0 [ 27.508568] flags: 0x2fffc0000000100(slab) [ 27.508574] raw: 02fffc0000000100 ffff8801bf2dd040 0000000000000000 000000010000000c [ 27.508578] raw: ffffea0006fcb620 ffffea0006fcbf20 ffff8801dac007c0 0000000000000000 [ 27.508580] page dumped because: kasan: bad access detected [ 27.508582] [ 27.508583] Memory state around the buggy address: [ 27.508586] ffff8801bf2dd180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.508589] ffff8801bf2dd200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.508592] >ffff8801bf2dd280: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 27.508594] ^ [ 27.508597] ffff8801bf2dd300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 27.508600] ffff8801bf2dd380: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 27.508601] ================================================================== [ 27.508603] Disabling lock debugging due to kernel taint [ 27.508630] Kernel panic - not syncing: panic_on_warn set ... [ 27.508630] [ 27.508634] CPU: 1 PID: 3516 Comm: syzkaller388020 Tainted: G B 4.15.0-rc7-mm1+ #53 [ 27.508636] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.508637] Call Trace: [ 27.508641] dump_stack+0x194/0x257 [ 27.508646] ? arch_local_irq_restore+0x53/0x53 [ 27.508651] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.508657] ? vsnprintf+0x1ed/0x1900 [ 27.508662] ? perf_event_fd_array_release+0x400/0x480 [ 27.508666] panic+0x1e4/0x41c [ 27.508671] ? refcount_error_report+0x214/0x214 [ 27.508677] ? add_taint+0x1c/0x50 [ 27.508682] ? add_taint+0x1c/0x50 [ 27.508688] ? perf_event_fd_array_release+0x435/0x480 [ 27.508692] kasan_end_report+0x50/0x50 [ 27.508696] kasan_report+0x148/0x360 [ 27.508702] __asan_report_load8_noabort+0x14/0x20 [ 27.508707] perf_event_fd_array_release+0x435/0x480 [ 27.508713] ? array_of_map_alloc+0x130/0x130 [ 27.508718] ? fsnotify_first_mark+0x2b0/0x2b0 [ 27.508722] ? lock_downgrade+0x980/0x980 [ 27.508727] ? array_of_map_alloc+0x130/0x130 [ 27.508730] ? __bpf_map_put+0x2e0/0x2e0 [ 27.508734] bpf_map_release+0x84/0xc0 [ 27.508738] __fput+0x327/0x7e0 [ 27.508745] ? fput+0x140/0x140 [ 27.508750] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 27.508757] ____fput+0x15/0x20 [ 27.508761] task_work_run+0x199/0x270 [ 27.508766] ? task_work_cancel+0x210/0x210 [ 27.508770] ? free_nsproxy+0x185/0x1f0 [ 27.508775] ? switch_task_namespaces+0xa2/0xc0 [ 27.508781] do_exit+0x9bb/0x1ad0 [ 27.508785] ? __pmd_alloc+0x4e0/0x4e0 [ 27.508788] ? vma_link+0xe9/0x170 [ 27.508794] ? mm_update_next_owner+0x930/0x930 [ 27.508798] ? find_held_lock+0x35/0x1d0 [ 27.508806] ? handle_mm_fault+0x2a0/0x930 [ 27.508811] ? find_held_lock+0x35/0x1d0 [ 27.508819] ? __do_page_fault+0x5f7/0xc90 [ 27.508824] ? lock_downgrade+0x980/0x980 [ 27.508832] ? down_read_trylock+0xdb/0x170 [ 27.508837] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 27.508840] ? vmacache_find+0x5f/0x280 [ 27.508844] ? vmacache_update+0xfe/0x130 [ 27.508850] ? up_read+0x1a/0x40 [ 27.508855] ? __do_page_fault+0x3d6/0xc90 [ 27.508862] ? mm_fault_error+0x2c0/0x2c0 [ 27.508872] ? do_page_fault+0xee/0x720 [ 27.508876] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 27.508880] ? __do_page_fault+0xc90/0xc90 [ 27.508889] do_group_exit+0x149/0x400 [ 27.508894] ? SyS_exit+0x30/0x30 [ 27.508899] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 27.508904] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.508910] SyS_exit_group+0x1d/0x20 [ 27.508918] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 27.508921] RIP: 0033:0x440a69 [ 27.508922] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 27.508926] RAX: ffffffffffffffda RBX: 00007ffd6d1f7dc0 RCX: 0000000000440a69 [ 27.508928] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 27.508930] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 27.508932] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 27.508934] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 27.529260] Dumping ftrace buffer: [ 27.529264] (ftrace buffer empty) [ 27.529266] Kernel Offset: disabled [ 28.343241] Rebooting in 86400 seconds..