[?25l[?1c7[ ok 8[?25h[?0c. [ 37.649367] audit: type=1800 audit(1583844707.081:34): pid=7312 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 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 42.439841] random: sshd: uninitialized urandom read (32 bytes read) [ 42.659761] audit: type=1400 audit(1583844712.121:35): avc: denied { map } for pid=7483 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 [ 42.713116] random: sshd: uninitialized urandom read (32 bytes read) [ 43.442985] random: sshd: uninitialized urandom read (32 bytes read) [ 43.637597] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.1.41' (ECDSA) to the list of known hosts. [ 49.255151] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program [ 49.384337] audit: type=1400 audit(1583844718.851:36): avc: denied { map } for pid=7495 comm="syz-executor471" path="/root/syz-executor471615031" 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 [ 49.438654] ================================================================== [ 49.438680] BUG: KASAN: use-after-free in con_shutdown+0x7f/0x90 [ 49.438686] Write of size 8 at addr ffff8880a5240c88 by task syz-executor471/7504 [ 49.438687] [ 49.438694] CPU: 1 PID: 7504 Comm: syz-executor471 Not tainted 4.14.172-syzkaller #0 [ 49.438697] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.438700] Call Trace: [ 49.438716] dump_stack+0x13e/0x194 [ 49.438723] ? con_shutdown+0x7f/0x90 [ 49.438732] print_address_description.cold+0x7c/0x1e2 [ 49.438738] ? con_shutdown+0x7f/0x90 [ 49.438743] kasan_report.cold+0xa9/0x2ae [ 49.438749] ? set_palette+0x130/0x130 [ 49.438755] con_shutdown+0x7f/0x90 [ 49.438761] release_tty+0xb6/0x7a0 [ 49.438768] tty_release_struct+0x37/0x50 [ 49.438774] tty_release+0xaa6/0xd60 [ 49.438783] ? lock_downgrade+0x6e0/0x6e0 [ 49.438790] ? tty_release_struct+0x50/0x50 [ 49.438796] __fput+0x25f/0x790 [ 49.438808] task_work_run+0x113/0x190 [ 49.438817] do_exit+0x9f2/0x2b00 [ 49.438824] ? __do_page_fault+0x4e4/0xb40 [ 49.438831] ? mm_update_next_owner+0x5b0/0x5b0 [ 49.438837] ? lock_downgrade+0x6e0/0x6e0 [ 49.438847] do_group_exit+0x100/0x310 [ 49.438854] SyS_exit_group+0x19/0x20 [ 49.438859] ? do_group_exit+0x310/0x310 [ 49.438865] do_syscall_64+0x1d5/0x640 [ 49.438875] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 49.438880] RIP: 0033:0x43ff38 [ 49.438883] RSP: 002b:00007ffd40df0288 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 49.438890] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 49.438893] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 49.438897] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 49.438900] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 49.438903] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 49.438912] [ 49.438915] Allocated by task 7504: [ 49.438921] save_stack+0x32/0xa0 [ 49.438925] kasan_kmalloc+0xbf/0xe0 [ 49.438929] kmem_cache_alloc_trace+0x14d/0x7b0 [ 49.438934] vc_allocate+0x142/0x550 [ 49.438938] con_install+0x4f/0x3e0 [ 49.438943] tty_init_dev+0xe1/0x3a0 [ 49.438947] tty_open+0x410/0x9c0 [ 49.438952] chrdev_open+0x1fc/0x540 [ 49.438957] do_dentry_open+0x732/0xe90 [ 49.438962] vfs_open+0x105/0x220 [ 49.438966] path_openat+0x8ca/0x3c50 [ 49.438971] do_filp_open+0x18e/0x250 [ 49.438975] do_sys_open+0x29d/0x3f0 [ 49.438980] do_syscall_64+0x1d5/0x640 [ 49.438984] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 49.438986] [ 49.438988] Freed by task 7507: [ 49.438992] save_stack+0x32/0xa0 [ 49.438997] kasan_slab_free+0x75/0xc0 [ 49.439000] kfree+0xcb/0x260 [ 49.439006] vt_disallocate_all+0x25c/0x340 [ 49.439010] vt_ioctl+0x6e3/0x1f00 [ 49.439014] tty_ioctl+0x6c5/0x1220 [ 49.439019] do_vfs_ioctl+0x75a/0xfe0 [ 49.439023] SyS_ioctl+0x7f/0xb0 [ 49.439028] do_syscall_64+0x1d5/0x640 [ 49.439032] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 49.439034] [ 49.439038] The buggy address belongs to the object at ffff8880a5240b80 [ 49.439038] which belongs to the cache kmalloc-2048 of size 2048 [ 49.439042] The buggy address is located 264 bytes inside of [ 49.439042] 2048-byte region [ffff8880a5240b80, ffff8880a5241380) [ 49.439044] The buggy address belongs to the page: [ 49.439049] page:ffffea0002949000 count:1 mapcount:0 mapping:ffff8880a5240300 index:0x0 compound_mapcount: 0 [ 49.439057] flags: 0xfffe0000008100(slab|head) [ 49.439065] raw: 00fffe0000008100 ffff8880a5240300 0000000000000000 0000000100000003 [ 49.439070] raw: ffffea000292b8a0 ffffea00027ea520 ffff88812fe56c40 0000000000000000 [ 49.439073] page dumped because: kasan: bad access detected [ 49.439074] [ 49.439076] Memory state around the buggy address: [ 49.439081] ffff8880a5240b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.439084] ffff8880a5240c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.439088] >ffff8880a5240c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.439090] ^ [ 49.439094] ffff8880a5240d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.439098] ffff8880a5240d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.439100] ================================================================== [ 49.439102] Disabling lock debugging due to kernel taint [ 49.439128] Kernel panic - not syncing: panic_on_warn set ... [ 49.439128] [ 49.439133] CPU: 1 PID: 7504 Comm: syz-executor471 Tainted: G B 4.14.172-syzkaller #0 [ 49.439135] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.439137] Call Trace: [ 49.439142] dump_stack+0x13e/0x194 [ 49.439147] panic+0x1f9/0x42d [ 49.439152] ? add_taint.cold+0x16/0x16 [ 49.439159] ? con_shutdown+0x7f/0x90 [ 49.439164] kasan_end_report+0x43/0x49 [ 49.439169] kasan_report.cold+0x12f/0x2ae [ 49.439173] ? set_palette+0x130/0x130 [ 49.439178] con_shutdown+0x7f/0x90 [ 49.439183] release_tty+0xb6/0x7a0 [ 49.439188] tty_release_struct+0x37/0x50 [ 49.439193] tty_release+0xaa6/0xd60 [ 49.439199] ? lock_downgrade+0x6e0/0x6e0 [ 49.439204] ? tty_release_struct+0x50/0x50 [ 49.439209] __fput+0x25f/0x790 [ 49.439216] task_work_run+0x113/0x190 [ 49.439222] do_exit+0x9f2/0x2b00 [ 49.439227] ? __do_page_fault+0x4e4/0xb40 [ 49.439232] ? mm_update_next_owner+0x5b0/0x5b0 [ 49.439238] ? lock_downgrade+0x6e0/0x6e0 [ 49.439245] do_group_exit+0x100/0x310 [ 49.439250] SyS_exit_group+0x19/0x20 [ 49.439254] ? do_group_exit+0x310/0x310 [ 49.439259] do_syscall_64+0x1d5/0x640 [ 49.439265] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 49.439268] RIP: 0033:0x43ff38 [ 49.439275] RSP: 002b:00007ffd40df0288 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 49.439280] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff38 [ 49.439283] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 49.439286] RBP: 00000000004bf950 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 49.439288] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 49.439291] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 49.440774] Kernel Offset: disabled [ 50.034513] Rebooting in 86400 seconds..