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. [ 38.592068] audit: type=1800 audit(1569730506.260:33): pid=7352 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 38.613370] audit: type=1800 audit(1569730506.260:34): pid=7352 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 [ 39.538999] audit: type=1400 audit(1569730507.200:35): avc: denied { map } for pid=7526 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.19' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 45.996243] audit: type=1400 audit(1569730513.660:36): avc: denied { map } for pid=7539 comm="syz-executor220" path="/root/syz-executor220385374" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 46.019236] IPVS: ftp: loaded support on port[0] = 21 [ 46.132710] ================================================================== [ 46.140160] BUG: KASAN: use-after-free in __change_pid+0x253/0x2f0 [ 46.146466] Read of size 8 at addr ffff888099b46e00 by task syz-executor220/7539 [ 46.153986] [ 46.155604] CPU: 1 PID: 7539 Comm: syz-executor220 Not tainted 4.19.75 #0 [ 46.163030] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.172365] Call Trace: [ 46.174940] dump_stack+0x172/0x1f0 [ 46.178561] ? __change_pid+0x253/0x2f0 [ 46.182528] print_address_description.cold+0x7c/0x20d [ 46.187801] ? __change_pid+0x253/0x2f0 [ 46.191761] kasan_report.cold+0x8c/0x2ba [ 46.195898] __asan_report_load8_noabort+0x14/0x20 [ 46.200836] __change_pid+0x253/0x2f0 [ 46.204632] detach_pid+0x20/0x30 [ 46.208073] release_task+0xd65/0x1630 [ 46.211946] ? _raw_spin_unlock_irq+0x28/0x90 [ 46.216431] wait_consider_task+0x2c95/0x3910 [ 46.220917] ? release_task+0x1630/0x1630 [ 46.225049] ? lock_acquire+0x16f/0x3f0 [ 46.229008] ? do_wait+0x3aa/0x9d0 [ 46.232535] ? kasan_check_write+0x14/0x20 [ 46.236758] do_wait+0x439/0x9d0 [ 46.240114] ? wait_consider_task+0x3910/0x3910 [ 46.244771] kernel_wait4+0x171/0x290 [ 46.248559] ? __ia32_sys_waitid+0x140/0x140 [ 46.252955] ? task_stopped_code+0x180/0x180 [ 46.257362] ? find_held_lock+0x35/0x130 [ 46.261423] ? __do_page_fault+0x676/0xe90 [ 46.265658] __do_sys_wait4+0x147/0x160 [ 46.269615] ? kernel_wait4+0x290/0x290 [ 46.273575] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 46.279099] ? up_read+0x1a/0x110 [ 46.282554] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.288082] ? __do_page_fault+0x484/0xe90 [ 46.292307] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.297139] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.301881] ? do_syscall_64+0x26/0x620 [ 46.305838] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.311185] ? do_syscall_64+0x26/0x620 [ 46.315144] __x64_sys_wait4+0x97/0xf0 [ 46.319015] do_syscall_64+0xfd/0x620 [ 46.322804] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.327976] RIP: 0033:0x40113a [ 46.331155] Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 05 9e 15 2d 00 85 c0 75 36 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 d0 ff ff ff f7 [ 46.350038] RSP: 002b:00007ffea1edd4c8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d [ 46.357732] RAX: ffffffffffffffda RBX: 0000000000001d74 RCX: 000000000040113a [ 46.364984] RDX: 0000000040000000 RSI: 00007ffea1edd4d4 RDI: ffffffffffffffff [ 46.372239] RBP: 00000000006cb018 R08: 0000000000000000 R09: 0000555555a7e880 [ 46.379515] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004020f0 [ 46.386782] R13: 0000000000402180 R14: 0000000000000000 R15: 0000000000000000 [ 46.394045] [ 46.395657] Allocated by task 7539: [ 46.399275] save_stack+0x45/0xd0 [ 46.402720] kasan_kmalloc+0xce/0xf0 [ 46.406416] kasan_slab_alloc+0xf/0x20 [ 46.410284] kmem_cache_alloc_node+0x144/0x710 [ 46.414850] copy_process.part.0+0x1ce0/0x7a30 [ 46.419414] _do_fork+0x257/0xfd0 [ 46.422863] __x64_sys_clone+0xbf/0x150 [ 46.426824] do_syscall_64+0xfd/0x620 [ 46.430609] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.435776] [ 46.437397] Freed by task 0: [ 46.440402] save_stack+0x45/0xd0 [ 46.443838] __kasan_slab_free+0x102/0x150 [ 46.448055] kasan_slab_free+0xe/0x10 [ 46.451836] kmem_cache_free+0x86/0x260 [ 46.455791] free_task+0xdd/0x120 [ 46.459233] __put_task_struct+0x20f/0x4c0 [ 46.463464] finish_task_switch+0x52b/0x780 [ 46.467779] __schedule+0x86e/0x1dc0 [ 46.471492] schedule_idle+0x58/0x80 [ 46.475189] do_idle+0x192/0x560 [ 46.478541] cpu_startup_entry+0xc8/0xe0 [ 46.482586] rest_init+0x219/0x222 [ 46.486111] start_kernel+0x88c/0x8c5 [ 46.489892] x86_64_start_reservations+0x29/0x2b [ 46.494629] x86_64_start_kernel+0x77/0x7b [ 46.498859] secondary_startup_64+0xa4/0xb0 [ 46.503159] [ 46.504781] The buggy address belongs to the object at ffff888099b46700 [ 46.504781] which belongs to the cache task_struct of size 6080 [ 46.517514] The buggy address is located 1792 bytes inside of [ 46.517514] 6080-byte region [ffff888099b46700, ffff888099b47ec0) [ 46.529545] The buggy address belongs to the page: [ 46.534456] page:ffffea000266d180 count:1 mapcount:0 mapping:ffff88812c26d800 index:0x0 compound_mapcount: 0 [ 46.544409] flags: 0x1fffc0000008100(slab|head) [ 46.549061] raw: 01fffc0000008100 ffffea0002120908 ffffea000216d808 ffff88812c26d800 [ 46.556926] raw: 0000000000000000 ffff888099b46700 0000000100000001 0000000000000000 [ 46.564787] page dumped because: kasan: bad access detected [ 46.570475] [ 46.572082] Memory state around the buggy address: [ 46.577006] ffff888099b46d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.584360] ffff888099b46d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.591722] >ffff888099b46e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.599075] ^ [ 46.602444] ffff888099b46e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.609804] ffff888099b46f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.617156] ================================================================== [ 46.624510] Disabling lock debugging due to kernel taint [ 46.629965] Kernel panic - not syncing: panic_on_warn set ... [ 46.629965] [ 46.637329] CPU: 1 PID: 7539 Comm: syz-executor220 Tainted: G B 4.19.75 #0 [ 46.645627] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.654964] Call Trace: [ 46.657556] dump_stack+0x172/0x1f0 [ 46.661200] ? __change_pid+0x253/0x2f0 [ 46.665154] panic+0x263/0x507 [ 46.668327] ? __warn_printk+0xf3/0xf3 [ 46.672197] ? lock_downgrade+0x810/0x810 [ 46.676329] ? trace_hardirqs_off+0x62/0x220 [ 46.680789] ? trace_hardirqs_off+0x59/0x220 [ 46.685198] ? __change_pid+0x253/0x2f0 [ 46.689171] kasan_end_report+0x47/0x4f [ 46.693131] kasan_report.cold+0xa9/0x2ba [ 46.697263] __asan_report_load8_noabort+0x14/0x20 [ 46.702221] __change_pid+0x253/0x2f0 [ 46.706008] detach_pid+0x20/0x30 [ 46.709449] release_task+0xd65/0x1630 [ 46.713338] ? _raw_spin_unlock_irq+0x28/0x90 [ 46.717832] wait_consider_task+0x2c95/0x3910 [ 46.722313] ? release_task+0x1630/0x1630 [ 46.726445] ? lock_acquire+0x16f/0x3f0 [ 46.730401] ? do_wait+0x3aa/0x9d0 [ 46.733930] ? kasan_check_write+0x14/0x20 [ 46.738150] do_wait+0x439/0x9d0 [ 46.741516] ? wait_consider_task+0x3910/0x3910 [ 46.746171] kernel_wait4+0x171/0x290 [ 46.749952] ? __ia32_sys_waitid+0x140/0x140 [ 46.754359] ? task_stopped_code+0x180/0x180 [ 46.758762] ? find_held_lock+0x35/0x130 [ 46.762824] ? __do_page_fault+0x676/0xe90 [ 46.768000] __do_sys_wait4+0x147/0x160 [ 46.771958] ? kernel_wait4+0x290/0x290 [ 46.775914] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 46.781453] ? up_read+0x1a/0x110 [ 46.784891] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.790421] ? __do_page_fault+0x484/0xe90 [ 46.794649] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.799404] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.804155] ? do_syscall_64+0x26/0x620 [ 46.808174] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.813526] ? do_syscall_64+0x26/0x620 [ 46.817486] __x64_sys_wait4+0x97/0xf0 [ 46.821359] do_syscall_64+0xfd/0x620 [ 46.825146] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.830328] RIP: 0033:0x40113a [ 46.833560] Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8b 05 9e 15 2d 00 85 c0 75 36 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 d0 ff ff ff f7 [ 46.852603] RSP: 002b:00007ffea1edd4c8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d [ 46.860298] RAX: ffffffffffffffda RBX: 0000000000001d74 RCX: 000000000040113a [ 46.867565] RDX: 0000000040000000 RSI: 00007ffea1edd4d4 RDI: ffffffffffffffff [ 46.874817] RBP: 00000000006cb018 R08: 0000000000000000 R09: 0000555555a7e880 [ 46.882069] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004020f0 [ 46.889324] R13: 0000000000402180 R14: 0000000000000000 R15: 0000000000000000 [ 46.897936] Kernel Offset: disabled [ 46.901579] Rebooting in 86400 seconds..