================================================================== BUG: KASAN: global-out-of-bounds in fbcon_resize+0x7b5/0x860 drivers/video/fbdev/core/fbcon.c:2167 Read of size 4 at addr ffffffff87cd6258 by task syz-executor.5/17884 CPU: 1 PID: 17884 Comm: syz-executor.5 Not tainted 4.19.145-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 print_address_description.cold+0x5/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1c7 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_load4_noabort+0x88/0x90 mm/kasan/report.c:432 fbcon_resize+0x7b5/0x860 drivers/video/fbdev/core/fbcon.c:2167 resize_screen drivers/tty/vt/vt.c:1173 [inline] vc_do_resize+0x53e/0x1410 drivers/tty/vt/vt.c:1244 vt_ioctl+0xb23/0x2580 drivers/tty/vt/vt_ioctl.c:850 tty_ioctl+0x5b0/0x15c0 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d5f9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f0f970cfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000019380 RCX: 000000000045d5f9 RDX: 0000000020000000 RSI: 0000000000005609 RDI: 0000000000000005 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffe59c5d86f R14: 00007f0f970d09c0 R15: 000000000118cf4c The buggy address belongs to the variable: font_vga_8x16+0x58/0x60 Memory state around the buggy address: ffffffff87cd6100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff87cd6180: 00 00 00 00 fa fa fa fa 00 fa fa fa fa fa fa fa >ffffffff87cd6200: 00 00 00 00 00 fa fa fa fa fa fa fa 00 00 00 00 ^ ffffffff87cd6280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff87cd6300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================