[....] Starting enhanced syslogd: rsyslogd[ 11.102397] audit: type=1400 audit(1515679649.513:5): avc: denied { syslog } for pid=3332 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 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.121159] audit: type=1400 audit(1515679656.531:6): avc: denied { map } for pid=3471 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.27' (ECDSA) to the list of known hosts. [ 24.305472] audit: type=1400 audit(1515679662.716:7): avc: denied { map } for pid=3485 comm="syzkaller377846" path="/root/syzkaller377846818" 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.331603] audit: type=1400 audit(1515679662.716:8): avc: denied { sys_admin } for pid=3485 comm="syzkaller377846" 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.359455] audit: type=1400 audit(1515679662.770:9): avc: denied { sys_chroot } for pid=3486 comm="syzkaller377846" 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.361428] ================================================================== [ 24.361448] BUG: KASAN: slab-out-of-bounds in array_map_update_elem+0x197/0x240 [ 24.361454] Write of size 1 at addr ffff8801cb0a3900 by task syzkaller377846/3486 [ 24.361455] [ 24.361463] CPU: 1 PID: 3486 Comm: syzkaller377846 Not tainted 4.15.0-rc7-mm1+ #53 [ 24.361467] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.361469] Call Trace: [ 24.361480] dump_stack+0x194/0x257 [ 24.361492] ? arch_local_irq_restore+0x53/0x53 [ 24.361499] ? show_regs_print_info+0x18/0x18 [ 24.361511] ? lock_acquire+0x1d5/0x580 [ 24.361519] ? bpf_prog_sub+0x60/0x60 [ 24.361528] ? array_map_update_elem+0x197/0x240 [ 24.361540] print_address_description+0x73/0x250 [ 24.361549] ? array_map_update_elem+0x197/0x240 [ 24.361559] kasan_report+0x23b/0x360 [ 24.361574] check_memory_region+0x137/0x190 [ 24.361583] memcpy+0x37/0x50 [ 24.361595] array_map_update_elem+0x197/0x240 [ 24.361602] ? array_of_map_gen_lookup+0xd50/0xd50 [ 24.361613] SyS_bpf+0x32df/0x4400 [ 24.361630] ? bpf_prog_get+0x20/0x20 [ 24.361644] ? lock_release+0xa40/0xa40 [ 24.361659] ? do_raw_spin_trylock+0x190/0x190 [ 24.361683] ? _raw_spin_unlock+0x22/0x30 [ 24.361694] ? __handle_mm_fault+0x80e/0x3ce0 [ 24.361710] ? check_noncircular+0x20/0x20 [ 24.361715] ? __pmd_alloc+0x4e0/0x4e0 [ 24.361720] ? vma_link+0xe9/0x170 [ 24.361738] ? find_held_lock+0x35/0x1d0 [ 24.361758] ? handle_mm_fault+0x2a0/0x930 [ 24.361771] ? find_held_lock+0x35/0x1d0 [ 24.361792] ? __do_page_fault+0x5f7/0xc90 [ 24.361801] ? lock_downgrade+0x980/0x980 [ 24.361821] ? handle_mm_fault+0x476/0x930 [ 24.361827] ? down_read_trylock+0xdb/0x170 [ 24.361838] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 24.361844] ? vmacache_find+0x5f/0x280 [ 24.361862] ? up_read+0x1a/0x40 [ 24.361871] ? __do_page_fault+0x3d6/0xc90 [ 24.361890] ? mm_fault_error+0x2c0/0x2c0 [ 24.361914] ? do_page_fault+0xee/0x720 [ 24.361923] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 24.361931] ? __do_page_fault+0xc90/0xc90 [ 24.361953] ? SyS_mmap_pgoff+0x243/0x5f0 [ 24.361976] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.361994] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.361999] RIP: 0033:0x440ac9 [ 24.362006] RSP: 002b:00000000007dff68 EFLAGS: 00000203 ORIG_RAX: 0000000000000141 [ 24.362014] RAX: ffffffffffffffda RBX: 00007ffc88b23300 RCX: 0000000000440ac9 [ 24.362018] RDX: 0000000000000020 RSI: 0000000020eaf000 RDI: 0000000000000002 [ 24.362021] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.362026] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004022a0 [ 24.362030] R13: 0000000000402330 R14: 0000000000000000 R15: 0000000000000000 [ 24.362057] [ 24.362061] Allocated by task 3072: [ 24.362068] save_stack+0x43/0xd0 [ 24.362074] kasan_kmalloc+0xad/0xe0 [ 24.362080] kasan_slab_alloc+0x12/0x20 [ 24.362085] kmem_cache_alloc+0x12e/0x760 [ 24.362092] getname_kernel+0x54/0x340 [ 24.362098] open_exec+0x17/0x60 [ 24.362103] load_elf_binary+0x1348/0x4c10 [ 24.362110] search_binary_handler+0x142/0x6b0 [ 24.362116] do_execveat_common.isra.30+0x1711/0x22a0 [ 24.362121] SyS_execve+0x39/0x50 [ 24.362126] do_syscall_64+0x273/0x920 [ 24.362132] return_from_SYSCALL_64+0x0/0x75 [ 24.362134] [ 24.362136] Freed by task 3072: [ 24.362142] save_stack+0x43/0xd0 [ 24.362148] __kasan_slab_free+0x11a/0x170 [ 24.362153] kasan_slab_free+0xe/0x10 [ 24.362158] kmem_cache_free+0x86/0x2b0 [ 24.362163] putname+0xee/0x130 [ 24.362169] open_exec+0x41/0x60 [ 24.362174] load_elf_binary+0x1348/0x4c10 [ 24.362180] search_binary_handler+0x142/0x6b0 [ 24.362186] do_execveat_common.isra.30+0x1711/0x22a0 [ 24.362191] SyS_execve+0x39/0x50 [ 24.362196] do_syscall_64+0x273/0x920 [ 24.362201] return_from_SYSCALL_64+0x0/0x75 [ 24.362203] [ 24.362208] The buggy address belongs to the object at ffff8801cb0a2380 [ 24.362208] which belongs to the cache names_cache of size 4096 [ 24.362213] The buggy address is located 1408 bytes to the right of [ 24.362213] 4096-byte region [ffff8801cb0a2380, ffff8801cb0a3380) [ 24.362215] The buggy address belongs to the page: [ 24.362221] page:ffffea00072c2880 count:1 mapcount:0 mapping:ffff8801cb0a2380 index:0x0 compound_mapcount: 0 [ 24.362230] flags: 0x2fffc0000008100(slab|head) [ 24.362239] raw: 02fffc0000008100 ffff8801cb0a2380 0000000000000000 0000000100000001 [ 24.362246] raw: ffffea00072c2920 ffffea00072b95a0 ffff8801dae30600 0000000000000000 [ 24.362249] page dumped because: kasan: bad access detected [ 24.362250] [ 24.362252] Memory state around the buggy address: [ 24.362258] ffff8801cb0a3800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.362263] ffff8801cb0a3880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.362268] >ffff8801cb0a3900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.362270] ^ [ 24.362275] ffff8801cb0a3980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.362280] ffff8801cb0a3a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 24.362282] ================================================================== [ 24.362284] Disabling lock debugging due to kernel taint [ 24.362306] Kernel panic - not syncing: panic_on_warn set ... [ 24.362306] [ 24.362316] CPU: 1 PID: 3486 Comm: syzkaller377846 Tainted: G B 4.15.0-rc7-mm1+ #53 [ 24.362319] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.362321] Call Trace: [ 24.362327] dump_stack+0x194/0x257 [ 24.362335] ? arch_local_irq_restore+0x53/0x53 [ 24.362342] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.362351] ? vsnprintf+0x1ed/0x1900 [ 24.362359] ? array_map_update_elem+0xe0/0x240 [ 24.362367] panic+0x1e4/0x41c [ 24.362374] ? refcount_error_report+0x214/0x214 [ 24.362383] ? add_taint+0x1c/0x50 [ 24.362391] ? add_taint+0x1c/0x50 [ 24.362399] ? array_map_update_elem+0x197/0x240 [ 24.362406] kasan_end_report+0x50/0x50 [ 24.362413] kasan_report+0x148/0x360 [ 24.362423] check_memory_region+0x137/0x190 [ 24.362430] memcpy+0x37/0x50 [ 24.362439] array_map_update_elem+0x197/0x240 [ 24.362445] ? array_of_map_gen_lookup+0xd50/0xd50 [ 24.362452] SyS_bpf+0x32df/0x4400 [ 24.362463] ? bpf_prog_get+0x20/0x20 [ 24.362473] ? lock_release+0xa40/0xa40 [ 24.362483] ? do_raw_spin_trylock+0x190/0x190 [ 24.362497] ? _raw_spin_unlock+0x22/0x30 [ 24.362504] ? __handle_mm_fault+0x80e/0x3ce0 [ 24.362514] ? check_noncircular+0x20/0x20 [ 24.362519] ? __pmd_alloc+0x4e0/0x4e0 [ 24.362524] ? vma_link+0xe9/0x170 [ 24.362535] ? find_held_lock+0x35/0x1d0 [ 24.362547] ? handle_mm_fault+0x2a0/0x930 [ 24.362556] ? find_held_lock+0x35/0x1d0 [ 24.362569] ? __do_page_fault+0x5f7/0xc90 [ 24.362576] ? lock_downgrade+0x980/0x980 [ 24.362589] ? handle_mm_fault+0x476/0x930 [ 24.362594] ? down_read_trylock+0xdb/0x170 [ 24.362602] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 24.362607] ? vmacache_find+0x5f/0x280 [ 24.362618] ? up_read+0x1a/0x40 [ 24.362625] ? __do_page_fault+0x3d6/0xc90 [ 24.362638] ? mm_fault_error+0x2c0/0x2c0 [ 24.362652] ? do_page_fault+0xee/0x720 [ 24.362659] ? trace_event_raw_event_sys_exit+0x260/0x260 [ 24.362666] ? __do_page_fault+0xc90/0xc90 [ 24.362679] ? SyS_mmap_pgoff+0x243/0x5f0 [ 24.362692] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.362704] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 24.362708] RIP: 0033:0x440ac9 [ 24.362711] RSP: 002b:00000000007dff68 EFLAGS: 00000203 ORIG_RAX: 0000000000000141 [ 24.362717] RAX: ffffffffffffffda RBX: 00007ffc88b23300 RCX: 0000000000440ac9 [ 24.362720] RDX: 0000000000000020 RSI: 0000000020eaf000 RDI: 0000000000000002 [ 24.362724] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 24.362727] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004022a0 [ 24.362730] R13: 0000000000402330 R14: 0000000000000000 R15: 0000000000000000 [ 24.384421] Dumping ftrace buffer: [ 24.384424] (ftrace buffer empty) [ 24.384426] Kernel Offset: disabled [ 25.138367] Rebooting in 86400 seconds..