================================================================== BUG: KASAN: global-out-of-bounds in fbcon_resize+0x781/0x810 drivers/video/fbdev/core/fbcon.c:2206 Read of size 4 at addr ffffffff8896c2d8 by task syz-executor.0/20040 CPU: 1 PID: 20040 Comm: syz-executor.0 Not tainted 5.9.0-rc4-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x497 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:530 fbcon_resize+0x781/0x810 drivers/video/fbdev/core/fbcon.c:2206 resize_screen drivers/tty/vt/vt.c:1175 [inline] vc_do_resize+0x535/0x1150 drivers/tty/vt/vt.c:1246 vt_resizex drivers/tty/vt/vt_ioctl.c:818 [inline] vt_ioctl+0xef0/0x2cc0 drivers/tty/vt/vt_ioctl.c:1036 vt_compat_ioctl+0x1c9/0x6b0 drivers/tty/vt/vt_ioctl.c:1257 tty_compat_ioctl+0x19c/0x410 drivers/tty/tty_io.c:2847 __do_compat_sys_ioctl+0x1d3/0x230 fs/ioctl.c:842 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x60/0x90 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fc6549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f55c00bc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000000560a RDX: 0000000020000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the variable: font_vga_8x16+0x58/0x60 Memory state around the buggy address: ffffffff8896c180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8896c200: 00 00 00 00 f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 >ffffffff8896c280: 00 00 00 00 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 ^ ffffffff8896c300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8896c380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================