maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [ 33.307821] audit: type=1800 audit(1579867658.712:34): pid=7121 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 [ 33.381878] random: sshd: uninitialized urandom read (32 bytes read) [ 33.689232] audit: type=1400 audit(1579867659.122:35): avc: denied { map } for pid=7295 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 [ 33.741723] random: sshd: uninitialized urandom read (32 bytes read) [ 34.423479] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 34.616840] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.86' (ECDSA) to the list of known hosts. [ 40.121022] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 40.244025] audit: type=1400 audit(1579867665.682:36): avc: denied { map } for pid=7308 comm="syz-executor931" path="/root/syz-executor931620780" 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 [ 40.334981] ================================================================== [ 40.335009] BUG: KASAN: use-after-free in con_shutdown+0x85/0x90 [ 40.335015] Write of size 8 at addr ffff888095b59608 by task syz-executor931/7325 [ 40.335017] [ 40.335026] CPU: 1 PID: 7325 Comm: syz-executor931 Not tainted 4.14.167-syzkaller #0 [ 40.335031] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.335035] Call Trace: [ 40.335046] dump_stack+0x142/0x197 [ 40.335056] ? con_shutdown+0x85/0x90 [ 40.335067] print_address_description.cold+0x7c/0x1dc [ 40.335075] ? con_shutdown+0x85/0x90 [ 40.335083] kasan_report.cold+0xa9/0x2af [ 40.335090] ? set_palette+0x140/0x140 [ 40.335100] __asan_report_store8_noabort+0x17/0x20 [ 40.335106] con_shutdown+0x85/0x90 [ 40.335116] release_tty+0xbf/0x7c0 [ 40.335125] tty_release_struct+0x3c/0x50 [ 40.335134] tty_release+0xaa3/0xd60 [ 40.335148] ? tty_release_struct+0x50/0x50 [ 40.335156] __fput+0x275/0x7a0 [ 40.335170] ____fput+0x16/0x20 [ 40.335177] task_work_run+0x114/0x190 [ 40.335191] do_exit+0xa1a/0x2cd0 [ 40.335205] ? mm_update_next_owner+0x5d0/0x5d0 [ 40.335218] ? up_read+0x1a/0x40 [ 40.335226] ? __do_page_fault+0x358/0xb80 [ 40.335237] do_group_exit+0x111/0x330 [ 40.335248] SyS_exit_group+0x1d/0x20 [ 40.335254] ? do_group_exit+0x330/0x330 [ 40.335264] do_syscall_64+0x1e8/0x640 [ 40.335271] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.335286] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.335293] RIP: 0033:0x43ff38 [ 40.335298] RSP: 002b:00007fffe9aee1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 40.335307] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 40.335312] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 40.335316] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 40.335321] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 40.335325] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 40.335339] [ 40.335343] Allocated by task 7315: [ 40.335352] save_stack_trace+0x16/0x20 [ 40.335357] save_stack+0x45/0xd0 [ 40.335363] kasan_kmalloc+0xce/0xf0 [ 40.335369] kmem_cache_alloc_trace+0x152/0x790 [ 40.335375] vc_allocate+0x148/0x580 [ 40.335380] con_install+0x52/0x400 [ 40.335385] tty_init_dev+0xea/0x3a0 [ 40.335390] tty_open+0x414/0xa10 [ 40.335396] chrdev_open+0x207/0x590 [ 40.335404] do_dentry_open+0x73b/0xeb0 [ 40.335418] vfs_open+0x105/0x220 [ 40.335425] path_openat+0x8bd/0x3f70 [ 40.335431] do_filp_open+0x18e/0x250 [ 40.335438] do_sys_open+0x2c5/0x430 [ 40.335444] SyS_open+0x2d/0x40 [ 40.335451] do_syscall_64+0x1e8/0x640 [ 40.335457] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.335459] [ 40.335463] Freed by task 7328: [ 40.335469] save_stack_trace+0x16/0x20 [ 40.335475] save_stack+0x45/0xd0 [ 40.335481] kasan_slab_free+0x75/0xc0 [ 40.335486] kfree+0xcc/0x270 [ 40.335494] vt_disallocate_all+0x286/0x380 [ 40.335500] vt_ioctl+0x76b/0x2170 [ 40.335506] tty_ioctl+0x841/0x1320 [ 40.335512] do_vfs_ioctl+0x7ae/0x1060 [ 40.335519] SyS_ioctl+0x8f/0xc0 [ 40.335532] do_syscall_64+0x1e8/0x640 [ 40.335538] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.335540] [ 40.335546] The buggy address belongs to the object at ffff888095b59500 [ 40.335546] which belongs to the cache kmalloc-2048 of size 2048 [ 40.335553] The buggy address is located 264 bytes inside of [ 40.335553] 2048-byte region [ffff888095b59500, ffff888095b59d00) [ 40.335555] The buggy address belongs to the page: [ 40.335561] page:ffffea000256d600 count:1 mapcount:0 mapping:ffff888095b58400 index:0x0 compound_mapcount: 0 [ 40.335572] flags: 0xfffe0000008100(slab|head) [ 40.335581] raw: 00fffe0000008100 ffff888095b58400 0000000000000000 0000000100000003 [ 40.335589] raw: ffffea0002646ea0 ffffea000259e320 ffff8880aa800c40 0000000000000000 [ 40.335593] page dumped because: kasan: bad access detected [ 40.335595] [ 40.335597] Memory state around the buggy address: [ 40.335604] ffff888095b59500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.335610] ffff888095b59580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.335615] >ffff888095b59600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.335619] ^ [ 40.335624] ffff888095b59680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.335630] ffff888095b59700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 40.335633] ================================================================== [ 40.335636] Disabling lock debugging due to kernel taint [ 40.335639] Kernel panic - not syncing: panic_on_warn set ... [ 40.335639] [ 40.335646] CPU: 1 PID: 7325 Comm: syz-executor931 Tainted: G B 4.14.167-syzkaller #0 [ 40.335650] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.335652] Call Trace: [ 40.335660] dump_stack+0x142/0x197 [ 40.335667] ? con_shutdown+0x85/0x90 [ 40.335672] panic+0x1f9/0x42d [ 40.335678] ? add_taint.cold+0x16/0x16 [ 40.335686] ? lock_downgrade+0x740/0x740 [ 40.335696] kasan_end_report+0x47/0x4f [ 40.335703] kasan_report.cold+0x130/0x2af [ 40.335708] ? set_palette+0x140/0x140 [ 40.335716] __asan_report_store8_noabort+0x17/0x20 [ 40.335721] con_shutdown+0x85/0x90 [ 40.335727] release_tty+0xbf/0x7c0 [ 40.335735] tty_release_struct+0x3c/0x50 [ 40.335741] tty_release+0xaa3/0xd60 [ 40.335752] ? tty_release_struct+0x50/0x50 [ 40.335757] __fput+0x275/0x7a0 [ 40.335766] ____fput+0x16/0x20 [ 40.335772] task_work_run+0x114/0x190 [ 40.335780] do_exit+0xa1a/0x2cd0 [ 40.335790] ? mm_update_next_owner+0x5d0/0x5d0 [ 40.335798] ? up_read+0x1a/0x40 [ 40.335804] ? __do_page_fault+0x358/0xb80 [ 40.335812] do_group_exit+0x111/0x330 [ 40.335820] SyS_exit_group+0x1d/0x20 [ 40.335826] ? do_group_exit+0x330/0x330 [ 40.335832] do_syscall_64+0x1e8/0x640 [ 40.335839] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 40.335848] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 40.335853] RIP: 0033:0x43ff38 [ 40.335857] RSP: 002b:00007fffe9aee1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 40.335870] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 40.335874] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 40.335878] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 40.335882] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 40.335885] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 40.337467] Kernel Offset: disabled [ 40.964003] Rebooting in 86400 seconds..