resize now 1280x800 ================================================================== 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_bitblit drivers/video/fbdev/core/fb_imageblit.h:153 [inline] BUG: KASAN: vmalloc-out-of-bounds in fb_bitmap1x_imageblit drivers/video/fbdev/core/fb_imageblit.h:275 [inline] BUG: KASAN: vmalloc-out-of-bounds in fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:477 [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+0x1b48/0x1d60 drivers/video/fbdev/core/sysimgblt.c:24 Write of size 8 at addr ffffc90025399000 by task syz.3.438/7769 CPU: 3 UID: 0 PID: 7769 Comm: syz.3.438 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline] fb_bitblit drivers/video/fbdev/core/fb_imageblit.h:153 [inline] fb_bitmap1x_imageblit drivers/video/fbdev/core/fb_imageblit.h:275 [inline] fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:477 [inline] fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline] sys_imageblit+0x1b48/0x1d60 drivers/video/fbdev/core/sysimgblt.c:24 drm_fbdev_shmem_defio_imageblit+0x20/0x130 drivers/gpu/drm/drm_fbdev_shmem.c:39 ccw_putcs_aligned drivers/video/fbdev/core/fbcon_ccw.c:126 [inline] ccw_putcs+0x92f/0xbb0 drivers/video/fbdev/core/fbcon_ccw.c:176 fbcon_putcs+0x3b2/0x480 drivers/video/fbdev/core/fbcon.c:1375 do_update_region+0x2cf/0x3f0 drivers/tty/vt/vt.c:770 redraw_screen+0x63f/0x760 drivers/tty/vt/vt.c:1122 vc_do_resize+0xc3d/0xeb0 drivers/tty/vt/vt.c:1425 vt_resizex drivers/tty/vt/vt_ioctl.c:715 [inline] vt_ioctl+0x1e74/0x3170 drivers/tty/vt/vt_ioctl.c:927 tty_ioctl+0x26a/0x1870 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] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f62c219fb19 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:00007f62c306a028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f62c2425fa0 RCX: 00007f62c219fb19 RDX: 0000200000000b40 RSI: 000000000000560a RDI: 000000000000000a RBP: 00007f62c2237af8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f62c2426038 R14: 00007f62c2425fa0 R15: 00007ffce77524f8 The buggy address belongs to a 1024-page vmalloc region starting at 0xffffc90024f99000 allocated at kcov_ioctl+0x4d/0x750 kernel/kcov.c:756 Memory state around the buggy address: ffffc90025398f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90025398f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90025399000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90025399080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90025399100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================