================================================================== 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.4/26569 CPU: 0 PID: 26569 Comm: syz-executor.4 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_resize+0xa3/0xe0 drivers/tty/vt/vt.c:1365 tiocswinsz drivers/tty/tty_io.c:2275 [inline] tty_ioctl+0x111b/0x15c0 drivers/tty/tty_io.c:2584 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:00007fac2adbbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000019a40 RCX: 000000000045d5f9 RDX: 0000000020000000 RSI: 0000000000005414 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffffb10435f R14: 00007fac2adbc9c0 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 ================================================================== overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off.