BUG: unable to handle page fault for address: ffff888001000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD 10801067 P4D 10801067 PUD 10802067 PMD 80000000010001e1 Oops: 0003 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3062 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeq arch/x86/include/asm/io.h:98 [inline] RIP: 0010:bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:68 [inline] RIP: 0010:bitfill_aligned+0x151/0x240 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 89 c4 89 c6 41 89 c5 e8 4d a7 6a fd 41 83 fc 07 76 5f 4c 89 f5 e8 8f 9e 6a fd 48 89 5d 00 48 89 5d 08 48 89 5d 10 48 89 5d 18 <48> 89 5d 20 48 89 5d 28 48 8d 45 38 48 89 5d 30 48 83 c5 40 48 89 RSP: 0018:ffffc90003327780 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000d4f9000 RDX: 0000000000040000 RSI: ffffffff840c5f71 RDI: 0000000000000003 RBP: ffff888000ffffe0 R08: 0000000000000007 R09: 0000000000000040 R10: ffffffff840c5fa9 R11: 0000000000000000 R12: 0000000000000050 R13: 0000000000000048 R14: ffff888000ffffa0 R15: 0000000000000000 FS: 00007f51113ee700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000000 CR3: 00000000371e9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfb_fillrect+0x434/0x800 drivers/video/fbdev/core/cfbfillrect.c:327 vga16fb_fillrect+0x781/0x2000 drivers/video/fbdev/vga16fb.c:951 bit_clear_margins+0x3f6/0x4b0 drivers/video/fbdev/core/bitblit.c:224 fbcon_clear_margins+0x1f1/0x280 drivers/video/fbdev/core/fbcon.c:1315 fbcon_switch+0xa8c/0x1620 drivers/video/fbdev/core/fbcon.c:2146 redraw_screen+0x2b9/0x740 drivers/tty/vt/vt.c:1021 fbcon_modechanged+0x593/0x6d0 drivers/video/fbdev/core/fbcon.c:2651 fbcon_update_vcs+0x3a/0x50 drivers/video/fbdev/core/fbcon.c:2696 do_fb_ioctl+0x62e/0x690 drivers/video/fbdev/core/fbmem.c:1114 fb_ioctl+0xe7/0x150 drivers/video/fbdev/core/fbmem.c:1189 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5113e78ae9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f51113ee188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5113f8bf60 RCX: 00007f5113e78ae9 RDX: 00000000200002c0 RSI: 0000000000004601 RDI: 0000000000000005 RBP: 00007f5113ed2f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7bc60aaf R14: 00007f51113ee300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000000 BUG: unable to handle page fault for address: ffff888001000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD 10801067 P4D 10801067 PUD 10802067 PMD 80000000010001e1 Oops: 0003 [#2] PREEMPT SMP KASAN CPU: 1 PID: 3062 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeq arch/x86/include/asm/io.h:98 [inline] RIP: 0010:bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:68 [inline] RIP: 0010:bitfill_aligned+0x151/0x240 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 89 c4 89 c6 41 89 c5 e8 4d a7 6a fd 41 83 fc 07 76 5f 4c 89 f5 e8 8f 9e 6a fd 48 89 5d 00 48 89 5d 08 48 89 5d 10 48 89 5d 18 <48> 89 5d 20 48 89 5d 28 48 8d 45 38 48 89 5d 30 48 83 c5 40 48 89 RSP: 0018:ffffc90003326e40 EFLAGS: 00010046 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000d4f9000 RDX: 0000000000040000 RSI: ffffffff840c5f71 RDI: 0000000000000003 RBP: ffff888000ffffe0 R08: 0000000000000007 R09: 0000000000000040 R10: ffffffff840c5fa9 R11: 0000000000000000 R12: 0000000000000050 R13: 0000000000000048 R14: ffff888000ffffa0 R15: 0000000000000000 FS: 00007f51113ee700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000000 CR3: 00000000371e9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfb_fillrect+0x434/0x800 drivers/video/fbdev/core/cfbfillrect.c:327 vga16fb_fillrect+0x781/0x2000 drivers/video/fbdev/vga16fb.c:951 bit_clear_margins+0x3f6/0x4b0 drivers/video/fbdev/core/bitblit.c:224 fbcon_clear_margins+0x1f1/0x280 drivers/video/fbdev/core/fbcon.c:1315 fbcon_switch+0xa8c/0x1620 drivers/video/fbdev/core/fbcon.c:2146 redraw_screen+0x2b9/0x740 drivers/tty/vt/vt.c:1021 fbcon_blank+0x8c5/0xc30 drivers/video/fbdev/core/fbcon.c:2207 do_unblank_screen+0x25b/0x470 drivers/tty/vt/vt.c:4438 bust_spinlocks+0x5b/0xe0 lib/bust_spinlocks.c:26 oops_end+0x2b/0xf0 arch/x86/kernel/dumpstack.c:361 page_fault_oops+0x322/0x670 arch/x86/mm/fault.c:708 kernelmode_fixup_or_oops+0x23f/0x2b0 arch/x86/mm/fault.c:760 __bad_area_nosemaphore+0x373/0x400 arch/x86/mm/fault.c:806 do_kern_addr_fault+0x5b/0x70 arch/x86/mm/fault.c:1207 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x155/0x180 arch/x86/mm/fault.c:1541 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0010:__writeq arch/x86/include/asm/io.h:98 [inline] RIP: 0010:bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:68 [inline] RIP: 0010:bitfill_aligned+0x151/0x240 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 89 c4 89 c6 41 89 c5 e8 4d a7 6a fd 41 83 fc 07 76 5f 4c 89 f5 e8 8f 9e 6a fd 48 89 5d 00 48 89 5d 08 48 89 5d 10 48 89 5d 18 <48> 89 5d 20 48 89 5d 28 48 8d 45 38 48 89 5d 30 48 83 c5 40 48 89 RSP: 0018:ffffc90003327780 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000d4f9000 RDX: 0000000000040000 RSI: ffffffff840c5f71 RDI: 0000000000000003 RBP: ffff888000ffffe0 R08: 0000000000000007 R09: 0000000000000040 R10: ffffffff840c5fa9 R11: 0000000000000000 R12: 0000000000000050 R13: 0000000000000048 R14: ffff888000ffffa0 R15: 0000000000000000 cfb_fillrect+0x434/0x800 drivers/video/fbdev/core/cfbfillrect.c:327 vga16fb_fillrect+0x781/0x2000 drivers/video/fbdev/vga16fb.c:951 bit_clear_margins+0x3f6/0x4b0 drivers/video/fbdev/core/bitblit.c:224 fbcon_clear_margins+0x1f1/0x280 drivers/video/fbdev/core/fbcon.c:1315 fbcon_switch+0xa8c/0x1620 drivers/video/fbdev/core/fbcon.c:2146 redraw_screen+0x2b9/0x740 drivers/tty/vt/vt.c:1021 fbcon_modechanged+0x593/0x6d0 drivers/video/fbdev/core/fbcon.c:2651 fbcon_update_vcs+0x3a/0x50 drivers/video/fbdev/core/fbcon.c:2696 do_fb_ioctl+0x62e/0x690 drivers/video/fbdev/core/fbmem.c:1114 fb_ioctl+0xe7/0x150 drivers/video/fbdev/core/fbmem.c:1189 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5113e78ae9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f51113ee188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5113f8bf60 RCX: 00007f5113e78ae9 RDX: 00000000200002c0 RSI: 0000000000004601 RDI: 0000000000000005 RBP: 00007f5113ed2f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7bc60aaf R14: 00007f51113ee300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000000 ---[ end trace 8832f6ac4a5ae463 ]--- RIP: 0010:__writeq arch/x86/include/asm/io.h:98 [inline] RIP: 0010:bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:68 [inline] RIP: 0010:bitfill_aligned+0x151/0x240 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 89 c4 89 c6 41 89 c5 e8 4d a7 6a fd 41 83 fc 07 76 5f 4c 89 f5 e8 8f 9e 6a fd 48 89 5d 00 48 89 5d 08 48 89 5d 10 48 89 5d 18 <48> 89 5d 20 48 89 5d 28 48 8d 45 38 48 89 5d 30 48 83 c5 40 48 89 RSP: 0018:ffffc90003327780 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9000d4f9000 RDX: 0000000000040000 RSI: ffffffff840c5f71 RDI: 0000000000000003 RBP: ffff888000ffffe0 R08: 0000000000000007 R09: 0000000000000040 R10: ffffffff840c5fa9 R11: 0000000000000000 R12: 0000000000000050 R13: 0000000000000048 R14: ffff888000ffffa0 R15: 0000000000000000 FS: 00007f51113ee700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000000 CR3: 00000000371e9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 c4 mov %eax,%esp 2: 89 c6 mov %eax,%esi 4: 41 89 c5 mov %eax,%r13d 7: e8 4d a7 6a fd callq 0xfd6aa759 c: 41 83 fc 07 cmp $0x7,%r12d 10: 76 5f jbe 0x71 12: 4c 89 f5 mov %r14,%rbp 15: e8 8f 9e 6a fd callq 0xfd6a9ea9 1a: 48 89 5d 00 mov %rbx,0x0(%rbp) 1e: 48 89 5d 08 mov %rbx,0x8(%rbp) 22: 48 89 5d 10 mov %rbx,0x10(%rbp) 26: 48 89 5d 18 mov %rbx,0x18(%rbp) * 2a: 48 89 5d 20 mov %rbx,0x20(%rbp) <-- trapping instruction 2e: 48 89 5d 28 mov %rbx,0x28(%rbp) 32: 48 8d 45 38 lea 0x38(%rbp),%rax 36: 48 89 5d 30 mov %rbx,0x30(%rbp) 3a: 48 83 c5 40 add $0x40,%rbp 3e: 48 rex.W 3f: 89 .byte 0x89