================================================================== BUG: KASAN: vmalloc-out-of-bounds in fast_imageblit drivers/video/fbdev/core/sysimgblt.c:257 [inline] BUG: KASAN: vmalloc-out-of-bounds in sys_imageblit+0x1ba8/0x25d0 drivers/video/fbdev/core/sysimgblt.c:323 Write of size 4 at addr ffffc900049e8fc0 by task syz.6.1270/8319 CPU: 0 PID: 8319 Comm: syz.6.1270 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 fast_imageblit drivers/video/fbdev/core/sysimgblt.c:257 [inline] sys_imageblit+0x1ba8/0x25d0 drivers/video/fbdev/core/sysimgblt.c:323 drm_fb_helper_sys_imageblit+0x2e/0x510 drivers/gpu/drm/drm_fb_helper.c:864 cw_putcs_aligned drivers/video/fbdev/core/fbcon_cw.c:110 [inline] cw_putcs+0x15ef/0x18a0 drivers/video/fbdev/core/fbcon_cw.c:158 fbcon_putcs+0x358/0x510 drivers/video/fbdev/core/fbcon.c:1299 do_update_region+0x4e5/0x640 drivers/tty/vt/vt.c:676 invert_screen+0x8de/0xa70 drivers/tty/vt/vt.c:800 highlight drivers/tty/vt/selection.c:57 [inline] clear_selection+0x55/0x70 drivers/tty/vt/selection.c:85 vc_do_resize+0x6e3/0x17b0 drivers/tty/vt/vt.c:1259 fbcon_modechanged+0x80d/0x12b0 drivers/video/fbdev/core/fbcon.c:2719 fbcon_rotate drivers/video/fbdev/core/fbcon.c:226 [inline] store_rotate+0x329/0x4f0 drivers/video/fbdev/core/fbcon.c:3233 kernfs_fop_write_iter+0x3a0/0x520 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2271 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x482/0x9a0 fs/read_write.c:584 ksys_write+0x14d/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3c8bba94d9 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:00007f3c8c9f7028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3c8be25fa0 RCX: 00007f3c8bba94d9 RDX: 0000000000000001 RSI: 0000200000000300 RDI: 0000000000000003 RBP: 00007f3c8bc3804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3c8be26038 R14: 00007f3c8be25fa0 R15: 00007ffd59954518 The buggy address belongs to a vmalloc virtual mapping Memory state around the buggy address: ffffc900049e8e80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900049e8f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc900049e8f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900049e9000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900049e9080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================