================================================================== BUG: KASAN: global-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:655 [inline] BUG: KASAN: global-out-of-bounds in fb_pad_aligned_buffer+0x137/0x150 drivers/video/fbdev/core/fbmem.c:116 Read of size 1 at addr ffffffff8875bd80 by task syz-executor137/22416 CPU: 0 PID: 22416 Comm: syz-executor137 Not tainted 5.7.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 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/0x413 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:530 __fb_pad_aligned_buffer include/linux/fb.h:655 [inline] fb_pad_aligned_buffer+0x137/0x150 drivers/video/fbdev/core/fbmem.c:116 bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:99 [inline] bit_putcs+0xbb4/0xd60 drivers/video/fbdev/core/bitblit.c:185 fbcon_putcs+0x345/0x3f0 drivers/video/fbdev/core/fbcon.c:1362 do_update_region+0x398/0x630 drivers/tty/vt/vt.c:683 redraw_screen+0x64c/0x770 drivers/tty/vt/vt.c:1029 fbcon_do_set_font+0x819/0x950 drivers/video/fbdev/core/fbcon.c:2614 fbcon_copy_font+0x125/0x190 drivers/video/fbdev/core/fbcon.c:2629 con_font_copy drivers/tty/vt/vt.c:4627 [inline] con_font_op+0x666/0x1160 drivers/tty/vt/vt.c:4642 vt_ioctl+0x1740/0x2640 drivers/tty/vt/vt_ioctl.c:980 tty_ioctl+0xedc/0x1440 drivers/tty/tty_io.c:2656 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:771 __do_sys_ioctl fs/ioctl.c:780 [inline] __se_sys_ioctl fs/ioctl.c:778 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:778 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x43a569 Code: e8 9c e7 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 8b cd fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdd3bf3ace8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000006c3c28 RCX: 000000000043a569 RDX: 0000000020000080 RSI: 0000000000004b72 RDI: 0000000000000003 RBP: 00000000006c3c20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006c3c2c R13: 00007ffd4921c1ff R14: 00007fdd3bf1b000 R15: 0000000000000003 The buggy address belongs to the variable: fontdata_8x16+0x1000/0x1120 Memory state around the buggy address: ffffffff8875bc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8875bd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff8875bd80: fa fa fa fa 06 fa fa fa fa fa fa fa 05 fa fa fa ^ ffffffff8875be00: fa fa fa fa 06 fa fa fa fa fa fa fa 00 00 03 fa ffffffff8875be80: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================