[?25l[?1c7[ ok 8[?25h[?0c. [ 30.826678] random: sshd: uninitialized urandom read (32 bytes read) [ 31.142114] kauditd_printk_skb: 10 callbacks suppressed [ 31.142122] audit: type=1400 audit(1575866286.182:35): avc: denied { map } for pid=6947 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 [ 31.197455] random: sshd: uninitialized urandom read (32 bytes read) syzkaller login: [ 31.738085] random: sshd: uninitialized urandom read (32 bytes read) [ 35.884909] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.1.22' (ECDSA) to the list of known hosts. [ 41.407397] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program [ 41.522058] audit: type=1400 audit(1575866296.562:36): avc: denied { map } for pid=6961 comm="syz-executor117" path="/root/syz-executor117208043" 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 [ 41.891436] ================================================================== [ 41.891463] BUG: KASAN: slab-out-of-bounds in bit_putcs+0xc09/0xdb0 [ 41.891469] Read of size 1 at addr ffff88808fc49664 by task syz-executor117/7007 [ 41.891472] [ 41.891481] CPU: 0 PID: 7007 Comm: syz-executor117 Not tainted 4.14.158-syzkaller #0 [ 41.891485] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.891488] Call Trace: [ 41.891499] dump_stack+0x142/0x197 [ 41.891506] ? __update_open_stateid+0x188/0xac0 [ 41.891515] ? bit_putcs+0xc09/0xdb0 [ 41.891524] print_address_description.cold+0x7c/0x1dc [ 41.891532] ? bit_putcs+0xc09/0xdb0 [ 41.891539] kasan_report.cold+0xa9/0x2af [ 41.891550] __asan_report_load1_noabort+0x14/0x20 [ 41.891557] bit_putcs+0xc09/0xdb0 [ 41.891565] ? memcpy+0x46/0x50 [ 41.891583] ? update_attr.isra.0+0x160/0x160 [ 41.891595] ? update_attr.isra.0+0x160/0x160 [ 41.891601] ? fb_get_color_depth+0x5f/0x70 [ 41.891612] ? update_attr.isra.0+0x160/0x160 [ 41.891618] fbcon_putcs+0x3c2/0x480 [ 41.891630] do_update_region+0x3b3/0x650 [ 41.891642] ? con_get_trans_old+0x230/0x230 [ 41.891648] ? fbcon_set_palette+0x203/0x5b0 [ 41.891655] ? fbcon_redraw.isra.0+0x440/0x440 [ 41.891672] redraw_screen+0x589/0x7c0 [ 41.891680] ? find_held_lock+0x35/0x130 [ 41.891688] ? con_flush_chars+0x90/0x90 [ 41.891699] fbcon_do_set_font+0x6d1/0x9a0 [ 41.891710] fbcon_copy_font+0x12c/0x190 [ 41.891716] ? fbcon_do_set_font+0x9a0/0x9a0 [ 41.891723] con_font_op+0x5c6/0x1060 [ 41.891732] ? con_write+0xc0/0xc0 [ 41.891745] ? kasan_check_write+0x14/0x20 [ 41.891752] ? _copy_from_user+0x99/0x110 [ 41.891761] vt_ioctl+0x179f/0x2170 [ 41.891768] ? avc_has_extended_perms+0x8ec/0xe40 [ 41.891774] ? futex_wake+0x134/0x430 [ 41.891782] ? complete_change_console+0x360/0x360 [ 41.891789] ? avc_ss_reset+0x110/0x110 [ 41.891802] ? tty_jobctrl_ioctl+0x44/0xc10 [ 41.891808] ? complete_change_console+0x360/0x360 [ 41.891817] tty_ioctl+0x841/0x1320 [ 41.891825] ? tty_vhangup+0x30/0x30 [ 41.891840] ? __might_sleep+0x93/0xb0 [ 41.891847] ? __fget+0x210/0x370 [ 41.891858] ? tty_vhangup+0x30/0x30 [ 41.891867] do_vfs_ioctl+0x7ae/0x1060 [ 41.891875] ? selinux_file_mprotect+0x5d0/0x5d0 [ 41.891881] ? lock_downgrade+0x740/0x740 [ 41.891888] ? ioctl_preallocate+0x1c0/0x1c0 [ 41.891897] ? __fget+0x237/0x370 [ 41.891908] ? security_file_ioctl+0x7d/0xb0 [ 41.891914] ? security_file_ioctl+0x89/0xb0 [ 41.891923] SyS_ioctl+0x8f/0xc0 [ 41.891929] ? do_vfs_ioctl+0x1060/0x1060 [ 41.891939] do_syscall_64+0x1e8/0x640 [ 41.891946] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.891958] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.891964] RIP: 0033:0x447079 [ 41.891968] RSP: 002b:00007fdd7e4a8ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 41.891976] RAX: ffffffffffffffda RBX: 00000000006dcc78 RCX: 0000000000447079 [ 41.891980] RDX: 0000000020000000 RSI: 0000000000004b72 RDI: 0000000000000005 [ 41.891985] RBP: 00000000006dcc70 R08: 0000000000000000 R09: 0000000000000000 [ 41.891989] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc7c [ 41.891993] R13: 00007ffde6ab184f R14: 00007fdd7e4a99c0 R15: 0000000000000003 [ 41.892005] [ 41.892008] Allocated by task 6971: [ 41.892016] save_stack_trace+0x16/0x20 [ 41.892021] save_stack+0x45/0xd0 [ 41.892026] kasan_kmalloc+0xce/0xf0 [ 41.892031] __kmalloc+0x15d/0x7a0 [ 41.892039] fbcon_set_font+0x2f8/0x7b0 [ 41.892045] con_font_op+0xc0f/0x1060 [ 41.892051] vt_ioctl+0xb80/0x2170 [ 41.892059] tty_ioctl+0x841/0x1320 [ 41.892066] do_vfs_ioctl+0x7ae/0x1060 [ 41.892072] SyS_ioctl+0x8f/0xc0 [ 41.892078] do_syscall_64+0x1e8/0x640 [ 41.892084] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.892086] [ 41.892089] Freed by task 5461: [ 41.892095] save_stack_trace+0x16/0x20 [ 41.892100] save_stack+0x45/0xd0 [ 41.892105] kasan_slab_free+0x75/0xc0 [ 41.892110] kfree+0xcc/0x270 [ 41.892118] load_elf_binary+0x1e57/0x4d60 [ 41.892124] search_binary_handler+0x149/0x6f0 [ 41.892131] do_execveat_common.isra.0+0x1000/0x1dd0 [ 41.892136] SyS_execve+0x39/0x50 [ 41.892142] do_syscall_64+0x1e8/0x640 [ 41.892149] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.892151] [ 41.892156] The buggy address belongs to the object at ffff88808fc49500 [ 41.892156] which belongs to the cache kmalloc-512 of size 512 [ 41.892162] The buggy address is located 356 bytes inside of [ 41.892162] 512-byte region [ffff88808fc49500, ffff88808fc49700) [ 41.892164] The buggy address belongs to the page: [ 41.892170] page:ffffea00023f1240 count:1 mapcount:0 mapping:ffff88808fc49000 index:0x0 [ 41.892177] flags: 0xfffe0000000100(slab) [ 41.892186] raw: 00fffe0000000100 ffff88808fc49000 0000000000000000 0000000100000006 [ 41.892194] raw: ffffea00024377a0 ffffea00023f78a0 ffff8880aa800940 0000000000000000 [ 41.892196] page dumped because: kasan: bad access detected [ 41.892198] [ 41.892201] Memory state around the buggy address: [ 41.892206] ffff88808fc49500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 41.892211] ffff88808fc49580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 41.892216] >ffff88808fc49600: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.892219] ^ [ 41.892224] ffff88808fc49680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.892229] ffff88808fc49700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.892231] ================================================================== [ 41.892234] Disabling lock debugging due to kernel taint [ 41.894520] Kernel panic - not syncing: panic_on_warn set ... [ 41.894520] [ 41.894529] CPU: 0 PID: 7007 Comm: syz-executor117 Tainted: G B 4.14.158-syzkaller #0 [ 41.894532] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.894535] Call Trace: [ 41.894544] dump_stack+0x142/0x197 [ 41.894552] ? bit_putcs+0xc09/0xdb0 [ 41.894558] panic+0x1f9/0x42d [ 41.894564] ? add_taint.cold+0x16/0x16 [ 41.894573] ? ___preempt_schedule+0x16/0x18 [ 41.894585] kasan_end_report+0x47/0x4f [ 41.894591] kasan_report.cold+0x130/0x2af [ 41.894600] __asan_report_load1_noabort+0x14/0x20 [ 41.894606] bit_putcs+0xc09/0xdb0 [ 41.894613] ? memcpy+0x46/0x50 [ 41.894625] ? update_attr.isra.0+0x160/0x160 [ 41.894634] ? update_attr.isra.0+0x160/0x160 [ 41.894640] ? fb_get_color_depth+0x5f/0x70 [ 41.894648] ? update_attr.isra.0+0x160/0x160 [ 41.894654] fbcon_putcs+0x3c2/0x480 [ 41.894670] do_update_region+0x3b3/0x650 [ 41.894680] ? con_get_trans_old+0x230/0x230 [ 41.894686] ? fbcon_set_palette+0x203/0x5b0 [ 41.894692] ? fbcon_redraw.isra.0+0x440/0x440 [ 41.894701] redraw_screen+0x589/0x7c0 [ 41.894708] ? find_held_lock+0x35/0x130 [ 41.894715] ? con_flush_chars+0x90/0x90 [ 41.894724] fbcon_do_set_font+0x6d1/0x9a0 [ 41.894733] fbcon_copy_font+0x12c/0x190 [ 41.894740] ? fbcon_do_set_font+0x9a0/0x9a0 [ 41.894746] con_font_op+0x5c6/0x1060 [ 41.894753] ? con_write+0xc0/0xc0 [ 41.894762] ? kasan_check_write+0x14/0x20 [ 41.894769] ? _copy_from_user+0x99/0x110 [ 41.894776] vt_ioctl+0x179f/0x2170 [ 41.894783] ? avc_has_extended_perms+0x8ec/0xe40 [ 41.894789] ? futex_wake+0x134/0x430 [ 41.894796] ? complete_change_console+0x360/0x360 [ 41.894802] ? avc_ss_reset+0x110/0x110 [ 41.894812] ? tty_jobctrl_ioctl+0x44/0xc10 [ 41.894818] ? complete_change_console+0x360/0x360 [ 41.894827] tty_ioctl+0x841/0x1320 [ 41.894834] ? tty_vhangup+0x30/0x30 [ 41.894843] ? __might_sleep+0x93/0xb0 [ 41.894849] ? __fget+0x210/0x370 [ 41.894858] ? tty_vhangup+0x30/0x30 [ 41.894865] do_vfs_ioctl+0x7ae/0x1060 [ 41.894872] ? selinux_file_mprotect+0x5d0/0x5d0 [ 41.894878] ? lock_downgrade+0x740/0x740 [ 41.894884] ? ioctl_preallocate+0x1c0/0x1c0 [ 41.894890] ? __fget+0x237/0x370 [ 41.894899] ? security_file_ioctl+0x7d/0xb0 [ 41.894904] ? security_file_ioctl+0x89/0xb0 [ 41.894910] SyS_ioctl+0x8f/0xc0 [ 41.894916] ? do_vfs_ioctl+0x1060/0x1060 [ 41.894923] do_syscall_64+0x1e8/0x640 [ 41.894928] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.894937] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 41.894942] RIP: 0033:0x447079 [ 41.894945] RSP: 002b:00007fdd7e4a8ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 41.894952] RAX: ffffffffffffffda RBX: 00000000006dcc78 RCX: 0000000000447079 [ 41.894955] RDX: 0000000020000000 RSI: 0000000000004b72 RDI: 0000000000000005 [ 41.894958] RBP: 00000000006dcc70 R08: 0000000000000000 R09: 0000000000000000 [ 41.894962] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc7c [ 41.894965] R13: 00007ffde6ab184f R14: 00007fdd7e4a99c0 R15: 0000000000000003 [ 41.896361] Kernel Offset: disabled