[....] Starting enhanced syslogd: rsyslogd[ 11.911690] audit: type=1400 audit(1515698305.129:5): avc: denied { syslog } for pid=3327 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.909217] audit: type=1400 audit(1515698311.126:6): avc: denied { map } for pid=3468 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.45' (ECDSA) to the list of known hosts. [ 24.304750] audit: type=1400 audit(1515698317.522:7): avc: denied { map } for pid=3482 comm="syzkaller452350" path="/root/syzkaller452350531" 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 [ 24.330738] audit: type=1400 audit(1515698317.525:8): avc: denied { sys_admin } for pid=3482 comm="syzkaller452350" 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 [ 24.357500] audit: type=1400 audit(1515698317.575:9): avc: denied { sys_chroot } for pid=3483 comm="syzkaller452350" 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.381991] audit: type=1400 audit(1515698317.576:10): avc: denied { map_create } for pid=3483 comm="syzkaller452350" 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.404735] audit: type=1400 audit(1515698317.576:11): avc: denied { map_read map_write } for pid=3483 comm="syzkaller452350" 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.405972] ================================================================== [ 24.405987] BUG: KASAN: slab-out-of-bounds in perf_event_fd_array_release+0x435/0x480 [ 24.405991] Read of size 8 at addr ffff8801cb592780 by task syzkaller452350/3483 [ 24.405993] [ 24.405998] CPU: 1 PID: 3483 Comm: syzkaller452350 Not tainted 4.15.0-rc7-mm1+ #53 [ 24.406004] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.406006] Call Trace: [ 24.406013] dump_stack+0x194/0x257 [ 24.406020] ? arch_local_irq_restore+0x53/0x53 [ 24.406025] ? show_regs_print_info+0x18/0x18 [ 24.406034] ? lock_release+0xa40/0xa40 [ 24.406041] ? perf_event_fd_array_release+0x435/0x480 [ 24.406050] print_address_description+0x73/0x250 [ 24.406056] ? perf_event_fd_array_release+0x435/0x480 [ 24.406062] kasan_report+0x23b/0x360 [ 24.406071] __asan_report_load8_noabort+0x14/0x20 [ 24.406076] perf_event_fd_array_release+0x435/0x480 [ 24.406086] ? array_of_map_alloc+0x130/0x130 [ 24.406094] ? fsnotify_first_mark+0x2b0/0x2b0 [ 24.406098] ? lock_downgrade+0x980/0x980 [ 24.406106] ? array_of_map_alloc+0x130/0x130 [ 24.406110] ? __bpf_map_put+0x2e0/0x2e0 [ 24.406114] bpf_map_release+0x84/0xc0 [ 24.406122] __fput+0x327/0x7e0 [ 24.406133] ? fput+0x140/0x140 [ 24.406140] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.406151] ____fput+0x15/0x20 [ 24.406157] task_work_run+0x199/0x270 [ 24.406165] ? task_work_cancel+0x210/0x210 [ 24.406170] ? free_nsproxy+0x185/0x1f0 [ 24.406176] ? switch_task_namespaces+0xa2/0xc0 [ 24.406187] do_exit+0x9bb/0x1ad0 [ 24.406192] ? __pmd_alloc+0x4e0/0x4e0 [ 24.406196] ? vma_link+0xe9/0x170 [ 24.406206] ? mm_update_next_owner+0x930/0x930 [ 24.406210] ? find_held_lock+0x35/0x1d0 [ 24.406222] ? handle_mm_fault+0x2a0/0x930 [ 24.406230] ? find_held_lock+0x35/0x1d0 [ 24.406244] ? __do_page_fault+0x5f7/0xc90 [ 24.406250] ? lock_downgrade+0x980/0x980 [ 24.406263] ? down_read_trylock+0xdb/0x170 [ 24.406270] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 24.406274] ? vmacache_find+0x5f/0x280 [ 24.406278] ? vmacache_update+0xfe/0x130 [ 24.406287] ? up_read+0x1a/0x40 [ 24.406293] ? __do_page_fault+0x3d6/0xc90 [ 24.406305] ? mm_fault_error+0x2c0/0x2c0 [ 24.406320] ? do_page_fault+0xee/0x720 [ 24.406326] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 24.406331] ? __do_page_fault+0xc90/0xc90 [ 24.406345] do_group_exit+0x149/0x400 [ 24.406352] ? SyS_exit+0x30/0x30 [ 24.406359] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.406365] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.406374] SyS_exit_group+0x1d/0x20 [ 24.406380] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.406384] RIP: 0033:0x440a69 [ 24.406387] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 24.406394] RAX: ffffffffffffffda RBX: 00007ffd19d55cd0 RCX: 0000000000440a69 [ 24.406397] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 24.406400] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.406404] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 24.406406] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 24.406423] [ 24.406425] Allocated by task 3483: [ 24.406430] save_stack+0x43/0xd0 [ 24.406433] kasan_kmalloc+0xad/0xe0 [ 24.406437] __kmalloc_node+0x47/0x70 [ 24.406440] bpf_map_area_alloc+0x32/0x80 [ 24.406444] array_map_alloc+0x351/0xa00 [ 24.406447] fd_array_map_alloc+0x57/0x70 [ 24.406450] SyS_bpf+0x7f8/0x4400 [ 24.406454] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.406455] [ 24.406457] Freed by task 1870: [ 24.406461] save_stack+0x43/0xd0 [ 24.406464] __kasan_slab_free+0x11a/0x170 [ 24.406468] kasan_slab_free+0xe/0x10 [ 24.406471] kfree+0xd9/0x260 [ 24.406475] single_release+0x80/0xb0 [ 24.406478] __fput+0x327/0x7e0 [ 24.406481] ____fput+0x15/0x20 [ 24.406484] task_work_run+0x199/0x270 [ 24.406488] exit_to_usermode_loop+0x275/0x2f0 [ 24.406491] syscall_return_slowpath+0x490/0x550 [ 24.406495] entry_SYSCALL_64_fastpath+0x9e/0xa0 [ 24.406496] [ 24.406499] The buggy address belongs to the object at ffff8801cb592680 [ 24.406499] which belongs to the cache kmalloc-256 of size 256 [ 24.406502] The buggy address is located 0 bytes to the right of [ 24.406502] 256-byte region [ffff8801cb592680, ffff8801cb592780) [ 24.406504] The buggy address belongs to the page: [ 24.406508] page:ffffea00072d6480 count:1 mapcount:0 mapping:ffff8801cb592040 index:0x0 [ 24.406512] flags: 0x2fffc0000000100(slab) [ 24.406519] raw: 02fffc0000000100 ffff8801cb592040 0000000000000000 000000010000000c [ 24.406523] raw: ffffea00072fcc20 ffffea00072d6720 ffff8801dac007c0 0000000000000000 [ 24.406525] page dumped because: kasan: bad access detected [ 24.406526] [ 24.406528] Memory state around the buggy address: [ 24.406531] ffff8801cb592680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.406534] ffff8801cb592700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 24.406537] >ffff8801cb592780: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 24.406539] ^ [ 24.406542] ffff8801cb592800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.406545] ffff8801cb592880: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.406546] ================================================================== [ 24.406548] Disabling lock debugging due to kernel taint [ 24.406567] Kernel panic - not syncing: panic_on_warn set ... [ 24.406567] [ 24.406571] CPU: 1 PID: 3483 Comm: syzkaller452350 Tainted: G B 4.15.0-rc7-mm1+ #53 [ 24.406573] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.406574] Call Trace: [ 24.406579] dump_stack+0x194/0x257 [ 24.406584] ? arch_local_irq_restore+0x53/0x53 [ 24.406589] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.406594] ? vsnprintf+0x1ed/0x1900 [ 24.406599] ? perf_event_fd_array_release+0x400/0x480 [ 24.406603] panic+0x1e4/0x41c [ 24.406608] ? refcount_error_report+0x214/0x214 [ 24.406613] ? add_taint+0x1c/0x50 [ 24.406618] ? add_taint+0x1c/0x50 [ 24.406623] ? perf_event_fd_array_release+0x435/0x480 [ 24.406628] kasan_end_report+0x50/0x50 [ 24.406632] kasan_report+0x148/0x360 [ 24.406638] __asan_report_load8_noabort+0x14/0x20 [ 24.406642] perf_event_fd_array_release+0x435/0x480 [ 24.406649] ? array_of_map_alloc+0x130/0x130 [ 24.406654] ? fsnotify_first_mark+0x2b0/0x2b0 [ 24.406657] ? lock_downgrade+0x980/0x980 [ 24.406663] ? array_of_map_alloc+0x130/0x130 [ 24.406666] ? __bpf_map_put+0x2e0/0x2e0 [ 24.406670] bpf_map_release+0x84/0xc0 [ 24.406674] __fput+0x327/0x7e0 [ 24.406681] ? fput+0x140/0x140 [ 24.406686] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.406693] ____fput+0x15/0x20 [ 24.406697] task_work_run+0x199/0x270 [ 24.406702] ? task_work_cancel+0x210/0x210 [ 24.406706] ? free_nsproxy+0x185/0x1f0 [ 24.406710] ? switch_task_namespaces+0xa2/0xc0 [ 24.406717] do_exit+0x9bb/0x1ad0 [ 24.406720] ? __pmd_alloc+0x4e0/0x4e0 [ 24.406723] ? vma_link+0xe9/0x170 [ 24.406729] ? mm_update_next_owner+0x930/0x930 [ 24.406733] ? find_held_lock+0x35/0x1d0 [ 24.406741] ? handle_mm_fault+0x2a0/0x930 [ 24.406746] ? find_held_lock+0x35/0x1d0 [ 24.406754] ? __do_page_fault+0x5f7/0xc90 [ 24.406759] ? lock_downgrade+0x980/0x980 [ 24.406767] ? down_read_trylock+0xdb/0x170 [ 24.406772] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 24.406775] ? vmacache_find+0x5f/0x280 [ 24.406779] ? vmacache_update+0xfe/0x130 [ 24.406785] ? up_read+0x1a/0x40 [ 24.406790] ? __do_page_fault+0x3d6/0xc90 [ 24.406797] ? mm_fault_error+0x2c0/0x2c0 [ 24.406807] ? do_page_fault+0xee/0x720 [ 24.406811] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 24.406815] ? __do_page_fault+0xc90/0xc90 [ 24.406824] do_group_exit+0x149/0x400 [ 24.406829] ? SyS_exit+0x30/0x30 [ 24.406834] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.406839] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.406845] SyS_exit_group+0x1d/0x20 [ 24.406849] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.406851] RIP: 0033:0x440a69 [ 24.406853] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 24.406857] RAX: ffffffffffffffda RBX: 00007ffd19d55cd0 RCX: 0000000000440a69 [ 24.406859] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 24.406861] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.406863] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 24.406865] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 24.428058] Dumping ftrace buffer: [ 24.428062] (ftrace buffer empty) [ 24.428064] Kernel Offset: disabled [ 25.240475] Rebooting in 86400 seconds..