================================================================== BUG: KASAN: global-out-of-bounds in memcpy include/linux/string.h:373 [inline] BUG: KASAN: global-out-of-bounds in soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 Read of size 32 at addr ffffffff8a1cbb30 by task syz-executor.3/30096 CPU: 1 PID: 30096 Comm: syz-executor.3 Not tainted 4.19.152-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+0x22c/0x33e lib/dump_stack.c:118 print_address_description.cold+0x5/0x25c mm/kasan/report.c:256 kasan_report_error.cold+0x66/0xb9 mm/kasan/report.c:354 kasan_report+0x8f/0x96 mm/kasan/report.c:412 memcpy+0x20/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:373 [inline] soft_cursor+0x44b/0xa30 drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0x112a/0x1750 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x593/0x7f0 drivers/video/fbdev/core/fbcon.c:1309 fbcon_scroll+0x3a5/0x3990 drivers/video/fbdev/core/fbcon.c:1666 con_scroll+0x5f8/0x720 drivers/tty/vt/vt.c:637 lf+0x262/0x2b0 drivers/tty/vt/vt.c:1491 do_con_write+0x13b1/0x1f40 drivers/tty/vt/vt.c:2768 con_write+0x22/0xb0 drivers/tty/vt/vt.c:3145 process_output_block drivers/tty/n_tty.c:593 [inline] n_tty_write+0x3c0/0xff0 drivers/tty/n_tty.c:2331 do_tty_write drivers/tty/tty_io.c:960 [inline] tty_write+0x496/0x890 drivers/tty/tty_io.c:1044 __vfs_write+0xf7/0x770 fs/read_write.c:485 __kernel_write+0x109/0x370 fs/read_write.c:506 write_pipe_buf+0x153/0x1f0 fs/splice.c:798 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x3af/0x820 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] default_file_splice_write+0xd8/0x180 fs/splice.c:810 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f430b349c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000027ec0 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: 000000000118c010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000040000006 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007ffd5067392f R14: 00007f430b34a9c0 R15: 000000000118bfd4 The buggy address belongs to the variable: fontdata_8x16+0x1410/0x21a0 Memory state around the buggy address: ffffffff8a1cba00: 00 00 fa fa fa fa fa fa 00 00 00 00 fa fa fa fa ffffffff8a1cba80: 00 00 00 00 fa fa fa fa 00 00 00 02 fa fa fa fa >ffffffff8a1cbb00: 00 00 00 fa fa fa fa fa 00 00 00 00 fa fa fa fa ^ ffffffff8a1cbb80: 00 00 00 00 fa fa fa fa 00 00 00 00 fa fa fa fa ffffffff8a1cbc00: 00 00 00 00 fa fa fa fa 00 02 fa fa fa fa fa fa ==================================================================