BUG: unable to handle page fault for address: ffff888001000006 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD 10a01067 P4D 10a01067 PUD 10a02067 PMD 80000000010001e1 Oops: 0003 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14835 Comm: syz-executor.5 Not tainted 5.15.0-rc6-next-20211021-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+0xbeb/0x2000 drivers/video/fbdev/vga16fb.c:923 Code: fd 49 63 c4 41 89 ee 45 31 ed 48 89 04 24 e8 1c d4 51 fd 31 ff 89 de 31 ed e8 31 d6 51 fd 85 db 4d 89 fc 74 22 e8 05 d4 51 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 d6 51 fd 39 eb RSP: 0018:ffffc90017b1f848 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffc900142ef000 RDX: 0000000000040000 RSI: ffffffff8425a4bb RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff84259bea R10: ffffffff8425a4af R11: 0000000000000000 R12: ffff888001000006 R13: 0000000000000000 R14: 000000003fe13fff R15: ffff888001000006 FS: 00007f54bf066700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000006 CR3: 000000007d660000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: bit_clear_margins+0x3f6/0x4b0 drivers/video/fbdev/core/bitblit.c:209 fbcon_clear_margins.constprop.0+0x1e7/0x270 drivers/video/fbdev/core/fbcon.c:1296 fbcon_switch+0x9f5/0x1430 drivers/video/fbdev/core/fbcon.c:1677 redraw_screen+0x2b9/0x740 drivers/tty/vt/vt.c:1021 fbcon_modechanged+0x58c/0x6c0 drivers/video/fbdev/core/fbcon.c:2182 fbcon_update_vcs+0x3a/0x50 drivers/video/fbdev/core/fbcon.c:2227 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:0x7f54c1af0a39 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:00007f54bf066188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f54c1bf3f60 RCX: 00007f54c1af0a39 RDX: 0000000020000040 RSI: 0000000000004601 RDI: 0000000000000004 RBP: 00007f54c1b4ae8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea58799ef R14: 00007f54bf066300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000006 BUG: unable to handle page fault for address: ffff888001000006 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD 10a01067 P4D 10a01067 PUD 10a02067 PMD 80000000010001e1 Oops: 0003 [#2] PREEMPT SMP KASAN CPU: 0 PID: 14835 Comm: syz-executor.5 Not tainted 5.15.0-rc6-next-20211021-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+0xbeb/0x2000 drivers/video/fbdev/vga16fb.c:923 Code: fd 49 63 c4 41 89 ee 45 31 ed 48 89 04 24 e8 1c d4 51 fd 31 ff 89 de 31 ed e8 31 d6 51 fd 85 db 4d 89 fc 74 22 e8 05 d4 51 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 d6 51 fd 39 eb RSP: 0018:ffffc90017b1efc8 EFLAGS: 00010046 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffc900142ef000 RDX: 0000000000040000 RSI: ffffffff8425a4bb RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff84259bea R10: ffffffff8425a4af R11: 0000000000000000 R12: ffff888001000006 R13: 0000000000000000 R14: 000000003fe13fff R15: ffff888001000006 FS: 00007f54bf066700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000006 CR3: 000000007d660000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: bit_clear_margins+0x3f6/0x4b0 drivers/video/fbdev/core/bitblit.c:209 fbcon_clear_margins.constprop.0+0x1e7/0x270 drivers/video/fbdev/core/fbcon.c:1296 fbcon_switch+0x9f5/0x1430 drivers/video/fbdev/core/fbcon.c:1677 redraw_screen+0x2b9/0x740 drivers/tty/vt/vt.c:1021 fbcon_blank+0x8c5/0xc30 drivers/video/fbdev/core/fbcon.c:1738 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:writeb arch/x86/include/asm/io.h:65 [inline] RIP: 0010:vga16fb_fillrect+0xbeb/0x2000 drivers/video/fbdev/vga16fb.c:923 Code: fd 49 63 c4 41 89 ee 45 31 ed 48 89 04 24 e8 1c d4 51 fd 31 ff 89 de 31 ed e8 31 d6 51 fd 85 db 4d 89 fc 74 22 e8 05 d4 51 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 d6 51 fd 39 eb RSP: 0018:ffffc90017b1f848 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffc900142ef000 RDX: 0000000000040000 RSI: ffffffff8425a4bb RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff84259bea R10: ffffffff8425a4af R11: 0000000000000000 R12: ffff888001000006 R13: 0000000000000000 R14: 000000003fe13fff R15: ffff888001000006 bit_clear_margins+0x3f6/0x4b0 drivers/video/fbdev/core/bitblit.c:209 fbcon_clear_margins.constprop.0+0x1e7/0x270 drivers/video/fbdev/core/fbcon.c:1296 fbcon_switch+0x9f5/0x1430 drivers/video/fbdev/core/fbcon.c:1677 redraw_screen+0x2b9/0x740 drivers/tty/vt/vt.c:1021 fbcon_modechanged+0x58c/0x6c0 drivers/video/fbdev/core/fbcon.c:2182 fbcon_update_vcs+0x3a/0x50 drivers/video/fbdev/core/fbcon.c:2227 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:0x7f54c1af0a39 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:00007f54bf066188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f54c1bf3f60 RCX: 00007f54c1af0a39 RDX: 0000000020000040 RSI: 0000000000004601 RDI: 0000000000000004 RBP: 00007f54c1b4ae8f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea58799ef R14: 00007f54bf066300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000006 ---[ end trace 56ff84f07d828a1f ]--- RIP: 0010:writeb arch/x86/include/asm/io.h:65 [inline] RIP: 0010:vga16fb_fillrect+0xbeb/0x2000 drivers/video/fbdev/vga16fb.c:923 Code: fd 49 63 c4 41 89 ee 45 31 ed 48 89 04 24 e8 1c d4 51 fd 31 ff 89 de 31 ed e8 31 d6 51 fd 85 db 4d 89 fc 74 22 e8 05 d4 51 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 d6 51 fd 39 eb RSP: 0018:ffffc90017b1f848 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000002 RCX: ffffc900142ef000 RDX: 0000000000040000 RSI: ffffffff8425a4bb RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff84259bea R10: ffffffff8425a4af R11: 0000000000000000 R12: ffff888001000006 R13: 0000000000000000 R14: 000000003fe13fff R15: ffff888001000006 FS: 00007f54bf066700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000006 CR3: 000000007d660000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: fd std 1: 49 63 c4 movslq %r12d,%rax 4: 41 89 ee mov %ebp,%r14d 7: 45 31 ed xor %r13d,%r13d a: 48 89 04 24 mov %rax,(%rsp) e: e8 1c d4 51 fd callq 0xfd51d42f 13: 31 ff xor %edi,%edi 15: 89 de mov %ebx,%esi 17: 31 ed xor %ebp,%ebp 19: e8 31 d6 51 fd callq 0xfd51d64f 1e: 85 db test %ebx,%ebx 20: 4d 89 fc mov %r15,%r12 23: 74 22 je 0x47 25: e8 05 d4 51 fd callq 0xfd51d42f * 2a: 45 88 2c 24 mov %r13b,(%r12) <-- trapping instruction 2e: 83 c5 01 add $0x1,%ebp 31: 89 df mov %ebx,%edi 33: 49 83 c4 01 add $0x1,%r12 37: 89 ee mov %ebp,%esi 39: e8 f1 d6 51 fd callq 0xfd51d72f 3e: 39 eb cmp %ebp,%ebx