================================================================== 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+0x1bac/0x25d0 drivers/video/fbdev/core/sysimgblt.c:323 Write of size 4 at addr ffffc90003d81020 by task syz.0.1121/9469 CPU: 0 PID: 9469 Comm: syz.0.1121 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xa8/0x210 mm/kasan/report.c:468 kasan_report+0x117/0x150 mm/kasan/report.c:581 fast_imageblit drivers/video/fbdev/core/sysimgblt.c:257 [inline] sys_imageblit+0x1bac/0x25d0 drivers/video/fbdev/core/sysimgblt.c:323 drm_fbdev_generic_defio_imageblit+0x2c/0x110 drivers/gpu/drm/drm_fbdev_generic.c:37 soft_cursor+0xa01/0xc30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0x16dd/0x1f60 drivers/video/fbdev/core/bitblit.c:409 hide_cursor+0x7f/0x320 drivers/tty/vt/vt.c:855 do_con_write+0x1e1/0x70c0 drivers/tty/vt/vt.c:2884 con_put_char+0x83/0xc0 drivers/tty/vt/vt.c:3256 tty_put_char+0xc9/0x150 drivers/tty/tty_io.c:3161 do_output_char+0x6ab/0x960 drivers/tty/n_tty.c:474 __process_echoes+0x2e0/0x9f0 drivers/tty/n_tty.c:723 process_echoes drivers/tty/n_tty.c:795 [inline] n_tty_receive_char+0x8ed/0xbb0 drivers/tty/n_tty.c:1435 n_tty_receive_buf_standard+0x61a/0x54e0 drivers/tty/n_tty.c:1612 __receive_buf drivers/tty/n_tty.c:1646 [inline] n_tty_receive_buf_common+0xb0c/0x1380 drivers/tty/n_tty.c:1745 paste_selection+0x33e/0x540 drivers/tty/vt/selection.c:409 vt_ioctl+0x813/0x1f20 drivers/tty/vt/vt_ioctl.c:764 tty_ioctl+0x91e/0xdc0 drivers/tty/tty_io.c:2796 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f47341a94d9 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:00007f4734f96028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4734425fa0 RCX: 00007f47341a94d9 RDX: 0000200000000080 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00007f4734238136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4734426038 R14: 00007f4734425fa0 R15: 00007ffcd0ec0a08 The buggy address belongs to a 0-page vmalloc region starting at 0xffffc90003d82000 allocated at drm_gem_shmem_vmap+0x3c4/0x650 drivers/gpu/drm/drm_gem_shmem_helper.c:340 Memory state around the buggy address: ffffc90003d80f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90003d80f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90003d81000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90003d81080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90003d81100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================