================================================================== 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 ffffc90004961000 by task syz.5.1778/11073 CPU: 1 PID: 11073 Comm: syz.5.1778 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 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:793 soft_cursor+0x9fd/0xc30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x16b5/0x1f40 drivers/video/fbdev/core/bitblit.c:409 set_cursor drivers/tty/vt/vt.c:920 [inline] con_flush_chars+0x1f6/0x270 drivers/tty/vt/vt.c:3371 con_write+0x29/0x40 drivers/tty/vt/vt.c:3299 do_output_char+0x58a/0x960 drivers/tty/n_tty.c:444 process_output drivers/tty/n_tty.c:511 [inline] n_tty_write+0xdc3/0x1220 drivers/tty/n_tty.c:2351 do_tty_write drivers/tty/tty_io.c:1029 [inline] file_tty_write+0x50c/0x8a0 drivers/tty/tty_io.c:1100 do_iter_readv_writev+0x47d/0x5f0 fs/read_write.c:-1 do_iter_write+0x1f8/0x7a0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x281/0x480 fs/read_write.c:971 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f32b7c764d9 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:00007f32b5ec3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f32b7ef2fa0 RCX: 00007f32b7c764d9 RDX: 0000000000000002 RSI: 0000200000001ac0 RDI: 0000000000000003 RBP: 00007f32b7d05136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f32b7ef3038 R14: 00007f32b7ef2fa0 R15: 00007ffdc2e850f8 Memory state around the buggy address: ffffc90004960f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90004960f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90004961000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90004961080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90004961100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================