================================================================== BUG: KASAN: global-out-of-bounds in memcpy include/linux/string.h:426 [inline] BUG: KASAN: global-out-of-bounds in soft_cursor+0x448/0xa20 drivers/video/fbdev/core/softcursor.c:70 Read of size 32 at addr ffffffff8874b0e0 by task kworker/0:1/14817 CPU: 0 PID: 14817 Comm: kworker/0:1 Not tainted 5.6.0-rc3-next-20200228-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_power_efficient fb_flashcursor Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x315 mm/kasan/report.c:374 __kasan_report.cold+0x1a/0x32 mm/kasan/report.c:506 kasan_report+0xe/0x20 mm/kasan/common.c:618 check_memory_region_inline mm/kasan/generic.c:185 [inline] check_memory_region+0x128/0x190 mm/kasan/generic.c:192 memcpy+0x20/0x50 mm/kasan/common.c:104 memcpy include/linux/string.h:426 [inline] soft_cursor+0x448/0xa20 drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0x1230/0x1900 drivers/video/fbdev/core/bitblit.c:386 fb_flashcursor+0x36b/0x3d0 drivers/video/fbdev/core/fbcon.c:417 process_one_work+0x94b/0x1690 kernel/workqueue.c:2266 worker_thread+0x96/0xe20 kernel/workqueue.c:2412 kthread+0x357/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 The buggy address belongs to the variable: oid_search_table+0x140/0x160 Memory state around the buggy address: ffffffff8874af80: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8874b000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff8874b080: 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa fa ^ ffffffff8874b100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8874b180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================