Warning: Permanently added '10.128.1.12' (ECDSA) to the list of known hosts. [ 53.716340] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 53.830206] audit: type=1400 audit(1575461251.847:36): avc: denied { map } for pid=7015 comm="syz-executor252" path="/root/syz-executor252987772" 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 [ 53.944591] ================================================================== [ 53.944614] BUG: KASAN: use-after-free in soft_cursor+0x43d/0xa50 [ 53.944619] Read of size 9 at addr ffff88809f7e2e51 by task syz-executor252/7015 [ 53.944620] [ 53.944627] CPU: 1 PID: 7015 Comm: syz-executor252 Not tainted 4.14.157-syzkaller #0 [ 53.944630] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.944632] Call Trace: [ 53.944639] dump_stack+0x142/0x197 [ 53.944645] ? soft_cursor+0x43d/0xa50 [ 53.944653] print_address_description.cold+0x7c/0x1dc [ 53.944658] ? soft_cursor+0x43d/0xa50 [ 53.944662] kasan_report.cold+0xa9/0x2af [ 53.944668] check_memory_region+0x123/0x190 [ 53.944673] memcpy+0x24/0x50 [ 53.944678] soft_cursor+0x43d/0xa50 [ 53.944682] ? kfree+0x183/0x270 [ 53.944690] bit_cursor+0x11be/0x1830 [ 53.944698] ? bit_clear+0x4a0/0x4a0 [ 53.944707] ? fb_get_color_depth+0x5f/0x70 [ 53.944711] ? get_color+0x1bf/0x3b0 [ 53.944717] fbcon_cursor+0x4e3/0x6f0 [ 53.944721] ? bit_clear+0x4a0/0x4a0 [ 53.944730] hide_cursor+0x9d/0x2e0 [ 53.944735] ? lock_downgrade+0x740/0x740 [ 53.944741] redraw_screen+0x2a5/0x7c0 [ 53.944747] ? con_flush_chars+0x90/0x90 [ 53.944753] ? mutex_unlock+0xd/0x10 [ 53.944760] ? tty_do_resize+0x43/0x160 [ 53.944766] vc_do_resize+0xc8a/0xec0 [ 53.944775] ? vt_console_print+0xf70/0xf70 [ 53.944779] ? lock_acquire+0x16f/0x430 [ 53.944784] ? vt_ioctl+0xfa9/0x2170 [ 53.944791] vc_resize+0x4d/0x60 [ 53.944795] vt_ioctl+0x10a8/0x2170 [ 53.944801] ? complete_change_console+0x360/0x360 [ 53.944807] ? avc_ss_reset+0x110/0x110 [ 53.944811] ? kasan_slab_free+0x75/0xc0 [ 53.944818] ? SyS_open+0x2d/0x40 [ 53.944824] ? do_syscall_64+0x1e8/0x640 [ 53.944829] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 53.944834] ? find_held_lock+0x35/0x130 [ 53.944839] ? debug_check_no_obj_freed+0x2aa/0x7b7 [ 53.944844] ? tty_jobctrl_ioctl+0x44/0xc10 [ 53.944848] ? complete_change_console+0x360/0x360 [ 53.944853] tty_ioctl+0x841/0x1320 [ 53.944858] ? tty_vhangup+0x30/0x30 [ 53.944868] ? __might_sleep+0x93/0xb0 [ 53.944875] ? tty_vhangup+0x30/0x30 [ 53.944881] do_vfs_ioctl+0x7ae/0x1060 [ 53.944887] ? selinux_file_mprotect+0x5d0/0x5d0 [ 53.944893] ? ioctl_preallocate+0x1c0/0x1c0 [ 53.944897] ? putname+0xe0/0x120 [ 53.944903] ? do_sys_open+0x221/0x430 [ 53.944911] ? security_file_ioctl+0x7d/0xb0 [ 53.944914] ? security_file_ioctl+0x89/0xb0 [ 53.944920] SyS_ioctl+0x8f/0xc0 [ 53.944925] ? do_vfs_ioctl+0x1060/0x1060 [ 53.944930] do_syscall_64+0x1e8/0x640 [ 53.944934] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.944942] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 53.944946] RIP: 0033:0x440219 [ 53.944949] RSP: 002b:00007fff5036ec48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 53.944955] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440219 [ 53.944957] RDX: 00000000200002c0 RSI: 000000000000560a RDI: 0000000000000004 [ 53.944960] RBP: 00000000006ca018 R08: 0000000000000001 R09: 00000000004002c8 [ 53.944963] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000401b00 [ 53.944965] R13: 0000000000401b90 R14: 0000000000000000 R15: 0000000000000000 [ 53.944973] [ 53.944975] Allocated by task 4051: [ 53.944981] save_stack_trace+0x16/0x20 [ 53.944984] save_stack+0x45/0xd0 [ 53.944987] kasan_kmalloc+0xce/0xf0 [ 53.944991] kmem_cache_alloc_trace+0x152/0x790 [ 53.944994] alloc_pipe_info+0xb0/0x380 [ 53.944997] create_pipe_files+0xc4/0x880 [ 53.945000] __do_pipe_flags+0x38/0x210 [ 53.945003] SyS_pipe+0x65/0x110 [ 53.945007] do_syscall_64+0x1e8/0x640 [ 53.945011] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 53.945012] [ 53.945014] Freed by task 4051: [ 53.945017] save_stack_trace+0x16/0x20 [ 53.945021] save_stack+0x45/0xd0 [ 53.945024] kasan_slab_free+0x75/0xc0 [ 53.945027] kfree+0xcc/0x270 [ 53.945030] free_pipe_info+0x209/0x2b0 [ 53.945033] put_pipe_info+0xb3/0xd0 [ 53.945036] pipe_release+0x1b6/0x250 [ 53.945040] __fput+0x275/0x7a0 [ 53.945043] ____fput+0x16/0x20 [ 53.945046] task_work_run+0x114/0x190 [ 53.945050] exit_to_usermode_loop+0x1da/0x220 [ 53.945054] do_syscall_64+0x4bc/0x640 [ 53.945058] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 53.945059] [ 53.945062] The buggy address belongs to the object at ffff88809f7e2c80 [ 53.945062] which belongs to the cache kmalloc-512 of size 512 [ 53.945066] The buggy address is located 465 bytes inside of [ 53.945066] 512-byte region [ffff88809f7e2c80, ffff88809f7e2e80) [ 53.945068] The buggy address belongs to the page: [ 53.945072] page:ffffea00027df880 count:1 mapcount:0 mapping:ffff88809f7e2000 index:0x0 [ 53.945077] flags: 0xfffe0000000100(slab) [ 53.945084] raw: 00fffe0000000100 ffff88809f7e2000 0000000000000000 0000000100000006 [ 53.945088] raw: ffffea00023b9b60 ffffea00024c1120 ffff8880aa800940 0000000000000000 [ 53.945090] page dumped because: kasan: bad access detected [ 53.945092] [ 53.945093] Memory state around the buggy address: [ 53.945097] ffff88809f7e2d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.945100] ffff88809f7e2d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.945103] >ffff88809f7e2e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.945105] ^ [ 53.945108] ffff88809f7e2e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.945111] ffff88809f7e2f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.945113] ================================================================== [ 53.945115] Disabling lock debugging due to kernel taint [ 53.945118] Kernel panic - not syncing: panic_on_warn set ... [ 53.945118] [ 53.945122] CPU: 1 PID: 7015 Comm: syz-executor252 Tainted: G B 4.14.157-syzkaller #0 [ 53.945124] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.945125] Call Trace: [ 53.945128] dump_stack+0x142/0x197 [ 53.945133] ? soft_cursor+0x43d/0xa50 [ 53.945143] panic+0x1f9/0x42d [ 53.945146] ? add_taint.cold+0x16/0x16 [ 53.945151] ? lock_downgrade+0x740/0x740 [ 53.945156] kasan_end_report+0x47/0x4f [ 53.945160] kasan_report.cold+0x130/0x2af [ 53.945164] check_memory_region+0x123/0x190 [ 53.945168] memcpy+0x24/0x50 [ 53.945172] soft_cursor+0x43d/0xa50 [ 53.945175] ? kfree+0x183/0x270 [ 53.945181] bit_cursor+0x11be/0x1830 [ 53.945187] ? bit_clear+0x4a0/0x4a0 [ 53.945192] ? fb_get_color_depth+0x5f/0x70 [ 53.945196] ? get_color+0x1bf/0x3b0 [ 53.945200] fbcon_cursor+0x4e3/0x6f0 [ 53.945204] ? bit_clear+0x4a0/0x4a0 [ 53.945209] hide_cursor+0x9d/0x2e0 [ 53.945212] ? lock_downgrade+0x740/0x740 [ 53.945217] redraw_screen+0x2a5/0x7c0 [ 53.945222] ? con_flush_chars+0x90/0x90 [ 53.945225] ? mutex_unlock+0xd/0x10 [ 53.945228] ? tty_do_resize+0x43/0x160 [ 53.945233] vc_do_resize+0xc8a/0xec0 [ 53.945239] ? vt_console_print+0xf70/0xf70 [ 53.945243] ? lock_acquire+0x16f/0x430 [ 53.945246] ? vt_ioctl+0xfa9/0x2170 [ 53.945251] vc_resize+0x4d/0x60 [ 53.945255] vt_ioctl+0x10a8/0x2170 [ 53.945259] ? complete_change_console+0x360/0x360 [ 53.945263] ? avc_ss_reset+0x110/0x110 [ 53.945266] ? kasan_slab_free+0x75/0xc0 [ 53.945270] ? SyS_open+0x2d/0x40 [ 53.945273] ? do_syscall_64+0x1e8/0x640 [ 53.945277] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 53.945281] ? find_held_lock+0x35/0x130 [ 53.945285] ? debug_check_no_obj_freed+0x2aa/0x7b7 [ 53.945288] ? tty_jobctrl_ioctl+0x44/0xc10 [ 53.945291] ? complete_change_console+0x360/0x360 [ 53.945295] tty_ioctl+0x841/0x1320 [ 53.945299] ? tty_vhangup+0x30/0x30 [ 53.945305] ? __might_sleep+0x93/0xb0 [ 53.945311] ? tty_vhangup+0x30/0x30 [ 53.945314] do_vfs_ioctl+0x7ae/0x1060 [ 53.945318] ? selinux_file_mprotect+0x5d0/0x5d0 [ 53.945323] ? ioctl_preallocate+0x1c0/0x1c0 [ 53.945326] ? putname+0xe0/0x120 [ 53.945330] ? do_sys_open+0x221/0x430 [ 53.945335] ? security_file_ioctl+0x7d/0xb0 [ 53.945339] ? security_file_ioctl+0x89/0xb0 [ 53.945343] SyS_ioctl+0x8f/0xc0 [ 53.945347] ? do_vfs_ioctl+0x1060/0x1060 [ 53.945351] do_syscall_64+0x1e8/0x640 [ 53.945355] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.945360] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 53.945363] RIP: 0033:0x440219 [ 53.945365] RSP: 002b:00007fff5036ec48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 53.945369] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440219 [ 53.945371] RDX: 00000000200002c0 RSI: 000000000000560a RDI: 0000000000000004 [ 53.945373] RBP: 00000000006ca018 R08: 0000000000000001 R09: 00000000004002c8 [ 53.945375] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000401b00 [ 53.945377] R13: 0000000000401b90 R14: 0000000000000000 R15: 0000000000000000 [ 53.946670] Kernel Offset: disabled [ 54.774863] Rebooting in 86400 seconds..