================================================================== BUG: KASAN: global-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:663 [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+0xab7/0xc30 drivers/video/fbdev/core/bitblit.c:185 Read of size 1 at addr ffffffff87cf4863 by task syz-executor055/7997 CPU: 0 PID: 7997 Comm: syz-executor055 Not tainted 4.14.212-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 mm/kasan/report.c:409 [inline] __asan_report_load1_noabort+0x68/0x70 mm/kasan/report.c:427 __fb_pad_aligned_buffer include/linux/fb.h:663 [inline] bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] bit_putcs+0xab7/0xc30 drivers/video/fbdev/core/bitblit.c:185 fbcon_putcs+0x2fe/0x480 drivers/video/fbdev/core/fbcon.c:1247 con_flush drivers/tty/vt/vt.c:2206 [inline] do_con_write+0x9dd/0x19b0 drivers/tty/vt/vt.c:2453 con_write+0x21/0xa0 drivers/tty/vt/vt.c:2805 process_output_block drivers/tty/n_tty.c:595 [inline] n_tty_write+0x352/0xda0 drivers/tty/n_tty.c:2333 do_tty_write drivers/tty/tty_io.c:959 [inline] tty_write+0x410/0x740 drivers/tty/tty_io.c:1043 __vfs_write+0xe4/0x630 fs/read_write.c:480 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4413a9 RSP: 002b:00007ffdf5846ba8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004413a9 RDX: 0000000000000018 RSI: 0000000020001340 RDI: 0000000000000004 RBP: 0000000000007571 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000402150 R13: 00000000004021e0 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the variable: oid_index+0x2e3/0x9a0 Memory state around the buggy address: ffffffff87cf4700: fa fa fa fa 06 fa fa fa fa fa fa fa 05 fa fa fa ffffffff87cf4780: fa fa fa fa 07 fa fa fa fa fa fa fa 00 01 fa fa >ffffffff87cf4800: fa fa fa fa 00 05 fa fa fa fa fa fa 03 fa fa fa ^ ffffffff87cf4880: fa fa fa fa 03 fa fa fa fa fa fa fa 03 fa fa fa ffffffff87cf4900: fa fa fa fa 00 07 fa fa fa fa fa fa 00 07 fa fa ==================================================================