================================================================== BUG: KASAN: global-out-of-bounds in memcpy include/linux/string.h:406 [inline] BUG: KASAN: global-out-of-bounds in soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 Read of size 26 at addr ffffffff88965288 by task syz-executor.4/5256 CPU: 0 PID: 5256 Comm: syz-executor.4 Not tainted 5.8.0-rc6-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 check_memory_region_inline mm/kasan/generic.c:186 [inline] check_memory_region+0x13d/0x180 mm/kasan/generic.c:192 memcpy+0x20/0x60 mm/kasan/common.c:105 memcpy include/linux/string.h:406 [inline] soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0x1166/0x17d0 drivers/video/fbdev/core/bitblit.c:386 fbcon_cursor+0x52b/0x650 drivers/video/fbdev/core/fbcon.c:1411 hide_cursor+0x85/0x280 drivers/tty/vt/vt.c:902 redraw_screen+0x5e1/0x770 drivers/tty/vt/vt.c:1006 fbcon_do_set_font+0x7ec/0x950 drivers/video/fbdev/core/fbcon.c:2615 fbcon_copy_font+0x125/0x190 drivers/video/fbdev/core/fbcon.c:2630 con_font_copy drivers/tty/vt/vt.c:4627 [inline] con_font_op+0x65a/0x1110 drivers/tty/vt/vt.c:4642 vt_ioctl+0x16dc/0x2670 drivers/tty/vt/vt_ioctl.c:980 tty_ioctl+0x1019/0x15f0 drivers/tty/tty_io.c:2656 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:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c1f9 Code: Bad RIP value. RSP: 002b:00007fb0c4340c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000f440 RCX: 000000000045c1f9 RDX: 0000000020000480 RSI: 0000000000004b72 RDI: 0000000000000007 RBP: 000000000078bfe0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 00007fff87f33a2f R14: 00007fb0c43419c0 R15: 000000000078bfac The buggy address belongs to the variable: oid_search_table+0x128/0x160 Memory state around the buggy address: ffffffff88965180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff88965200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff88965280: 00 fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 ^ ffffffff88965300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff88965380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================