[ 32.977145] audit: type=1800 audit(1582623814.557:33): pid=7132 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 [ 33.005039] audit: type=1800 audit(1582623814.557:34): pid=7132 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.367913] random: sshd: uninitialized urandom read (32 bytes read) [ 33.686150] audit: type=1400 audit(1582623815.267:35): avc: denied { map } for pid=7305 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.737389] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 34.499667] random: sshd: uninitialized urandom read (32 bytes read) [ 34.690458] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.97' (ECDSA) to the list of known hosts. [ 40.358561] random: sshd: uninitialized urandom read (32 bytes read) [ 40.474191] audit: type=1400 audit(1582623822.057:36): avc: denied { map } for pid=7318 comm="syz-executor579" path="/root/syz-executor579413061" dev="sda1" ino=16484 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.770893] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 41.741767] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.511652] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 43.322239] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program [ 43.430980] ================================================================== [ 43.431008] BUG: KASAN: use-after-free in con_shutdown+0x85/0x90 [ 43.431015] Write of size 8 at addr ffff88808c6d55c8 by task syz-executor579/8028 [ 43.431017] [ 43.431026] CPU: 0 PID: 8028 Comm: syz-executor579 Not tainted 4.14.171-syzkaller #0 [ 43.431031] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.431034] Call Trace: [ 43.431045] dump_stack+0x142/0x197 [ 43.431055] ? nfsd4_cb_layout_done+0x5b0/0xaf0 [ 43.431064] ? con_shutdown+0x85/0x90 [ 43.431075] print_address_description.cold+0x7c/0x1dc [ 43.431084] ? con_shutdown+0x85/0x90 [ 43.431091] kasan_report.cold+0xa9/0x2af [ 43.431099] ? set_palette+0x140/0x140 [ 43.431109] __asan_report_store8_noabort+0x17/0x20 [ 43.431116] con_shutdown+0x85/0x90 [ 43.431126] release_tty+0xbf/0x7c0 [ 43.431136] tty_release_struct+0x3c/0x50 [ 43.431145] tty_release+0xaa3/0xd60 [ 43.431159] ? tty_release_struct+0x50/0x50 [ 43.431167] __fput+0x275/0x7a0 [ 43.431180] ____fput+0x16/0x20 [ 43.431189] task_work_run+0x114/0x190 [ 43.431204] exit_to_usermode_loop+0x1da/0x220 [ 43.431215] do_syscall_64+0x4bc/0x640 [ 43.431222] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.431235] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.431242] RIP: 0033:0x4059d1 [ 43.431246] RSP: 002b:00007fff69ac8a20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 43.431255] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00000000004059d1 [ 43.431259] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000005 [ 43.431264] RBP: 0000000000000005 R08: 0000000120080522 R09: 0000000120080522 [ 43.431269] R10: 00007fff69ac8a40 R11: 0000000000000293 R12: 00000000006dbc2c [ 43.431273] R13: 0000000000000000 R14: 000000000000002d R15: 0000000000000064 [ 43.431287] [ 43.431291] Allocated by task 8031: [ 43.431299] save_stack_trace+0x16/0x20 [ 43.431305] save_stack+0x45/0xd0 [ 43.431310] kasan_kmalloc+0xce/0xf0 [ 43.431316] kmem_cache_alloc_trace+0x152/0x790 [ 43.431323] vc_allocate+0x148/0x580 [ 43.431329] con_install+0x52/0x400 [ 43.431335] tty_init_dev+0xea/0x3a0 [ 43.431341] tty_open+0x414/0xa10 [ 43.431347] chrdev_open+0x207/0x590 [ 43.431354] do_dentry_open+0x73b/0xeb0 [ 43.431359] vfs_open+0x105/0x220 [ 43.431365] path_openat+0x917/0x3e50 [ 43.431371] do_filp_open+0x18e/0x250 [ 43.431376] do_sys_open+0x2c5/0x430 [ 43.431382] SyS_open+0x2d/0x40 [ 43.431388] do_syscall_64+0x1e8/0x640 [ 43.431394] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.431396] [ 43.431399] Freed by task 8027: [ 43.431404] save_stack_trace+0x16/0x20 [ 43.431409] save_stack+0x45/0xd0 [ 43.431414] kasan_slab_free+0x75/0xc0 [ 43.431419] kfree+0xcc/0x270 [ 43.431427] vt_disallocate_all+0x286/0x380 [ 43.431432] vt_ioctl+0x76b/0x2170 [ 43.431437] tty_ioctl+0x841/0x1320 [ 43.431443] do_vfs_ioctl+0x7ae/0x1060 [ 43.431449] SyS_ioctl+0x8f/0xc0 [ 43.431455] do_syscall_64+0x1e8/0x640 [ 43.431461] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.431464] [ 43.431469] The buggy address belongs to the object at ffff88808c6d54c0 [ 43.431469] which belongs to the cache kmalloc-2048 of size 2048 [ 43.431475] The buggy address is located 264 bytes inside of [ 43.431475] 2048-byte region [ffff88808c6d54c0, ffff88808c6d5cc0) [ 43.431477] The buggy address belongs to the page: [ 43.431481] page:ffffea000231b500 count:1 mapcount:0 mapping:ffff88808c6d43c0 index:0x0 compound_mapcount: 0 [ 43.431489] flags: 0xfffe0000008100(slab|head) [ 43.431497] raw: 00fffe0000008100 ffff88808c6d43c0 0000000000000000 0000000100000003 [ 43.431502] raw: ffffea000232b120 ffffea0002448aa0 ffff8880aa800c40 0000000000000000 [ 43.431505] page dumped because: kasan: bad access detected [ 43.431506] [ 43.431508] Memory state around the buggy address: [ 43.431513] ffff88808c6d5480: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 43.431517] ffff88808c6d5500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.431521] >ffff88808c6d5580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.431523] ^ [ 43.431527] ffff88808c6d5600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.431531] ffff88808c6d5680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.431533] ================================================================== [ 43.431535] Disabling lock debugging due to kernel taint [ 43.431538] Kernel panic - not syncing: panic_on_warn set ... [ 43.431538] [ 43.431543] CPU: 0 PID: 8028 Comm: syz-executor579 Tainted: G B 4.14.171-syzkaller #0 [ 43.431546] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.431547] Call Trace: [ 43.431553] dump_stack+0x142/0x197 [ 43.431558] ? con_shutdown+0x85/0x90 [ 43.431563] panic+0x1f9/0x42d [ 43.431567] ? add_taint.cold+0x16/0x16 [ 43.431574] ? lock_downgrade+0x740/0x740 [ 43.431581] kasan_end_report+0x47/0x4f [ 43.431586] kasan_report.cold+0x130/0x2af [ 43.431590] ? set_palette+0x140/0x140 [ 43.431596] __asan_report_store8_noabort+0x17/0x20 [ 43.431600] con_shutdown+0x85/0x90 [ 43.431605] release_tty+0xbf/0x7c0 [ 43.431610] tty_release_struct+0x3c/0x50 [ 43.431615] tty_release+0xaa3/0xd60 [ 43.431622] ? tty_release_struct+0x50/0x50 [ 43.431626] __fput+0x275/0x7a0 [ 43.431633] ____fput+0x16/0x20 [ 43.431639] task_work_run+0x114/0x190 [ 43.431647] exit_to_usermode_loop+0x1da/0x220 [ 43.431653] do_syscall_64+0x4bc/0x640 [ 43.431658] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.431664] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.431667] RIP: 0033:0x4059d1 [ 43.431670] RSP: 002b:00007fff69ac8a20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 43.431675] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00000000004059d1 [ 43.431677] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000005 [ 43.431680] RBP: 0000000000000005 R08: 0000000120080522 R09: 0000000120080522 [ 43.431683] R10: 00007fff69ac8a40 R11: 0000000000000293 R12: 00000000006dbc2c [ 43.431686] R13: 0000000000000000 R14: 000000000000002d R15: 0000000000000064 [ 43.433191] Kernel Offset: disabled [ 44.020818] Rebooting in 86400 seconds..