================================================================== 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:686 Read of size 26 at addr ffff888028b9804a by task syz.1.2508/18939 CPU: 0 UID: 0 PID: 18939 Comm: syz.1.2508 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/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+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1d0 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:686 fbcon_init+0x1065/0x1830 drivers/video/fbdev/core/fbcon.c:1228 visual_init+0x320/0x620 drivers/tty/vt/vt.c:1048 do_bind_con_driver.isra.0+0x636/0x9c0 drivers/tty/vt/vt.c:4056 vt_bind drivers/tty/vt/vt.c:4212 [inline] store_bind+0x609/0x730 drivers/tty/vt/vt.c:4284 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 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6ac/0x1070 fs/read_write.c:688 ksys_write+0x12a/0x250 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0ad419cdd9 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:00007f0ad510b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0ad4415fa0 RCX: 00007f0ad419cdd9 RDX: 000000000008083a RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007f0ad4232d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0ad4416038 R14: 00007f0ad4415fa0 R15: 00007fffff80c788 Allocated by task 5252: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:340 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4569 [inline] slab_alloc_node mm/slub.c:4898 [inline] kmem_cache_alloc_noprof+0x241/0x6e0 mm/slub.c:4905 kmem_alloc_batch+0x49/0x170 lib/debugobjects.c:371 fill_pool lib/debugobjects.c:420 [inline] debug_objects_fill_pool lib/debugobjects.c:742 [inline] debug_objects_fill_pool+0x24d/0x5a0 lib/debugobjects.c:714 debug_object_activate+0x103/0x490 lib/debugobjects.c:831 debug_rcu_head_queue kernel/rcu/rcu.h:236 [inline] __call_rcu_common.constprop.0+0x35/0x9b0 kernel/rcu/tree.c:3116 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4569 [inline] slab_alloc_node mm/slub.c:4898 [inline] kmem_cache_alloc_noprof+0x241/0x6e0 mm/slub.c:4905 alloc_empty_file+0x5b/0x1c0 fs/file_table.c:262 path_openat+0xe8/0x31a0 fs/namei.c:4844 do_file_open+0x20e/0x430 fs/namei.c:4887 do_sys_openat2+0x10d/0x1e0 fs/open.c:1364 do_sys_open fs/open.c:1370 [inline] __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1381 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff888028b98038 which belongs to the cache debug_objects_cache of size 40 The buggy address is located 18 bytes inside of allocated 40-byte region [ffff888028b98038, ffff888028b98060) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x28b98 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000000 ffff88813fe4a8c0 dead000000000100 dead000000000122 raw: 0000000000000000 0000000800490049 00000000f5000000 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 5252, tgid 5252 (udevd), ts 46758193533, free_ts 46757887414 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x153/0x170 mm/page_alloc.c:1858 prep_new_page mm/page_alloc.c:1866 [inline] get_page_from_freelist+0x11a6/0x33b0 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x27c/0x2bc0 mm/page_alloc.c:5226 alloc_pages_mpol+0x1fb/0x540 mm/mempolicy.c:2490 alloc_slab_page mm/slub.c:3276 [inline] allocate_slab mm/slub.c:3467 [inline] new_slab+0x449/0x6c0 mm/slub.c:3525 ___slab_alloc+0x346/0x8b0 mm/slub.c:4444 __slab_alloc_node mm/slub.c:4510 [inline] slab_alloc_node mm/slub.c:4886 [inline] kmem_cache_alloc_noprof+0x360/0x6e0 mm/slub.c:4905 kmem_alloc_batch+0x49/0x170 lib/debugobjects.c:371 fill_pool lib/debugobjects.c:420 [inline] debug_objects_fill_pool lib/debugobjects.c:742 [inline] debug_objects_fill_pool+0x24d/0x5a0 lib/debugobjects.c:714 debug_object_activate+0x103/0x490 lib/debugobjects.c:831 debug_rcu_head_queue kernel/rcu/rcu.h:236 [inline] __call_rcu_common.constprop.0+0x35/0x9b0 kernel/rcu/tree.c:3116 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4569 [inline] slab_alloc_node mm/slub.c:4898 [inline] kmem_cache_alloc_noprof+0x241/0x6e0 mm/slub.c:4905 alloc_empty_file+0x5b/0x1c0 fs/file_table.c:262 page last free pid 5252 tgid 5252 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1402 [inline] __free_frozen_pages+0x747/0x1040 mm/page_alloc.c:2943 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4569 [inline] slab_alloc_node mm/slub.c:4898 [inline] kmem_cache_alloc_noprof+0x241/0x6e0 mm/slub.c:4905 alloc_empty_file+0x5b/0x1c0 fs/file_table.c:262 path_openat+0xe8/0x31a0 fs/namei.c:4844 do_file_open+0x20e/0x430 fs/namei.c:4887 do_sys_openat2+0x10d/0x1e0 fs/open.c:1364 do_sys_open fs/open.c:1370 [inline] __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1381 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff888028b97f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888028b97f80: 00 00 00 04 fc fc fc fc fc fc fc fc fc fc fc fc >ffff888028b98000: 00 00 00 00 00 fc fc 00 00 00 00 00 fc fc 00 00 ^ ffff888028b98080: 00 00 00 fc fc 00 00 00 00 00 fc fc 00 00 00 00 ffff888028b98100: 00 fc fc 00 00 00 00 00 fc fc 00 00 00 00 00 fc ==================================================================