[ 33.853722] audit: type=1800 audit(1575800016.160:33): pid=6996 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.875466] audit: type=1800 audit(1575800016.160:34): pid=6996 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: [ 38.215589] random: sshd: uninitialized urandom read (32 bytes read) [ 38.563756] audit: type=1400 audit(1575800020.870:35): avc: denied { map } for pid=7168 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 [ 38.602932] random: sshd: uninitialized urandom read (32 bytes read) [ 39.190668] random: sshd: uninitialized urandom read (32 bytes read) [ 39.381384] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.33' (ECDSA) to the list of known hosts. [ 45.001796] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program [ 45.128236] audit: type=1400 audit(1575800027.430:36): avc: denied { map } for pid=7180 comm="syz-executor254" path="/root/syz-executor254759640" 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 [ 45.276671] ================================================================== [ 45.276700] BUG: KASAN: slab-out-of-bounds in bit_putcs+0xc09/0xdb0 [ 45.276705] Read of size 1 at addr ffff888091337088 by task syz-executor254/7208 [ 45.276707] [ 45.276716] CPU: 1 PID: 7208 Comm: syz-executor254 Not tainted 4.14.158-syzkaller #0 [ 45.276720] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.276724] Call Trace: [ 45.276734] dump_stack+0x142/0x197 [ 45.276744] ? bit_putcs+0xc09/0xdb0 [ 45.276754] print_address_description.cold+0x7c/0x1dc [ 45.276762] ? bit_putcs+0xc09/0xdb0 [ 45.276769] kasan_report.cold+0xa9/0x2af [ 45.276779] __asan_report_load1_noabort+0x14/0x20 [ 45.276786] bit_putcs+0xc09/0xdb0 [ 45.276794] ? memcpy+0x46/0x50 [ 45.276811] ? update_attr.isra.0+0x160/0x160 [ 45.276823] ? update_attr.isra.0+0x160/0x160 [ 45.276830] ? fb_get_color_depth+0x5f/0x70 [ 45.276841] ? update_attr.isra.0+0x160/0x160 [ 45.276847] fbcon_putcs+0x3c2/0x480 [ 45.276862] do_update_region+0x3b3/0x650 [ 45.276874] ? con_get_trans_old+0x230/0x230 [ 45.276881] ? fbcon_set_palette+0x203/0x5b0 [ 45.276888] ? fbcon_redraw.isra.0+0x440/0x440 [ 45.276900] redraw_screen+0x589/0x7c0 [ 45.276911] ? find_held_lock+0x35/0x130 [ 45.276922] ? con_flush_chars+0x90/0x90 [ 45.276941] fbcon_do_set_font+0x6d1/0x9a0 [ 45.276954] fbcon_copy_font+0x12c/0x190 [ 45.276962] ? fbcon_do_set_font+0x9a0/0x9a0 [ 45.276970] con_font_op+0x5c6/0x1060 [ 45.276981] ? con_write+0xc0/0xc0 [ 45.276994] ? kasan_check_write+0x14/0x20 [ 45.277003] ? _copy_from_user+0x99/0x110 [ 45.277013] vt_ioctl+0x179f/0x2170 [ 45.277021] ? avc_has_extended_perms+0x8ec/0xe40 [ 45.277032] ? complete_change_console+0x360/0x360 [ 45.277040] ? avc_ss_reset+0x110/0x110 [ 45.277056] ? tty_jobctrl_ioctl+0x44/0xc10 [ 45.277063] ? complete_change_console+0x360/0x360 [ 45.277073] tty_ioctl+0x841/0x1320 [ 45.277082] ? tty_vhangup+0x30/0x30 [ 45.277099] ? __might_sleep+0x93/0xb0 [ 45.277112] ? __fget+0x210/0x370 [ 45.277126] ? tty_vhangup+0x30/0x30 [ 45.277135] do_vfs_ioctl+0x7ae/0x1060 [ 45.277144] ? selinux_file_mprotect+0x5d0/0x5d0 [ 45.277150] ? lock_downgrade+0x740/0x740 [ 45.277158] ? ioctl_preallocate+0x1c0/0x1c0 [ 45.277167] ? __fget+0x237/0x370 [ 45.277181] ? security_file_ioctl+0x7d/0xb0 [ 45.277187] ? security_file_ioctl+0x89/0xb0 [ 45.277198] SyS_ioctl+0x8f/0xc0 [ 45.277205] ? do_vfs_ioctl+0x1060/0x1060 [ 45.277215] do_syscall_64+0x1e8/0x640 [ 45.277223] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.277236] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.277243] RIP: 0033:0x446ad9 [ 45.277248] RSP: 002b:00007f5fd86aed08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 45.277257] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446ad9 [ 45.277261] RDX: 0000000020000180 RSI: 0000000000004b72 RDI: 0000000000000008 [ 45.277266] RBP: 00000000006dbc70 R08: 00007f5fd86af700 R09: 0000000000000000 [ 45.277271] R10: 00007f5fd86af700 R11: 0000000000000246 R12: 00000000006dbc7c [ 45.277275] R13: 0000000000000000 R14: 00000000f72a8fce R15: 0000000000000001 [ 45.277290] [ 45.277293] Allocated by task 7196: [ 45.277303] save_stack_trace+0x16/0x20 [ 45.277309] save_stack+0x45/0xd0 [ 45.277315] kasan_kmalloc+0xce/0xf0 [ 45.277320] __kmalloc+0x15d/0x7a0 [ 45.277326] fbcon_set_font+0x2f8/0x7b0 [ 45.277332] con_font_op+0xc0f/0x1060 [ 45.277338] vt_ioctl+0xb80/0x2170 [ 45.277343] tty_ioctl+0x841/0x1320 [ 45.277350] do_vfs_ioctl+0x7ae/0x1060 [ 45.277356] SyS_ioctl+0x8f/0xc0 [ 45.277363] do_syscall_64+0x1e8/0x640 [ 45.277369] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.277372] [ 45.277375] Freed by task 0: [ 45.277378] (stack is not available) [ 45.277380] [ 45.277385] The buggy address belongs to the object at ffff888091336880 [ 45.277385] which belongs to the cache kmalloc-2048 of size 2048 [ 45.277391] The buggy address is located 8 bytes to the right of [ 45.277391] 2048-byte region [ffff888091336880, ffff888091337080) [ 45.277394] The buggy address belongs to the page: [ 45.277400] page:ffffea000244cd80 count:1 mapcount:0 mapping:ffff888091336000 index:0x0 compound_mapcount: 0 [ 45.277411] flags: 0xfffe0000008100(slab|head) [ 45.277421] raw: 00fffe0000008100 ffff888091336000 0000000000000000 0000000100000003 [ 45.277429] raw: ffffea0001ef56a0 ffffea0001ed77a0 ffff8880aa800c40 0000000000000000 [ 45.277432] page dumped because: kasan: bad access detected [ 45.277434] [ 45.277436] Memory state around the buggy address: [ 45.277442] ffff888091336f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.277447] ffff888091337000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.277453] >ffff888091337080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.277456] ^ [ 45.277462] ffff888091337100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.277467] ffff888091337180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.277470] ================================================================== [ 45.277473] Disabling lock debugging due to kernel taint [ 45.277507] Kernel panic - not syncing: panic_on_warn set ... [ 45.277507] [ 45.277515] CPU: 1 PID: 7208 Comm: syz-executor254 Tainted: G B 4.14.158-syzkaller #0 [ 45.277519] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.277521] Call Trace: [ 45.277527] dump_stack+0x142/0x197 [ 45.277535] ? bit_putcs+0xc09/0xdb0 [ 45.277542] panic+0x1f9/0x42d [ 45.277548] ? add_taint.cold+0x16/0x16 [ 45.277556] ? ___preempt_schedule+0x16/0x18 [ 45.277565] kasan_end_report+0x47/0x4f [ 45.277572] kasan_report.cold+0x130/0x2af [ 45.277581] __asan_report_load1_noabort+0x14/0x20 [ 45.277587] bit_putcs+0xc09/0xdb0 [ 45.277593] ? memcpy+0x46/0x50 [ 45.277604] ? update_attr.isra.0+0x160/0x160 [ 45.277613] ? update_attr.isra.0+0x160/0x160 [ 45.277619] ? fb_get_color_depth+0x5f/0x70 [ 45.277627] ? update_attr.isra.0+0x160/0x160 [ 45.277634] fbcon_putcs+0x3c2/0x480 [ 45.277644] do_update_region+0x3b3/0x650 [ 45.277653] ? con_get_trans_old+0x230/0x230 [ 45.277659] ? fbcon_set_palette+0x203/0x5b0 [ 45.277666] ? fbcon_redraw.isra.0+0x440/0x440 [ 45.277675] redraw_screen+0x589/0x7c0 [ 45.277682] ? find_held_lock+0x35/0x130 [ 45.277690] ? con_flush_chars+0x90/0x90 [ 45.277699] fbcon_do_set_font+0x6d1/0x9a0 [ 45.277709] fbcon_copy_font+0x12c/0x190 [ 45.277715] ? fbcon_do_set_font+0x9a0/0x9a0 [ 45.277721] con_font_op+0x5c6/0x1060 [ 45.277729] ? con_write+0xc0/0xc0 [ 45.277738] ? kasan_check_write+0x14/0x20 [ 45.277745] ? _copy_from_user+0x99/0x110 [ 45.277752] vt_ioctl+0x179f/0x2170 [ 45.277758] ? avc_has_extended_perms+0x8ec/0xe40 [ 45.277765] ? complete_change_console+0x360/0x360 [ 45.277771] ? avc_ss_reset+0x110/0x110 [ 45.277781] ? tty_jobctrl_ioctl+0x44/0xc10 [ 45.277787] ? complete_change_console+0x360/0x360 [ 45.277795] tty_ioctl+0x841/0x1320 [ 45.277802] ? tty_vhangup+0x30/0x30 [ 45.277813] ? __might_sleep+0x93/0xb0 [ 45.277818] ? __fget+0x210/0x370 [ 45.277828] ? tty_vhangup+0x30/0x30 [ 45.277834] do_vfs_ioctl+0x7ae/0x1060 [ 45.277841] ? selinux_file_mprotect+0x5d0/0x5d0 [ 45.277847] ? lock_downgrade+0x740/0x740 [ 45.277855] ? ioctl_preallocate+0x1c0/0x1c0 [ 45.277862] ? __fget+0x237/0x370 [ 45.277871] ? security_file_ioctl+0x7d/0xb0 [ 45.277877] ? security_file_ioctl+0x89/0xb0 [ 45.277885] SyS_ioctl+0x8f/0xc0 [ 45.277891] ? do_vfs_ioctl+0x1060/0x1060 [ 45.277898] do_syscall_64+0x1e8/0x640 [ 45.277905] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.277914] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.277918] RIP: 0033:0x446ad9 [ 45.277922] RSP: 002b:00007f5fd86aed08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 45.277929] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446ad9 [ 45.277938] RDX: 0000000020000180 RSI: 0000000000004b72 RDI: 0000000000000008 [ 45.277942] RBP: 00000000006dbc70 R08: 00007f5fd86af700 R09: 0000000000000000 [ 45.277946] R10: 00007f5fd86af700 R11: 0000000000000246 R12: 00000000006dbc7c [ 45.277950] R13: 0000000000000000 R14: 00000000f72a8fce R15: 0000000000000001 [ 45.279464] Kernel Offset: disabled