================================================================== BUG: KASAN: vmalloc-out-of-bounds in fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline] BUG: KASAN: vmalloc-out-of-bounds in fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline] BUG: KASAN: vmalloc-out-of-bounds in fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline] BUG: KASAN: vmalloc-out-of-bounds in fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline] BUG: KASAN: vmalloc-out-of-bounds in sys_imageblit+0x1a6f/0x1e60 drivers/video/fbdev/core/sysimgblt.c:24 Write of size 8 at addr ffffc900035f9fc0 by task syz.1.6332/24725 CPU: 1 UID: 0 PID: 24725 Comm: syz.1.6332 Tainted: G U I syzkaller #0 PREEMPT(full) Tainted: [U]=USER, [I]=FIRMWARE_WORKAROUND Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline] fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline] fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline] fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline] sys_imageblit+0x1a6f/0x1e60 drivers/video/fbdev/core/sysimgblt.c:24 drm_fbdev_shmem_defio_imageblit+0x20/0x130 drivers/gpu/drm/drm_fbdev_shmem.c:38 cw_putcs_aligned drivers/video/fbdev/core/fbcon_cw.c:110 [inline] cw_putcs+0x917/0xbb0 drivers/video/fbdev/core/fbcon_cw.c:158 fbcon_putcs+0x387/0x450 drivers/video/fbdev/core/fbcon.c:1320 do_update_region+0x2e9/0x3f0 drivers/tty/vt/vt.c:628 redraw_screen+0x63f/0x760 drivers/tty/vt/vt.c:980 fbcon_modechanged+0x456/0x6b0 drivers/video/fbdev/core/fbcon.c:2710 fbcon_rotate drivers/video/fbdev/core/fbcon.c:228 [inline] rotate_store+0x258/0x2f0 drivers/video/fbdev/core/fbcon.c:3196 dev_attr_store+0x58/0x80 drivers/base/core.c:2437 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:142 kernfs_fop_write_iter+0x3af/0x570 fs/kernfs/file.c:352 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdebdd8eec9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdebeb88038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fdebdfe5fa0 RCX: 00007fdebdd8eec9 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fdebde11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdebdfe6038 R14: 00007fdebdfe5fa0 R15: 00007ffdae396538 The buggy address belongs to a 4-page vmalloc region starting at 0xffffc900035fa000 allocated at kcov_ioctl+0x4c/0x730 kernel/kcov.c:716 Memory state around the buggy address: ffffc900035f9e80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc900035f9f00: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 >ffffc900035f9f80: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc900035fa000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900035fa080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================