[....] Starting enhanced syslogd: rsyslogd[ 12.320653] audit: type=1400 audit(1515664484.005:5): avc: denied { syslog } for pid=3351 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 mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] 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.469655] audit: type=1400 audit(1515664490.154:6): avc: denied { map } for pid=3491 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.205' (ECDSA) to the list of known hosts. [ 24.653188] audit: type=1400 audit(1515664496.337:7): avc: denied { map } for pid=3505 comm="syzkaller232318" path="/root/syzkaller232318631" 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.680058] audit: type=1400 audit(1515664496.342:8): avc: denied { sys_admin } for pid=3505 comm="syzkaller232318" 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.709516] audit: type=1400 audit(1515664496.394:9): avc: denied { sys_chroot } for pid=3506 comm="syzkaller232318" 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.734112] audit: type=1400 audit(1515664496.395:10): avc: denied { map_create } for pid=3506 comm="syzkaller232318" 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.756968] audit: type=1400 audit(1515664496.396:11): avc: denied { map_read map_write } for pid=3506 comm="syzkaller232318" 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.782203] ================================================================== [ 24.789588] BUG: KASAN: slab-out-of-bounds in perf_event_fd_array_release+0x435/0x480 [ 24.797524] Read of size 8 at addr ffff8801d898f8c0 by task syzkaller232318/3506 [ 24.805023] [ 24.806623] CPU: 0 PID: 3506 Comm: syzkaller232318 Not tainted 4.15.0-rc7-next-20180111+ #94 [ 24.815162] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.824483] Call Trace: [ 24.827040] dump_stack+0x194/0x257 [ 24.830637] ? arch_local_irq_restore+0x53/0x53 [ 24.835274] ? show_regs_print_info+0x18/0x18 [ 24.839741] ? lock_release+0xa40/0xa40 [ 24.843685] ? perf_event_fd_array_release+0x435/0x480 [ 24.848933] print_address_description+0x73/0x250 [ 24.853757] ? perf_event_fd_array_release+0x435/0x480 [ 24.859002] kasan_report+0x23b/0x360 [ 24.862779] __asan_report_load8_noabort+0x14/0x20 [ 24.867679] perf_event_fd_array_release+0x435/0x480 [ 24.872755] ? array_of_map_alloc+0x130/0x130 [ 24.877224] ? fsnotify_first_mark+0x2b0/0x2b0 [ 24.881772] ? lock_downgrade+0x980/0x980 [ 24.885889] ? array_of_map_alloc+0x130/0x130 [ 24.890350] ? __bpf_map_put+0x2e0/0x2e0 [ 24.894381] bpf_map_release+0x84/0xc0 [ 24.898240] __fput+0x327/0x7e0 [ 24.901491] ? fput+0x140/0x140 [ 24.904740] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.910615] ____fput+0x15/0x20 [ 24.913863] task_work_run+0x199/0x270 [ 24.917721] ? task_work_cancel+0x210/0x210 [ 24.922013] ? free_nsproxy+0x185/0x1f0 [ 24.925960] ? switch_task_namespaces+0xa2/0xc0 [ 24.930603] do_exit+0x9bb/0x1ad0 [ 24.934028] ? __pmd_alloc+0x4e0/0x4e0 [ 24.937886] ? vma_link+0xe9/0x170 [ 24.941398] ? mm_update_next_owner+0x930/0x930 [ 24.946036] ? find_held_lock+0x35/0x1d0 [ 24.950071] ? handle_mm_fault+0x2a0/0x930 [ 24.954277] ? find_held_lock+0x35/0x1d0 [ 24.958314] ? __do_page_fault+0x5f7/0xc90 [ 24.962517] ? lock_downgrade+0x980/0x980 [ 24.966644] ? down_read_trylock+0xdb/0x170 [ 24.970939] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 24.975490] ? vmacache_find+0x5f/0x280 [ 24.979431] ? vmacache_update+0xfe/0x130 [ 24.983552] ? up_read+0x1a/0x40 [ 24.986887] ? __do_page_fault+0x3d6/0xc90 [ 24.991103] ? mm_fault_error+0x2c0/0x2c0 [ 24.995229] ? do_page_fault+0xee/0x720 [ 24.999173] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 25.004679] ? __do_page_fault+0xc90/0xc90 [ 25.008891] do_group_exit+0x149/0x400 [ 25.012749] ? SyS_exit+0x30/0x30 [ 25.016174] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.021160] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.025888] SyS_exit_group+0x1d/0x20 [ 25.029663] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.034385] RIP: 0033:0x440a69 [ 25.037542] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 25.045219] RAX: ffffffffffffffda RBX: 00007ffc7c264b00 RCX: 0000000000440a69 [ 25.052459] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 25.059697] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 25.066936] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 25.074174] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 25.081427] [ 25.083027] Allocated by task 3506: [ 25.086627] save_stack+0x43/0xd0 [ 25.090048] kasan_kmalloc+0xad/0xe0 [ 25.093731] __kmalloc_node+0x47/0x70 [ 25.097499] bpf_map_area_alloc+0x32/0x80 [ 25.101614] array_map_alloc+0x351/0xa00 [ 25.105641] fd_array_map_alloc+0x57/0x70 [ 25.109755] SyS_bpf+0x7f8/0x4400 [ 25.113178] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.117897] [ 25.119490] Freed by task 1: [ 25.122478] save_stack+0x43/0xd0 [ 25.125895] __kasan_slab_free+0x11a/0x170 [ 25.130098] kasan_slab_free+0xe/0x10 [ 25.133866] kfree+0xd9/0x260 [ 25.136939] krealloc+0x7a/0xc0 [ 25.140188] add_sysfs_param.isra.7+0xc3/0x950 [ 25.144737] param_sysfs_init+0x35a/0x439 [ 25.148853] do_one_initcall+0xad/0x357 [ 25.152798] kernel_init_freeable+0x469/0x521 [ 25.157263] kernel_init+0x13/0x180 [ 25.160857] ret_from_fork+0x4b/0x60 [ 25.164534] [ 25.166131] The buggy address belongs to the object at ffff8801d898f7c0 [ 25.166131] which belongs to the cache kmalloc-256 of size 256 [ 25.178755] The buggy address is located 0 bytes to the right of [ 25.178755] 256-byte region [ffff8801d898f7c0, ffff8801d898f8c0) [ 25.190940] The buggy address belongs to the page: [ 25.195846] page:ffffea00076263c0 count:1 mapcount:0 mapping:ffff8801d898f040 index:0x0 [ 25.204043] flags: 0x2fffc0000000100(slab) [ 25.208245] raw: 02fffc0000000100 ffff8801d898f040 0000000000000000 000000010000000c [ 25.216092] raw: ffffea0007626220 ffff8801dac01648 ffff8801dac007c0 0000000000000000 [ 25.223935] page dumped because: kasan: bad access detected [ 25.229609] [ 25.231202] Memory state around the buggy address: [ 25.236099] ffff8801d898f780: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 25.243433] ffff8801d898f800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.250757] >ffff8801d898f880: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 25.258087] ^ [ 25.263503] ffff8801d898f900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.270831] ffff8801d898f980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.278154] ================================================================== [ 25.285478] Disabling lock debugging due to kernel taint [ 25.290961] Kernel panic - not syncing: panic_on_warn set ... [ 25.290961] [ 25.298307] CPU: 0 PID: 3506 Comm: syzkaller232318 Tainted: G B 4.15.0-rc7-next-20180111+ #94 [ 25.308151] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.317472] Call Trace: [ 25.320035] dump_stack+0x194/0x257 [ 25.323639] ? arch_local_irq_restore+0x53/0x53 [ 25.328276] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.333000] ? vsnprintf+0x1ed/0x1900 [ 25.336775] ? perf_event_fd_array_release+0x3c0/0x480 [ 25.342025] panic+0x1e4/0x41c [ 25.345185] ? refcount_error_report+0x214/0x214 [ 25.349912] ? add_taint+0x1c/0x50 [ 25.353420] ? add_taint+0x1c/0x50 [ 25.356930] ? perf_event_fd_array_release+0x435/0x480 [ 25.362176] kasan_end_report+0x50/0x50 [ 25.366132] kasan_report+0x148/0x360 [ 25.369907] __asan_report_load8_noabort+0x14/0x20 [ 25.374806] perf_event_fd_array_release+0x435/0x480 [ 25.379881] ? array_of_map_alloc+0x130/0x130 [ 25.384348] ? fsnotify_first_mark+0x2b0/0x2b0 [ 25.388902] ? lock_downgrade+0x980/0x980 [ 25.393023] ? array_of_map_alloc+0x130/0x130 [ 25.397483] ? __bpf_map_put+0x2e0/0x2e0 [ 25.401509] bpf_map_release+0x84/0xc0 [ 25.405364] __fput+0x327/0x7e0 [ 25.408614] ? fput+0x140/0x140 [ 25.411862] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 25.417718] ____fput+0x15/0x20 [ 25.420966] task_work_run+0x199/0x270 [ 25.424822] ? task_work_cancel+0x210/0x210 [ 25.429111] ? free_nsproxy+0x185/0x1f0 [ 25.433053] ? switch_task_namespaces+0xa2/0xc0 [ 25.437693] do_exit+0x9bb/0x1ad0 [ 25.441114] ? __pmd_alloc+0x4e0/0x4e0 [ 25.444967] ? vma_link+0xe9/0x170 [ 25.448479] ? mm_update_next_owner+0x930/0x930 [ 25.453115] ? find_held_lock+0x35/0x1d0 [ 25.457146] ? handle_mm_fault+0x2a0/0x930 [ 25.461349] ? find_held_lock+0x35/0x1d0 [ 25.465384] ? __do_page_fault+0x5f7/0xc90 [ 25.469586] ? lock_downgrade+0x980/0x980 [ 25.473706] ? down_read_trylock+0xdb/0x170 [ 25.477996] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 25.482554] ? vmacache_find+0x5f/0x280 [ 25.486494] ? vmacache_update+0xfe/0x130 [ 25.490611] ? up_read+0x1a/0x40 [ 25.493943] ? __do_page_fault+0x3d6/0xc90 [ 25.498151] ? mm_fault_error+0x2c0/0x2c0 [ 25.502272] ? do_page_fault+0xee/0x720 [ 25.506214] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 25.511718] ? __do_page_fault+0xc90/0xc90 [ 25.515928] do_group_exit+0x149/0x400 [ 25.519785] ? SyS_exit+0x30/0x30 [ 25.523213] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.528197] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.532922] SyS_exit_group+0x1d/0x20 [ 25.536692] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.541413] RIP: 0033:0x440a69 [ 25.544569] RSP: 002b:00000000007dff48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 25.552242] RAX: ffffffffffffffda RBX: 00007ffc7c264b00 RCX: 0000000000440a69 [ 25.559479] RDX: 0000000000440a69 RSI: 000000000000002c RDI: 0000000000000001 [ 25.566717] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 25.573954] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000402240 [ 25.581191] R13: 00000000004022d0 R14: 0000000000000000 R15: 0000000000000000 [ 25.588924] Dumping ftrace buffer: [ 25.592437] (ftrace buffer empty) [ 25.596113] Kernel Offset: disabled [ 25.599708] Rebooting in 86400 seconds..