================================================================== BUG: KASAN: global-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:641 [inline] BUG: KASAN: global-out-of-bounds in bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:95 [inline] BUG: KASAN: global-out-of-bounds in bit_putcs+0x135b/0x1a50 drivers/video/fbdev/core/bitblit.c:184 Read of size 1 at addr ffffffff8be59f90 by task syz.0.2007/14800 CPU: 1 UID: 0 PID: 14800 Comm: syz.0.2007 Not tainted 6.16.0-next-20250808-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 __fb_pad_aligned_buffer include/linux/fb.h:641 [inline] bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:95 [inline] bit_putcs+0x135b/0x1a50 drivers/video/fbdev/core/bitblit.c:184 fbcon_putcs+0x3e5/0x5f0 drivers/video/fbdev/core/fbcon.c:1327 con_putc drivers/tty/vt/vt.c:301 [inline] add_softcursor+0x3e0/0x510 drivers/tty/vt/vt.c:835 set_cursor drivers/tty/vt/vt.c:865 [inline] con_flush_chars+0x16d/0x280 drivers/tty/vt/vt.c:3586 con_write+0x2e/0x40 drivers/tty/vt/vt.c:3517 process_output_block drivers/tty/n_tty.c:561 [inline] n_tty_write+0xd29/0x1200 drivers/tty/n_tty.c:2377 iterate_tty_write drivers/tty/tty_io.c:1006 [inline] file_tty_write+0x551/0xa20 drivers/tty/tty_io.c:1081 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8f1b18ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8f193f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8f1b3b6090 RCX: 00007f8f1b18ebe9 RDX: 0000000000001006 RSI: 0000200000002080 RDI: 0000000000000008 RBP: 00007f8f1b211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8f1b3b6128 R14: 00007f8f1b3b6090 R15: 00007ffc1597d528 The buggy address belongs to the variable: fontdata_8x16+0x1210/0x1480 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xbe59 flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea00002f9648 ffffea00002f9648 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff8be59e80: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ffffffff8be59f00: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 >ffffffff8be59f80: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ^ ffffffff8be5a000: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ffffffff8be5a080: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ==================================================================