BUG: unable to handle page fault for address: ffff888001000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD 11401067 P4D 11401067 PUD 11402067 PMD 80000000010001e1 Oops: 0003 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10169 Comm: syz-executor.4 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:writeb arch/x86/include/asm/io.h:65 [inline] RIP: 0010:vga16fb_fillrect+0x17b0/0x1c10 drivers/video/fbdev/vga16fb.c:923 Code: 00 00 31 ed 31 ff 89 de e8 cd 2a 00 fd 4c 63 64 24 08 44 8d 7b ff ff 4c 24 04 85 db 74 33 44 89 fb 66 0f 1f 84 00 00 00 00 00 <41> 88 2e 85 db 74 0c 49 ff c6 e8 91 26 00 fd ff cb eb ed e8 88 26 RSP: 0018:ffffc90004927808 EFLAGS: 00010212 RAX: ffffffff84844f0f RBX: 000000000000008f RCX: 0000000000040000 RDX: ffffc9001224b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff84844ee3 R09: ffffffff84843fe8 R10: 0000000000000002 R11: ffff88808a14d700 R12: 0000000000000001 R13: 00000000000000c7 R14: ffff888001000000 R15: 00000000000000c6 FS: 00007f181532c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000000 CR3: 00000000704fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bit_clear_margins+0x2d7/0x6e0 drivers/video/fbdev/core/bitblit.c:209 fbcon_clear_margins drivers/video/fbdev/core/fbcon.c:1296 [inline] fbcon_switch+0x1569/0x21f0 drivers/video/fbdev/core/fbcon.c:1677 redraw_screen+0x53d/0x1280 drivers/tty/vt/vt.c:1021 do_fb_ioctl+0x7f2/0x900 drivers/video/fbdev/core/fbmem.c:1114 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1817db6ae9 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:00007f181532c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1817ec9f60 RCX: 00007f1817db6ae9 RDX: 00000000200002c0 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00007f1817e10f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8dae89ff R14: 00007f181532c300 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 11401067 P4D 11401067 PUD 11402067 PMD 80000000010001e1 Oops: 0003 [#2] PREEMPT SMP KASAN CPU: 0 PID: 10169 Comm: syz-executor.4 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:writeb arch/x86/include/asm/io.h:65 [inline] RIP: 0010:vga16fb_fillrect+0x17b0/0x1c10 drivers/video/fbdev/vga16fb.c:923 Code: 00 00 31 ed 31 ff 89 de e8 cd 2a 00 fd 4c 63 64 24 08 44 8d 7b ff ff 4c 24 04 85 db 74 33 44 89 fb 66 0f 1f 84 00 00 00 00 00 <41> 88 2e 85 db 74 0c 49 ff c6 e8 91 26 00 fd ff cb eb ed e8 88 26 RSP: 0018:ffffc90004926de8 EFLAGS: 00010012 RAX: ffffffff84844f0f RBX: 000000000000008f RCX: 0000000000040000 RDX: ffffc9001224b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff84844ee3 R09: ffffffff84843fe8 R10: 0000000000000002 R11: ffff88808a14d700 R12: 0000000000000001 R13: 00000000000000c7 R14: ffff888001000000 R15: 00000000000000c6 FS: 00007f181532c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000000 CR3: 00000000704fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bit_clear_margins+0x2d7/0x6e0 drivers/video/fbdev/core/bitblit.c:209 fbcon_clear_margins drivers/video/fbdev/core/fbcon.c:1296 [inline] fbcon_switch+0x1569/0x21f0 drivers/video/fbdev/core/fbcon.c:1677 redraw_screen+0x53d/0x1280 drivers/tty/vt/vt.c:1021 fbcon_blank+0x556/0xa50 drivers/video/fbdev/core/fbcon.c:1738 do_unblank_screen+0x27c/0xb20 drivers/tty/vt/vt.c:4438 bust_spinlocks+0x43/0xd0 lib/bust_spinlocks.c:26 oops_end+0x45/0x140 arch/x86/kernel/dumpstack.c:361 page_fault_oops+0x838/0xaa0 arch/x86/mm/fault.c:708 __bad_area_nosemaphore+0x127/0x590 arch/x86/mm/fault.c:806 do_kern_addr_fault arch/x86/mm/fault.c:1207 [inline] handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x15b/0x1e0 arch/x86/mm/fault.c:1541 asm_exc_page_fault+0x1e/0x30 RIP: 0010:writeb arch/x86/include/asm/io.h:65 [inline] RIP: 0010:vga16fb_fillrect+0x17b0/0x1c10 drivers/video/fbdev/vga16fb.c:923 Code: 00 00 31 ed 31 ff 89 de e8 cd 2a 00 fd 4c 63 64 24 08 44 8d 7b ff ff 4c 24 04 85 db 74 33 44 89 fb 66 0f 1f 84 00 00 00 00 00 <41> 88 2e 85 db 74 0c 49 ff c6 e8 91 26 00 fd ff cb eb ed e8 88 26 RSP: 0018:ffffc90004927808 EFLAGS: 00010212 RAX: ffffffff84844f0f RBX: 000000000000008f RCX: 0000000000040000 RDX: ffffc9001224b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff84844ee3 R09: ffffffff84843fe8 R10: 0000000000000002 R11: ffff88808a14d700 R12: 0000000000000001 R13: 00000000000000c7 R14: ffff888001000000 R15: 00000000000000c6 bit_clear_margins+0x2d7/0x6e0 drivers/video/fbdev/core/bitblit.c:209 fbcon_clear_margins drivers/video/fbdev/core/fbcon.c:1296 [inline] fbcon_switch+0x1569/0x21f0 drivers/video/fbdev/core/fbcon.c:1677 redraw_screen+0x53d/0x1280 drivers/tty/vt/vt.c:1021 do_fb_ioctl+0x7f2/0x900 drivers/video/fbdev/core/fbmem.c:1114 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1817db6ae9 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:00007f181532c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1817ec9f60 RCX: 00007f1817db6ae9 RDX: 00000000200002c0 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00007f1817e10f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8dae89ff R14: 00007f181532c300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000000 ---[ end trace c942a06bfd465f00 ]--- RIP: 0010:writeb arch/x86/include/asm/io.h:65 [inline] RIP: 0010:vga16fb_fillrect+0x17b0/0x1c10 drivers/video/fbdev/vga16fb.c:923 Code: 00 00 31 ed 31 ff 89 de e8 cd 2a 00 fd 4c 63 64 24 08 44 8d 7b ff ff 4c 24 04 85 db 74 33 44 89 fb 66 0f 1f 84 00 00 00 00 00 <41> 88 2e 85 db 74 0c 49 ff c6 e8 91 26 00 fd ff cb eb ed e8 88 26 RSP: 0018:ffffc90004927808 EFLAGS: 00010212 RAX: ffffffff84844f0f RBX: 000000000000008f RCX: 0000000000040000 RDX: ffffc9001224b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff84844ee3 R09: ffffffff84843fe8 R10: 0000000000000002 R11: ffff88808a14d700 R12: 0000000000000001 R13: 00000000000000c7 R14: ffff888001000000 R15: 00000000000000c6 FS: 00007f181532c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000000 CR3: 00000000704fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 31 ed xor %ebp,%ebp 4: 31 ff xor %edi,%edi 6: 89 de mov %ebx,%esi 8: e8 cd 2a 00 fd callq 0xfd002ada d: 4c 63 64 24 08 movslq 0x8(%rsp),%r12 12: 44 8d 7b ff lea -0x1(%rbx),%r15d 16: ff 4c 24 04 decl 0x4(%rsp) 1a: 85 db test %ebx,%ebx 1c: 74 33 je 0x51 1e: 44 89 fb mov %r15d,%ebx 21: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 28: 00 00 * 2a: 41 88 2e mov %bpl,(%r14) <-- trapping instruction 2d: 85 db test %ebx,%ebx 2f: 74 0c je 0x3d 31: 49 ff c6 inc %r14 34: e8 91 26 00 fd callq 0xfd0026ca 39: ff cb dec %ebx 3b: eb ed jmp 0x2a 3d: e8 .byte 0xe8 3e: 88 26 mov %ah,(%rsi)