================================================================== BUG: KASAN: global-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:674 [inline] BUG: KASAN: global-out-of-bounds in bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] BUG: KASAN: global-out-of-bounds in bit_putcs+0xbaf/0xd10 drivers/video/fbdev/core/bitblit.c:185 Read of size 1 at addr ffffffff88b656b0 by task syz-executor.0/26304 CPU: 0 PID: 26304 Comm: syz-executor.0 Not tainted 4.19.160-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+0x1fc/0x2fe lib/dump_stack.c:118 print_address_description.cold+0x5/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1c7 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_load1_noabort+0x88/0x90 mm/kasan/report.c:430 __fb_pad_aligned_buffer include/linux/fb.h:674 [inline] bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] bit_putcs+0xbaf/0xd10 drivers/video/fbdev/core/bitblit.c:185 fbcon_putcs+0x336/0x4f0 drivers/video/fbdev/core/fbcon.c:1269 con_flush drivers/tty/vt/vt.c:2559 [inline] do_con_write+0xbcd/0x1d90 drivers/tty/vt/vt.c:2809 con_write+0x22/0xb0 drivers/tty/vt/vt.c:3145 n_tty_write+0xa03/0xff0 drivers/tty/n_tty.c:2354 do_tty_write drivers/tty/tty_io.c:960 [inline] tty_write+0x496/0x810 drivers/tty/tty_io.c:1044 __vfs_write+0xf7/0x770 fs/read_write.c:485 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45deb9 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:00007f01f94c3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000003a700 RCX: 000000000045deb9 RDX: 0000000000001006 RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffe757148af R14: 00007f01f94c49c0 R15: 000000000118bf2c The buggy address belongs to the variable: oid_index+0x3f0/0xa60 Memory state around the buggy address: ffffffff88b65580: fa fa fa fa 00 05 fa fa fa fa fa fa 03 fa fa fa ffffffff88b65600: fa fa fa fa 03 fa fa fa fa fa fa fa 03 fa fa fa >ffffffff88b65680: fa fa fa fa 00 07 fa fa fa fa fa fa 00 07 fa fa ^ ffffffff88b65700: fa fa fa fa 06 fa fa fa fa fa fa fa 00 00 00 04 ffffffff88b65780: fa fa fa fa 00 00 fa fa fa fa fa fa 00 00 06 fa ==================================================================