================================================================== BUG: KASAN: slab-out-of-bounds in soft_cursor+0x378/0x6bc drivers/video/fbdev/core/softcursor.c:70 Read of size 184 at addr ffff0000cfb838c0 by task syz.7.657/7966 CPU: 0 UID: 0 PID: 7966 Comm: syz.7.657 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xb0/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0x8c/0xc4 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x17c/0x1ac mm/kasan/generic.c:200 __asan_memcpy+0x3c/0x84 mm/kasan/shadow.c:105 soft_cursor+0x378/0x6bc drivers/video/fbdev/core/softcursor.c:70 cw_cursor+0xafc/0x11a0 drivers/video/fbdev/core/fbcon_cw.c:323 fbcon_cursor+0x344/0x498 drivers/video/fbdev/core/fbcon.c:1410 hide_cursor+0xdc/0x2d0 drivers/tty/vt/vt.c:997 con_font_set drivers/tty/vt/vt.c:5108 [inline] con_font_op+0x900/0xc4c drivers/tty/vt/vt.c:5151 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:474 [inline] vt_ioctl+0x1664/0x1d4c drivers/tty/vt/vt_ioctl.c:747 tty_ioctl+0x82c/0xd04 drivers/tty/tty_io.c:2782 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __arm64_sys_ioctl+0x154/0x1cc fs/ioctl.c:583 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 Allocated by task 3229: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:570 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x9c/0xb4 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5531 [inline] __kmalloc_node_track_caller_noprof+0x440/0x6e0 mm/slub.c:5662 kmalloc_reserve+0x118/0x214 net/core/skbuff.c:638 __alloc_skb+0x230/0x610 net/core/skbuff.c:716 alloc_skb include/linux/skbuff.h:1390 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:744 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:801 [inline] nsim_dev_trap_report_work+0x204/0x9cc drivers/net/netdevsim/dev.c:847 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Freed by task 3229: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_free_info+0x54/0x6c mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x74/0xa4 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x188/0x658 mm/slub.c:6923 skb_kfree_head net/core/skbuff.c:1084 [inline] skb_free_head+0x70/0x120 net/core/skbuff.c:1096 skb_release_data+0x6a8/0x834 net/core/skbuff.c:1124 skb_release_all+0x60/0x7c net/core/skbuff.c:1188 __kfree_skb net/core/skbuff.c:1202 [inline] consume_skb+0x80/0xf4 net/core/skbuff.c:1439 nsim_dev_trap_report drivers/net/netdevsim/dev.c:817 [inline] nsim_dev_trap_report_work+0x678/0x9cc drivers/net/netdevsim/dev.c:847 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 The buggy address belongs to the object at ffff0000cfb82000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 2240 bytes to the right of allocated 4096-byte region [ffff0000cfb82000, ffff0000cfb83000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10fb80 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) page_type: f5(slab) raw: 05ffc00000000040 ffff0000c0002140 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 05ffc00000000040 ffff0000c0002140 dead000000000100 dead000000000122 head: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 05ffc00000000003 fffffdffc33ee001 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000cfb83780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000cfb83800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000cfb83880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000cfb83900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000cfb83980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================