================================================================== BUG: KASAN: use-after-free in scr_memcpyw include/linux/vt_buffer.h:38 [inline] BUG: KASAN: use-after-free in fbcon_prepare_logo+0x94e/0xc60 drivers/video/fbdev/core/fbcon.c:685 Read of size 256 at addr Read of size 256 at addr ffff88807eebbff4 by task kworker/0:0/9 CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026 Workqueue: usb_hub_wq hub_event 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/0x1c0 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:685 fbcon_init+0x1065/0x1830 drivers/video/fbdev/core/fbcon.c:1227 visual_init+0x320/0x620 drivers/tty/vt/vt.c:1048 do_bind_con_driver.isra.0+0x636/0x9c0 drivers/tty/vt/vt.c:4054 do_take_over_console+0x501/0x5d0 drivers/tty/vt/vt.c:4594 do_fbcon_takeover+0xe9/0x210 drivers/video/fbdev/core/fbcon.c:620 do_fb_registered drivers/video/fbdev/core/fbcon.c:3007 [inline] fbcon_fb_registered+0x364/0x4b0 drivers/video/fbdev/core/fbcon.c:3031 do_register_framebuffer+0x503/0x870 drivers/video/fbdev/core/fbmem.c:538 register_framebuffer+0x23/0x40 drivers/video/fbdev/core/fbmem.c:605 __drm_fb_helper_initial_config_and_unlock+0xf3b/0x17f0 drivers/gpu/drm/drm_fb_helper.c:1746 drm_fb_helper_initial_config drivers/gpu/drm/drm_fb_helper.c:1808 [inline] drm_fb_helper_initial_config+0x44/0x60 drivers/gpu/drm/drm_fb_helper.c:1800 drm_fbdev_client_hotplug+0x19e/0x220 drivers/gpu/drm/clients/drm_fbdev_client.c:66 drm_client_register+0x197/0x280 drivers/gpu/drm/drm_client.c:143 drm_fbdev_client_setup+0x155/0x480 drivers/gpu/drm/clients/drm_fbdev_client.c:168 drm_client_setup drivers/gpu/drm/clients/drm_client_setup.c:46 [inline] drm_client_setup+0x160/0x1a0 drivers/gpu/drm/clients/drm_client_setup.c:35 gud_probe+0x1835/0x1c20 drivers/gpu/drm/gud/gud_drv.c:653 usb_probe_interface+0x386/0x9b0 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 __driver_probe_device+0x210/0x460 drivers/base/dd.c:868 driver_probe_device+0x4a/0x140 drivers/base/dd.c:898 __device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500 __device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098 device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x64/0x160 drivers/base/bus.c:620 device_add+0x121d/0x1970 drivers/base/core.c:3776 usb_set_configuration+0xd97/0x1c60 drivers/usb/core/message.c:2268 usb_generic_driver_probe+0xa1/0xe0 drivers/usb/core/generic.c:250 usb_probe_device+0xef/0x400 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:628 [inline] really_probe+0x241/0xa60 drivers/base/dd.c:706 __driver_probe_device+0x210/0x460 drivers/base/dd.c:868 driver_probe_device+0x4a/0x140 drivers/base/dd.c:898 __device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500 __device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098 device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1153 bus_probe_device+0x64/0x160 drivers/base/bus.c:620 device_add+0x121d/0x1970 drivers/base/core.c:3776 usb_new_device.part.0+0xcc2/0x1686 drivers/usb/core/hub.c:2708 usb_new_device include/linux/workqueue.h:715 [inline] 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.cold+0x1e3/0xe90 drivers/usb/core/hub.c:5966 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396 process_scheduled_works kernel/workqueue.c:3479 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x730/0xd60 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 physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffffffffffffffff pfn:0x7eebb flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 00000000ffffffff 0000000000000000 raw: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 17785, tgid 17780 (syz.1.2871), ts 1107802492613 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436 alloc_slab_page mm/slub.c:3347 [inline] allocate_slab mm/slub.c:3462 [inline] new_slab+0xa9/0x6e0 mm/slub.c:3513 refill_objects+0xe3/0x410 mm/slub.c:7410 refill_sheaf mm/slub.c:2885 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] __do_kmalloc_node mm/slub.c:5413 [inline] __kmalloc_noprof+0x67c/0x840 mm/slub.c:5439 _kmalloc_noprof include/linux/slab.h:995 [inline] io_cache_alloc_new+0x45/0xe0 io_uring/alloc_cache.c:40 io_cache_alloc io_uring/alloc_cache.h:61 [inline] io_uring_alloc_async_data io_uring/io_uring.h:356 [inline] io_rw_alloc_async io_uring/rw.c:195 [inline] __io_prep_rw+0x21d/0xfb0 io_uring/rw.c:254 io_prep_writev_fixed+0x25/0x100 io_uring/rw.c:426 io_init_req io_uring/io_uring.c:1833 [inline] io_submit_sqe io_uring/io_uring.c:1880 [inline] io_submit_sqes+0xa03/0x2480 io_uring/io_uring.c:2048 __do_sys_io_uring_enter+0xa88/0x1b10 io_uring/io_uring.c:2637 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5588 tgid 5588 ts 1117770029043 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0x79f/0x10f0 mm/page_alloc.c:2962 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:4683 [inline] slab_alloc_node mm/slub.c:4996 [inline] kmem_cache_alloc_noprof+0x269/0x6a0 mm/slub.c:5010 new_handle fs/jbd2/transaction.c:457 [inline] jbd2__journal_start+0x194/0x6b0 fs/jbd2/transaction.c:485 __ext4_journal_start_sb+0x314/0x610 fs/ext4/ext4_jbd2.c:122 __ext4_journal_start fs/ext4/ext4_jbd2.h:238 [inline] ext4_dirty_inode+0xa1/0x130 fs/ext4/inode.c:6728 __mark_inode_dirty+0x1f3/0x16e0 fs/fs-writeback.c:2729 generic_update_time fs/inode.c:2253 [inline] file_update_time_flags+0x49c/0x520 fs/inode.c:2483 ext4_page_mkwrite+0x324/0x1860 fs/ext4/inode.c:6897 do_page_mkwrite+0x17a/0x440 mm/memory.c:3816 wp_page_shared mm/memory.c:4217 [inline] do_wp_page+0x9ed/0x45c0 mm/memory.c:4440 handle_pte_fault mm/memory.c:6582 [inline] __handle_mm_fault+0x1cd2/0x2f60 mm/memory.c:6707 handle_mm_fault+0x363/0xa20 mm/memory.c:6876 do_user_addr_fault+0x59c/0x12f0 arch/x86/mm/fault.c:1343 Memory state around the buggy address: ffff88807eebbe80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88807eebbf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88807eebbf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88807eebc000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807eebc080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================