================================================================== BUG: KASAN: global-out-of-bounds in vga_8planes_imageblit drivers/video/fbdev/vga16fb.c:1140 [inline] BUG: KASAN: global-out-of-bounds in vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1203 [inline] BUG: KASAN: global-out-of-bounds in vga16fb_imageblit+0x1c8b/0x2200 drivers/video/fbdev/vga16fb.c:1260 Read of size 2 at addr ffffffff8896c23e by task syz-executor065/9714 CPU: 0 PID: 9714 Comm: syz-executor065 Not tainted 5.5.0-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+0x197/0x210 lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x30b mm/kasan/report.c:374 __kasan_report.cold+0x1b/0x32 mm/kasan/report.c:506 kasan_report+0x12/0x20 mm/kasan/common.c:641 __asan_report_load2_noabort+0x14/0x20 mm/kasan/generic_report.c:133 vga_8planes_imageblit drivers/video/fbdev/vga16fb.c:1140 [inline] vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1203 [inline] vga16fb_imageblit+0x1c8b/0x2200 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x4fb/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x12fc/0x1a60 drivers/video/fbdev/core/bitblit.c:386 fbcon_cursor+0x487/0x660 drivers/video/fbdev/core/fbcon.c:1409 set_cursor drivers/tty/vt/vt.c:908 [inline] set_cursor+0x1fb/0x280 drivers/tty/vt/vt.c:899 redraw_screen+0x4e1/0x7d0 drivers/tty/vt/vt.c:1013 fbcon_modechanged+0x5c3/0x790 drivers/video/fbdev/core/fbcon.c:2998 fbcon_update_vcs+0x42/0x50 drivers/video/fbdev/core/fbcon.c:3045 fb_set_var+0xb32/0xdd0 drivers/video/fbdev/core/fbmem.c:1056 fbcon_switch+0x556/0x17f0 drivers/video/fbdev/core/fbcon.c:2294 redraw_screen+0x2b6/0x7d0 drivers/tty/vt/vt.c:997 fbcon_modechanged+0x5c3/0x790 drivers/video/fbdev/core/fbcon.c:2998 fbcon_update_vcs+0x42/0x50 drivers/video/fbdev/core/fbcon.c:3045 fb_set_var+0xb32/0xdd0 drivers/video/fbdev/core/fbmem.c:1056 do_fb_ioctl+0x390/0x7d0 drivers/video/fbdev/core/fbmem.c:1109 fb_compat_ioctl+0x305/0xc50 drivers/video/fbdev/core/fbmem.c:1315 __do_compat_sys_ioctl fs/ioctl.c:857 [inline] __se_compat_sys_ioctl fs/ioctl.c:808 [inline] __ia32_compat_sys_ioctl+0x245/0x2c0 fs/ioctl.c:808 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x27b/0xe16 arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fdae39 Code: 1d 00 00 00 89 d3 5b 5e 5d c3 8b 04 24 c3 8b 1c 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 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:00000000ff913efc EFLAGS: 00000213 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000004601 RDX: 0000000020000000 RSI: 00000000080ea078 RDI: 00000000ff913f50 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: transl_h+0x3e/0x40 Memory state around the buggy address: ffffffff8896c100: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8896c180: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa >ffffffff8896c200: 00 00 00 00 fa fa fa fa 00 00 00 00 fa fa fa fa ^ ffffffff8896c280: 00 01 fa fa fa fa fa fa 00 00 00 04 fa fa fa fa ffffffff8896c300: 00 00 04 fa fa fa fa fa 00 00 00 00 00 00 02 fa ==================================================================