================================================================== BUG: KASAN: global-out-of-bounds in __fb_pad_aligned_buffer include/linux/fb.h:644 [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+0x147b/0x1db0 drivers/video/fbdev/core/bitblit.c:185 Read of size 1 at addr ffffffff8c61b6d0 by task syz.1.5289/24571 CPU: 0 UID: 0 PID: 24571 Comm: syz.1.5289 Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x169/0x550 mm/kasan/report.c:489 kasan_report+0x143/0x180 mm/kasan/report.c:602 __fb_pad_aligned_buffer include/linux/fb.h:644 [inline] bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] bit_putcs+0x147b/0x1db0 drivers/video/fbdev/core/bitblit.c:185 fbcon_putcs+0x2e0/0x450 drivers/video/fbdev/core/fbcon.c:1308 con_flush drivers/tty/vt/vt.c:2762 [inline] vc_con_write_normal drivers/tty/vt/vt.c:2996 [inline] do_con_write+0xf78/0x4c30 drivers/tty/vt/vt.c:3096 con_write+0x26/0x40 drivers/tty/vt/vt.c:3434 process_output_block drivers/tty/n_tty.c:574 [inline] n_tty_write+0xd62/0x1230 drivers/tty/n_tty.c:2389 iterate_tty_write drivers/tty/tty_io.c:1015 [inline] file_tty_write+0x546/0x9b0 drivers/tty/tty_io.c:1090 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1ef6f85d29 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:00007f1ef7ce5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1ef7175fa0 RCX: 00007f1ef6f85d29 RDX: 0000000000001006 RSI: 0000000020001040 RDI: 0000000000000005 RBP: 00007f1ef7001b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1ef7175fa0 R15: 00007ffee1c7dc88 The buggy address belongs to the variable: fontdata_8x16+0x1010/0x1480 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xc61b flags: 0xfff00000002000(reserved|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000002000 ffffea00003186c8 ffffea00003186c8 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: ffffffff8c61b580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff8c61b600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffffff8c61b680: 00 00 00 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 f9 ^ ffffffff8c61b700: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ffffffff8c61b780: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ==================================================================