================================================================== 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+0x1c36/0x2210 drivers/video/fbdev/vga16fb.c:1260 Read of size 2 at addr ffffffff889972be by task syz-executor.0/7041 CPU: 0 PID: 7041 Comm: syz-executor.0 Not tainted 5.8.0-rc3-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+0x18f/0x20d lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x436 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:530 vga_8planes_imageblit drivers/video/fbdev/vga16fb.c:1140 [inline] vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1203 [inline] vga16fb_imageblit+0x1c36/0x2210 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x514/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x1166/0x17d0 drivers/video/fbdev/core/bitblit.c:386 fbcon_cursor+0x52b/0x650 drivers/video/fbdev/core/fbcon.c:1411 set_cursor drivers/tty/vt/vt.c:915 [inline] set_cursor+0x1dd/0x230 drivers/tty/vt/vt.c:906 redraw_screen+0x4b7/0x770 drivers/tty/vt/vt.c:1031 vc_do_resize+0x110e/0x13f0 drivers/tty/vt/vt.c:1314 fbcon_modechanged+0x36c/0x710 drivers/video/fbdev/core/fbcon.c:2990 fbcon_update_vcs+0x3a/0x50 drivers/video/fbdev/core/fbcon.c:3048 fb_set_var+0xae8/0xd60 drivers/video/fbdev/core/fbmem.c:1056 do_fb_ioctl+0x33f/0x6c0 drivers/video/fbdev/core/fbmem.c:1109 fb_ioctl+0xdd/0x130 drivers/video/fbdev/core/fbmem.c:1185 vfs_ioctl fs/ioctl.c:48 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:753 __do_sys_ioctl fs/ioctl.c:762 [inline] __se_sys_ioctl fs/ioctl.c:760 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:760 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cb29 Code: Bad RIP value. RSP: 002b:00007fedb20a7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004e55e0 RCX: 000000000045cb29 RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000002fd R14: 00000000004c58a5 R15: 00007fedb20a86d4 The buggy address belongs to the variable: transl_h+0x3e/0x40 Memory state around the buggy address: ffffffff88997180: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff88997200: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa >ffffffff88997280: 00 00 00 00 fa fa fa fa 00 00 00 00 fa fa fa fa ^ ffffffff88997300: 00 01 fa fa fa fa fa fa 00 00 00 04 fa fa fa fa ffffffff88997380: 00 00 04 fa fa fa fa fa 00 00 00 00 00 00 02 fa ==================================================================