================================================================== BUG: KASAN: global-out-of-bounds in fbcon_resize+0x850/0x960 drivers/video/fbdev/core/fbcon.c:1982 Read of size 4 at addr ffffffff88302c58 by task syz-executor.0/13751 CPU: 1 PID: 13751 Comm: syz-executor.0 Not tainted 4.19.146-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+0x22c/0x33e lib/dump_stack.c:118 print_address_description.cold+0x5/0x25c mm/kasan/report.c:256 kasan_report_error.cold+0x66/0xb9 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+0x850/0x960 drivers/video/fbdev/core/fbcon.c:1982 resize_screen drivers/tty/vt/vt.c:1173 [inline] vc_do_resize+0x4a3/0x13d0 drivers/tty/vt/vt.c:1244 vt_ioctl+0xbde/0x2af0 drivers/tty/vt/vt_ioctl.c:850 tty_ioctl+0x5b0/0x1420 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/0x670 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:00007fe8bb431c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001d140 RCX: 000000000045d5f9 RDX: 0000000020000000 RSI: 0000000000005609 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffd77e1c29f R14: 00007fe8bb4329c0 R15: 000000000118cf4c The buggy address belongs to the variable: font_vga_8x16+0x58/0x60 Memory state around the buggy address: ffffffff88302b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff88302b80: 00 00 00 00 fa fa fa fa 00 fa fa fa fa fa fa fa >ffffffff88302c00: 00 00 00 00 00 fa fa fa fa fa fa fa 00 00 00 00 ^ ffffffff88302c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff88302d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================