================================================================== BUG: KASAN: slab-out-of-b 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 ffff888053643ff4 by task kworker/0:3/5346 CPU: 0 UID: 0 PID: 5346 Comm: kworker/0:3 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_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:655 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:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 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 1431: 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] batadv_forw_packet_alloc+0x178/0x370 net/batman-adv/send.c:511 batadv_iv_ogm_aggregate_new net/batman-adv/bat_iv_ogm.c:648 [inline] batadv_iv_ogm_queue_add+0x8b8/0xd90 net/batman-adv/bat_iv_ogm.c:769 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:957 [inline] batadv_iv_ogm_schedule+0x84b/0xfc0 net/batman-adv/bat_iv_ogm.c:1011 batadv_iv_send_outstanding_bat_ogm_packet+0x622/0x740 net/batman-adv/bat_iv_ogm.c:1924 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 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 Freed by task 7119: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2748 [inline] slab_free mm/slub.c:6499 [inline] kfree+0x1c5/0x650 mm/slub.c:6792 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 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 Last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:57 kasan_record_aux_stack+0xbd/0xd0 mm/kasan/generic.c:556 insert_work+0x3d/0x330 kernel/workqueue.c:2272 __queue_work+0xd07/0x10d0 kernel/workqueue.c:2448 call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1794 [inline] __run_timers kernel/time/timer.c:2374 [inline] __run_timer_base+0x67e/0x8b0 kernel/time/timer.c:2386 run_timer_base kernel/time/timer.c:2395 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 The buggy address belongs to the object at ffff888053643c00 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 500 bytes to the right of allocated 512-byte region [ffff888053643c00, ffff888053643e00) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888053642c00 pfn:0x53640 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff88801b041c80 ffffea0001e79d10 ffffea0001482e10 raw: ffff888053642c00 000000000010000c 00000000f5000000 0000000000000000 head: 00fff00000000240 ffff88801b041c80 ffffea0001e79d10 ffffea0001482e10 head: ffff888053642c00 000000000010000c 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 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 83, tgid 83 (kworker/u8:5), ts 99928747744 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] __do_kmalloc_node mm/slub.c:5413 [inline] __kmalloc_flags_noprof+0x5c6/0x7a0 mm/slub.c:5602 _kmalloc_flags_noprof mm/slab.h:55 [inline] __alloc_empty_sheaf+0x28/0x40 mm/slub.c:2822 alloc_empty_sheaf mm/slub.c:2842 [inline] __pcs_replace_empty_main+0x43b/0x6c0 mm/slub.c:4769 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] kmem_cache_alloc_noprof+0x399/0x600 mm/slub.c:5010 f2fs_kmem_cache_alloc_nofail fs/f2fs/f2fs.h:3178 [inline] f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:3188 [inline] add_bio_entry fs/f2fs/data.c:823 [inline] f2fs_merge_page_bio+0xfeb/0x1930 fs/f2fs/data.c:997 f2fs_inplace_write_data+0x5e7/0x8a0 fs/f2fs/segment.c:4213 f2fs_do_write_data_page+0x1041/0x1540 fs/f2fs/data.c:3019 f2fs_write_single_data_page+0x9cc/0x1840 fs/f2fs/data.c:3165 f2fs_write_cache_pages fs/f2fs/data.c:3427 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3603 [inline] f2fs_write_data_pages+0x1d2e/0x36f0 fs/f2fs/data.c:3641 do_writepages+0x338/0x560 mm/page-writeback.c:2560 page last free pid 1005 tgid 1005 ts 99902179193 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __slab_free+0x274/0x2c0 mm/slub.c:5815 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 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_node_noprof+0x354/0x610 mm/slub.c:5068 __alloc_skb+0x1db/0x7a0 net/core/skbuff.c:704 alloc_skb include/linux/skbuff.h:1384 [inline] mld_newpack+0x165/0xcb0 net/ipv6/mcast.c:1810 add_grhead net/ipv6/mcast.c:1921 [inline] add_grec+0x119f/0x19d0 net/ipv6/mcast.c:2060 mld_send_initial_cr+0x288/0x550 net/ipv6/mcast.c:2305 ipv6_mc_dad_complete+0x87/0x410 net/ipv6/mcast.c:2316 addrconf_dad_completed+0x8af/0xe60 net/ipv6/addrconf.c:4376 addrconf_dad_work+0xcf8/0x15c0 net/ipv6/addrconf.c:-1 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 Memory state around the buggy address: ffff888053643e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888053643f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888053643f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888053644000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888053644080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================