================================================================== BUG: KASAN: global-out-of-bounds in memcpy include/linux/string.h:372 [inline] BUG: KASAN: global-out-of-bounds in fbcon_get_font+0x2b8/0x660 drivers/video/fbdev/core/fbcon.c:2424 Read of size 32 at addr ffffffff86e69a20 by task syz-executor.3/2884 CPU: 0 PID: 2884 Comm: syz-executor.3 Not tainted 4.14.191-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 print_address_description.cold+0x5/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x194 mm/kasan/report.c:351 kasan_report+0x6f/0x7b mm/kasan/report.c:409 memcpy+0x20/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:372 [inline] fbcon_get_font+0x2b8/0x660 drivers/video/fbdev/core/fbcon.c:2424 con_font_get drivers/tty/vt/vt.c:4105 [inline] con_font_op+0x1c6/0xf60 drivers/tty/vt/vt.c:4256 do_fontx_ioctl drivers/tty/vt/vt_ioctl.c:273 [inline] vt_ioctl+0x14e3/0x1ea0 drivers/tty/vt/vt_ioctl.c:945 tty_ioctl+0x50f/0x13c0 drivers/tty/tty_io.c:2661 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45cce9 RSP: 002b:00007f64db48fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000e500 RCX: 000000000045cce9 RDX: 0000000020000440 RSI: 0000000000004b6b RDI: 0000000000000003 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffd5900d9cf R14: 00007f64db4909c0 R15: 000000000078bf0c The buggy address belongs to the variable: fontdata_8x16+0x1000/0x1120 Memory state around the buggy address: ffffffff86e69900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff86e69980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff86e69a00: 00 00 00 00 fa fa fa fa 06 fa fa fa fa fa fa fa ^ ffffffff86e69a80: 05 fa fa fa fa fa fa fa 06 fa fa fa fa fa fa fa ffffffff86e69b00: 00 00 03 fa fa fa fa fa 00 00 00 00 00 00 00 00 ==================================================================