BUG: unable to handle page fault for address: ffffc90004f59000
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 1b000067 P4D 1b000067 PUD 1c28a067 PMD 106c2f067 PTE 0
Oops: Oops: 0002 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 8284 Comm: syz.0.631 Not tainted 6.14.0-rc2-syzkaller-00185-g128c8f96eb86 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:memset64 arch/x86/include/asm/string_64.h:60 [inline]
RIP: 0010:memset_l include/linux/string.h:241 [inline]
RIP: 0010:bitfill_aligned drivers/video/fbdev/core/sysfillrect.c:53 [inline]
RIP: 0010:bitfill_aligned+0x183/0x210 drivers/video/fbdev/core/sysfillrect.c:25
Code: 44 24 08 48 31 d0 49 89 45 f8 44 89 e0 29 e8 29 c3 e8 21 eb ac fc 89 d8 31 d2 4c 89 ef 41 f7 f4 48 89 c3 48 89 c1 48 8b 04 24 <f3> 48 ab 31 ff 4c 89 f6 e8 30 e6 ac fc 4d 85 f6 0f 84 6a ff ff ff
RSP: 0018:ffffc900032676b8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000280 RCX: 0000000000000080
RDX: 0000000000000000 RSI: ffffffff850ce8bf RDI: ffffc90004f59000
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000040
R13: ffffc90004f58000 R14: 0000000000000000 R15: 000000000000a000
FS:  00007f5a4962f6c0(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90004f59000 CR3: 000000004e192000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 sys_fillrect+0x47b/0x900 drivers/video/fbdev/core/sysfillrect.c:284
 drm_fbdev_shmem_defio_fillrect+0x22/0x140 drivers/gpu/drm/drm_fbdev_shmem.c:37
 bit_clear_margins+0x302/0x4f0 drivers/video/fbdev/core/bitblit.c:232
 fbcon_clear_margins.constprop.0+0x1d0/0x290 drivers/video/fbdev/core/fbcon.c:1319
 fbcon_switch+0xa30/0x14f0 drivers/video/fbdev/core/fbcon.c:2190
 redraw_screen+0x2bf/0x760 drivers/tty/vt/vt.c:957
 fbcon_set_disp+0x7cc/0xe00 drivers/video/fbdev/core/fbcon.c:1412
 con2fb_init_display drivers/video/fbdev/core/fbcon.c:812 [inline]
 set_con2fb_map+0x6fd/0x1060 drivers/video/fbdev/core/fbcon.c:885
 fbcon_set_con2fb_map_ioctl+0x16d/0x220 drivers/video/fbdev/core/fbcon.c:3112
 do_fb_ioctl+0x32a/0x7d0 drivers/video/fbdev/core/fb_chrdev.c:138
 fb_ioctl+0xe5/0x150 drivers/video/fbdev/core/fb_chrdev.c:169
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl fs/ioctl.c:892 [inline]
 __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5a4878cde9
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:00007f5a4962f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5a489a5fa0 RCX: 00007f5a4878cde9
RDX: 00004000000000c0 RSI: 0000000000004610 RDI: 0000000000000004
RBP: 00007f5a4880e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5a489a5fa0 R15: 00007fff76652438
 </TASK>
Modules linked in:
CR2: ffffc90004f59000
---[ end trace 0000000000000000 ]---
RIP: 0010:memset64 arch/x86/include/asm/string_64.h:60 [inline]
RIP: 0010:memset_l include/linux/string.h:241 [inline]
RIP: 0010:bitfill_aligned drivers/video/fbdev/core/sysfillrect.c:53 [inline]
RIP: 0010:bitfill_aligned+0x183/0x210 drivers/video/fbdev/core/sysfillrect.c:25
Code: 44 24 08 48 31 d0 49 89 45 f8 44 89 e0 29 e8 29 c3 e8 21 eb ac fc 89 d8 31 d2 4c 89 ef 41 f7 f4 48 89 c3 48 89 c1 48 8b 04 24 <f3> 48 ab 31 ff 4c 89 f6 e8 30 e6 ac fc 4d 85 f6 0f 84 6a ff ff ff
RSP: 0018:ffffc900032676b8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000280 RCX: 0000000000000080
RDX: 0000000000000000 RSI: ffffffff850ce8bf RDI: ffffc90004f59000
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000040
R13: ffffc90004f58000 R14: 0000000000000000 R15: 000000000000a000
FS:  00007f5a4962f6c0(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90004f59000 CR3: 000000004e192000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	44 24 08             	rex.R and $0x8,%al
   3:	48 31 d0             	xor    %rdx,%rax
   6:	49 89 45 f8          	mov    %rax,-0x8(%r13)
   a:	44 89 e0             	mov    %r12d,%eax
   d:	29 e8                	sub    %ebp,%eax
   f:	29 c3                	sub    %eax,%ebx
  11:	e8 21 eb ac fc       	call   0xfcaceb37
  16:	89 d8                	mov    %ebx,%eax
  18:	31 d2                	xor    %edx,%edx
  1a:	4c 89 ef             	mov    %r13,%rdi
  1d:	41 f7 f4             	div    %r12d
  20:	48 89 c3             	mov    %rax,%rbx
  23:	48 89 c1             	mov    %rax,%rcx
  26:	48 8b 04 24          	mov    (%rsp),%rax
* 2a:	f3 48 ab             	rep stos %rax,%es:(%rdi) <-- trapping instruction
  2d:	31 ff                	xor    %edi,%edi
  2f:	4c 89 f6             	mov    %r14,%rsi
  32:	e8 30 e6 ac fc       	call   0xfcace667
  37:	4d 85 f6             	test   %r14,%r14
  3a:	0f 84 6a ff ff ff    	je     0xffffffaa