================================================================== 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+0x4ba/0xe40 drivers/video/fbdev/core/fbcon.c:685 Read of size 256 at addr ffff888029ff0760 by task kworker/0:8/5773 CPU: 0 UI CPU: 0 UID: 0 PID: 5773 Comm: kworker/0:8 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Workqueue: usb_hub_wq hub_event Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x264/0x2c0 mm/kasan/generic.c:200 __asan_memcpy+0x29/0x70 mm/kasan/shadow.c:105 scr_memcpyw include/linux/vt_buffer.h:38 [inline] fbcon_prepare_logo+0x4ba/0xe40 drivers/video/fbdev/core/fbcon.c:685 fbcon_init+0x10fd/0x1b30 drivers/video/fbdev/core/fbcon.c:1227 visual_init+0x2e3/0x660 drivers/tty/vt/vt.c:1048 do_bind_con_driver+0x86f/0x1040 drivers/tty/vt/vt.c:4054 do_take_over_console+0x888/0xa10 drivers/tty/vt/vt.c:4594 do_fbcon_takeover+0x119/0x200 drivers/video/fbdev/core/fbcon.c:620 do_fb_registered drivers/video/fbdev/core/fbcon.c:3007 [inline] fbcon_fb_registered+0x361/0x610 drivers/video/fbdev/core/fbcon.c:3031 do_register_framebuffer drivers/video/fbdev/core/fbmem.c:538 [inline] register_framebuffer+0x6e8/0x880 drivers/video/fbdev/core/fbmem.c:605 __drm_fb_helper_initial_config_and_unlock+0x1555/0x1b50 drivers/gpu/drm/drm_fb_helper.c:1746 drm_fbdev_client_hotplug+0x16c/0x230 drivers/gpu/drm/clients/drm_fbdev_client.c:66 drm_client_register+0x16e/0x200 drivers/gpu/drm/drm_client.c:143 drm_fbdev_client_setup+0x1a0/0x450 drivers/gpu/drm/clients/drm_fbdev_client.c:168 drm_client_setup+0x107/0x220 drivers/gpu/drm/clients/drm_client_setup.c:46 gud_probe+0x11b9/0x13b0 drivers/gpu/drm/gud/gud_drv.c:653 usb_probe_interface+0x788/0xe50 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x12a/0x220 drivers/base/bus.c:620 device_add+0x7d7/0xb80 drivers/base/core.c:3776 usb_set_configuration+0x1ad8/0x2180 drivers/usb/core/message.c:2268 usb_generic_driver_probe+0x8d/0x150 drivers/usb/core/generic.c:250 usb_probe_device+0x1c3/0x3b0 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x12a/0x220 drivers/base/bus.c:620 device_add+0x7d7/0xb80 drivers/base/core.c:3776 usb_new_device+0x9aa/0x1690 drivers/usb/core/hub.c:2708 hub_port_connect drivers/usb/core/hub.c:5580 [inline] hub_port_connect_change drivers/usb/core/hub.c:5720 [inline] port_event drivers/usb/core/hub.c:5884 [inline] hub_event+0x28e8/0x4d30 drivers/usb/core/hub.c:5966 process_one_work kernel/workqueue.c:3387 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3470 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3551 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 1: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x321/0x600 mm/slub.c:5563 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] device_private_init drivers/base/core.c:3606 [inline] device_add+0xb6/0xb80 drivers/base/core.c:3657 device_create_groups_vargs drivers/base/core.c:4458 [inline] device_create+0x269/0x300 drivers/base/core.c:4497 mon_bin_add+0xb6/0x130 drivers/usb/mon/mon_bin.c:1371 mon_bus_init+0x162/0x2a0 drivers/usb/mon/mon_main.c:291 mon_bus_add drivers/usb/mon/mon_main.c:188 [inline] mon_notify+0x10c/0x3f0 drivers/usb/mon/mon_main.c:219 notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85 blocking_notifier_call_chain+0x6a/0x90 kernel/notifier.c:380 usb_register_bus+0xcf/0x150 drivers/usb/core/hcd.c:904 usb_add_hcd+0x3e6/0xf80 drivers/usb/core/hcd.c:2876 dummy_hcd_probe+0x134/0x270 drivers/usb/gadget/udc/dummy_hcd.c:2722 platform_probe+0xf9/0x190 drivers/base/platform.c:1507 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x12a/0x220 drivers/base/bus.c:620 device_add+0x7d7/0xb80 drivers/base/core.c:3776 platform_device_add+0x4bd/0x860 drivers/base/platform.c:833 dummy_hcd_init+0x667/0xd00 drivers/usb/gadget/udc/dummy_hcd.c:2873 do_one_initcall+0x250/0x870 init/main.c:1357 do_initcall_level+0x10a/0x1a0 init/main.c:1419 do_initcalls+0x59/0xa0 init/main.c:1435 kernel_init_freeable+0x29d/0x3e0 init/main.c:1670 kernel_init+0x22/0x1d0 init/main.c:1560 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff888029ff0400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 592 bytes to the right of allocated 272-byte region [ffff888029ff0400, ffff888029ff0510) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x29ff0 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: f5(slab) raw: 00fff00000000040 ffff88801b041c80 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801b041c80 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffffffffffff01 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 9197798044 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 alloc_slab_page mm/slub.c:3347 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3462 new_slab mm/slub.c:3513 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7410 refill_sheaf mm/slub.c:2885 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4774 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] __kmalloc_cache_noprof+0x39b/0x600 mm/slub.c:5559 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] dev_pm_qos_constraints_allocate+0x4f/0x3f0 drivers/base/power/qos.c:201 __dev_pm_qos_add_request+0x11b/0x4e0 drivers/base/power/qos.c:345 dev_pm_qos_add_request+0x36/0x60 drivers/base/power/qos.c:395 usb_hub_create_port_device+0x495/0xc40 drivers/usb/core/port.c:800 hub_configure drivers/usb/core/hub.c:1739 [inline] hub_probe+0x26bc/0x3c00 drivers/usb/core/hub.c:2006 usb_probe_interface+0x788/0xe50 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898 page_owner free stack trace missing Memory state around the buggy address: ffff888029ff0600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888029ff0680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888029ff0700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888029ff0780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888029ff0800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================