================================================================== 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 ffffffff8854884a by task syz-executor.5/21810 CPU: 0 PID: 21810 Comm: syz-executor.5 Not tainted 5.6.0-rc5-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+0x188/0x20d lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x315 mm/kasan/report.c:374 __kasan_report.cold+0x1a/0x32 mm/kasan/report.c:506 kasan_report+0xe/0x20 mm/kasan/common.c:641 __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+0xc21/0xe10 drivers/video/fbdev/core/bitblit.c:185 fbcon_putcs+0x345/0x3f0 drivers/video/fbdev/core/fbcon.c:1360 con_flush drivers/tty/vt/vt.c:2557 [inline] do_con_write.part.0+0xf23/0x1dd0 drivers/tty/vt/vt.c:2807 do_con_write drivers/tty/vt/vt.c:2576 [inline] con_write+0x41/0xe0 drivers/tty/vt/vt.c:3144 process_output_block drivers/tty/n_tty.c:595 [inline] n_tty_write+0x3f0/0xf90 drivers/tty/n_tty.c:2333 do_tty_write drivers/tty/tty_io.c:962 [inline] tty_write+0x48f/0x7f0 drivers/tty/tty_io.c:1046 do_loop_readv_writev fs/read_write.c:717 [inline] do_loop_readv_writev fs/read_write.c:701 [inline] do_iter_write fs/read_write.c:1000 [inline] do_iter_write+0x478/0x600 fs/read_write.c:979 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1071 do_writev+0x133/0x2f0 fs/read_write.c:1114 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fab710fec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fab710ff6d4 RCX: 000000000045c849 RDX: 0000000000000001 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000d13 R14: 00000000004cb1b4 R15: 000000000076bf0c The buggy address belongs to the variable: oid_index+0x60a/0xa00 Memory state around the buggy address: ffffffff88548700: 00 00 fa fa fa fa fa fa 00 00 06 fa fa fa fa fa ffffffff88548780: 00 06 fa fa fa fa fa fa 00 00 00 00 fa fa fa fa >ffffffff88548800: 00 00 01 fa fa fa fa fa 06 fa fa fa fa fa fa fa ^ ffffffff88548880: 05 fa fa fa fa fa fa fa 00 00 00 00 fa fa fa fa ffffffff88548900: 05 fa fa fa fa fa fa fa 00 00 00 fa fa fa fa fa ==================================================================