================================================================== BUG: KASAN: slab-out-of-bounds in scr_memcpyw include/linux/vt_buffer.h:38 [inline] BUG: KASAN: slab-out-of-bounds in fbcon_prepare_logo+0x94e/0xc60 drivers/video/fbdev/core/fbcon.c:646 Read of size 256 at addr ffff88807c4e3f60 by task syz.0.121/6563 CPU: 0 UID: 0 PID: 6563 Comm: syz.0.121 Tainted: G U L syzkaller #0 PREEMPT(full) Tainted: [U]=USER, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x156/0x4c9 mm/kasan/report.c:482 kasan_report+0xdf/0x1e0 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:186 [inline] kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200 __asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105 scr_memcpyw include/linux/vt_buffer.h:38 [inline] fbcon_prepare_logo+0x94e/0xc60 drivers/video/fbdev/core/fbcon.c:646 fbcon_init+0x10a0/0x1820 drivers/video/fbdev/core/fbcon.c:1180 visual_init+0x320/0x620 drivers/tty/vt/vt.c:1014 do_bind_con_driver.isra.0+0x636/0x9c0 drivers/tty/vt/vt.c:3954 vt_bind drivers/tty/vt/vt.c:4110 [inline] store_bind+0x609/0x730 drivers/tty/vt/vt.c:4182 dev_attr_store+0x58/0x80 drivers/base/core.c:2437 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:142 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:352 iter_file_splice_write+0x830/0x10a0 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x192/0x6c0 fs/splice.c:1159 splice_direct_to_actor+0x345/0xa30 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1228 do_sendfile+0xadc/0xe20 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x1d8/0x220 fs/read_write.c:1419 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5ec859c629 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5ec93fc028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f5ec8816090 RCX: 00007f5ec859c629 RDX: 0000000000000000 RSI: 000000000000000c RDI: 0000000000000006 RBP: 00007f5ec8632b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ec8816128 R14: 00007f5ec8816090 R15: 00007fffac330e78 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807c4e0000 pfn:0x7c4e0 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f8(unknown) raw: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 raw: ffff88807c4e0000 0000000000000000 00000000f8000000 0000000000000000 head: 00fff00000000040 0000000000000000 dead000000000122 0000000000000000 head: ffff88807c4e0000 0000000000000000 00000000f8000000 0000000000000000 head: 00fff00000000002 ffffea0001f13801 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0x140dc0(GFP_USER|__GFP_ZERO|__GFP_COMP), pid 6563, tgid 6560 (syz.0.121), ts 133214658828, free_ts 133170902148 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x153/0x170 mm/page_alloc.c:1889 prep_new_page mm/page_alloc.c:1897 [inline] get_page_from_freelist+0x111d/0x3140 mm/page_alloc.c:3962 __alloc_frozen_pages_noprof+0x27c/0x2ba0 mm/page_alloc.c:5250 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2484 ___kmalloc_large_node+0x104/0x150 mm/slub.c:5160 __kmalloc_large_node_noprof+0x1c/0x70 mm/slub.c:5191 __do_kmalloc_node mm/slub.c:5207 [inline] __kmalloc_noprof+0x5be/0x850 mm/slub.c:5231 kmalloc_noprof include/linux/slab.h:966 [inline] kzalloc_noprof include/linux/slab.h:1200 [inline] vc_do_resize+0x1da/0x10f0 drivers/tty/vt/vt.c:1177 vc_resize include/linux/vt_kern.h:49 [inline] fbcon_init+0x10ba/0x1820 drivers/video/fbdev/core/fbcon.c:1177 visual_init+0x320/0x620 drivers/tty/vt/vt.c:1014 do_bind_con_driver.isra.0+0x636/0x9c0 drivers/tty/vt/vt.c:3954 vt_bind drivers/tty/vt/vt.c:4110 [inline] store_bind+0x609/0x730 drivers/tty/vt/vt.c:4182 dev_attr_store+0x58/0x80 drivers/base/core.c:2437 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:142 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:352 iter_file_splice_write+0x830/0x10a0 fs/splice.c:736 page last free pid 6563 tgid 6560 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1433 [inline] __free_frozen_pages+0x7e1/0x10d0 mm/page_alloc.c:2978 vc_do_resize+0xe45/0x10f0 drivers/tty/vt/vt.c:1197 vc_resize include/linux/vt_kern.h:49 [inline] fbcon_startup+0x423/0xbf0 drivers/video/fbdev/core/fbcon.c:1030 do_bind_con_driver.isra.0+0x2ac/0x9c0 drivers/tty/vt/vt.c:3917 vt_bind drivers/tty/vt/vt.c:4110 [inline] store_bind+0x609/0x730 drivers/tty/vt/vt.c:4182 dev_attr_store+0x58/0x80 drivers/base/core.c:2437 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:142 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:352 iter_file_splice_write+0x830/0x10a0 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x192/0x6c0 fs/splice.c:1159 splice_direct_to_actor+0x345/0xa30 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1228 do_sendfile+0xadc/0xe20 fs/read_write.c:1372 __do_sys_sendfile64 fs/read_write.c:1433 [inline] __se_sys_sendfile64 fs/read_write.c:1419 [inline] __x64_sys_sendfile64+0x1d8/0x220 fs/read_write.c:1419 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88807c4e3e00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff88807c4e3e80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe >ffff88807c4e3f00: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ^ ffff88807c4e3f80: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe ffff88807c4e4000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================