==================================================================
BUG: KASAN: slab-out-of-bounds in fb_pad_unaligned_buffer+0x22e/0x500
Read of size 1 at addr ffff888129d30810 by task syz.2.4225/18670

CPU: 1 UID: 0 PID: 18670 Comm: syz.2.4225 Not tainted 6.17.0-rc1-syzkaller-00036-gdfc0f6373094 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 print_report+0xca/0x240
 kasan_report+0x118/0x150
 fb_pad_unaligned_buffer+0x22e/0x500
 bit_putcs+0x950/0x1a50
 fbcon_putcs+0x3e5/0x5f0
 do_con_write+0x2838/0x5200
 con_write+0x24/0x40
 n_tty_write+0xd2c/0x1200
 file_tty_write+0x554/0xa20
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efe08f8ebe9
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:00007efe09d6c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007efe091b5fa0 RCX: 00007efe08f8ebe9
RDX: 0000000000000375 RSI: 0000200000001040 RDI: 0000000000000003
RBP: 00007efe09011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007efe091b6038 R14: 00007efe091b5fa0 R15: 00007ffd1de90cd8
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x129d00
head: order:6 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f8(unknown)
raw: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000
head: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
head: 0000000000000000 0000000000000000 00000000f8000000 0000000000000000
head: 057ff00000000006 ffffea0004a74001 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000040
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 6, migratetype Unmovable, gfp_mask 0x140cc0(GFP_USER|__GFP_COMP), pid 9379, tgid 9377 (syz.0.1085), ts 172055020579, free_ts 166174939788
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 ___kmalloc_large_node+0x5f/0x1b0
 __kmalloc_large_node_noprof+0x18/0x90
 __kmalloc_noprof+0x36f/0x4f0
 fbcon_set_font+0x519/0xe90
 con_font_op+0xcaf/0x1070
 vt_ioctl+0x1a8a/0x1f00
 tty_ioctl+0x929/0xde0
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 6120 tgid 6120 stack trace:
 free_unref_folios+0xdbd/0x1520
 folios_put_refs+0x559/0x640
 release_pages+0x4b4/0x520
 io_free_region+0xb4/0x270
 io_ring_ctx_free+0x287/0x4e0
 io_ring_exit_work+0x8c4/0x930
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30

Memory state around the buggy address:
 ffff888129d30700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888129d30780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888129d30800: 00 00 fe fe fe fe fe fe fe fe fe fe fe fe fe fe
                         ^
 ffff888129d30880: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
 ffff888129d30900: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
==================================================================
