FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5355 Comm: syz.0.0 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_lvl+0xe8/0x150 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x410/0x560 lib/fault-inject.c:174 prepare_alloc_pages+0x21e/0x5f0 mm/page_alloc.c:5110 __alloc_frozen_pages_noprof+0x17a/0x400 mm/page_alloc.c:5414 alloc_pages_mpol+0x21e/0x390 mm/mempolicy.c:2511 ___kmalloc_large_node+0x7b/0x170 mm/slub.c:5470 __kmalloc_large_node_noprof+0x18/0x90 mm/slub.c:5502 __do_kmalloc_node mm/slub.c:5519 [inline] __kmalloc_noprof+0x3f6/0x710 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] vc_do_resize+0x345/0x1550 drivers/tty/vt/vt.c:1213 vc_resize include/linux/vt_kern.h:49 [inline] fbcon_modechanged+0x7fe/0x12e0 drivers/video/fbdev/core/fbcon.c:2681 fbcon_rotate_all drivers/video/fbdev/core/fbcon.c:253 [inline] rotate_all_store+0x539/0x630 drivers/video/fbdev/core/fbcon.c:3217 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10bff9f559 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:00007f10c0ea3fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f10c0226090 RCX: 00007f10bff9f559 RDX: 0000000000000001 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007f10c0ea4050 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f10c0226128 R14: 00007f10c0226090 R15: 00007fff0efa7f88 ================================================================== 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+0x1592/0x1e40 drivers/video/fbdev/core/sysimgblt.c:24 Write of size 8 at addr ffffc90024008000 by task syz.0.0/5355 CPU: 0 UID: 0 PID: 5355 Comm: syz.0.0 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_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 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+0x1592/0x1e40 drivers/video/fbdev/core/sysimgblt.c:24 drm_fbdev_shmem_defio_imageblit+0x2c/0x110 drivers/gpu/drm/drm_fbdev_shmem.c:39 ccw_putcs_aligned drivers/video/fbdev/core/fbcon_ccw.c:126 [inline] ccw_putcs+0xf48/0x1210 drivers/video/fbdev/core/fbcon_ccw.c:176 fbcon_putcs+0x3c5/0x5a0 drivers/video/fbdev/core/fbcon.c:1398 do_update_region+0x389/0x440 drivers/tty/vt/vt.c:656 redraw_screen+0xa3d/0x1020 drivers/tty/vt/vt.c:1008 fbcon_rotate_all drivers/video/fbdev/core/fbcon.c:253 [inline] rotate_all_store+0x539/0x630 drivers/video/fbdev/core/fbcon.c:3217 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10bff9f559 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:00007f10c0ea3fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f10c0226090 RCX: 00007f10bff9f559 RDX: 0000000000000001 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007f10c0ea4050 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f10c0226128 R14: 00007f10c0226090 R15: 00007fff0efa7f88 The buggy address belongs to a 2048-page vmalloc region starting at 0xffffc90023808000 allocated at kcov_ioctl+0x55/0x630 kernel/kcov.c:738 Memory state around the buggy address: ffffc90024007f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90024007f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90024008000: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ^ ffffc90024008080: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ffffc90024008100: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 ==================================================================