BUG: unable to handle page fault for address: ffff888001000018
#PF: supervisor write access in kernel mode
#PF: error_code(0x0003) - permissions violation
PGD 11201067 P4D 11201067 PUD 11202067 PMD 80000000010001e1
Oops: 0003 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 779 Comm: syz-executor.2 Not tainted 5.16.0-rc2-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 7d 52 16 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 41 4e 16 fd ff cb eb ed e8 38 4e
RSP: 0018:ffffc900173ff808 EFLAGS: 00010206
RAX: ffffffff846e298b RBX: 0000000000000077 RCX: 0000000000040000
RDX: ffffc9000d78a000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: 0000000000000000 R08: ffffffff846e2933 R09: ffffffff846e1a38
R10: 0000000000000002 R11: ffff888015dd3a00 R12: 0000000000000050
R13: 0000000000000078 R14: ffff888001000018 R15: 0000000000000077
FS: 00007f3ebed2b700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001000018 CR3: 00000000356f8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
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:0x7f3ec17b5ae9
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:00007f3ebed2b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f3ec18c8f60 RCX: 00007f3ec17b5ae9
RDX: 00000000200002c0 RSI: 0000000000004601 RDI: 0000000000000003
RBP: 00007f3ec180ff6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcd348052f R14: 00007f3ebed2b300 R15: 0000000000022000
</TASK>
Modules linked in:
CR2: ffff888001000018
---[ end trace 12d4f75ba6e34a88 ]---
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 7d 52 16 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 41 4e 16 fd ff cb eb ed e8 38 4e
RSP: 0018:ffffc900173ff808 EFLAGS: 00010206
RAX: ffffffff846e298b RBX: 0000000000000077 RCX: 0000000000040000
RDX: ffffc9000d78a000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: 0000000000000000 R08: ffffffff846e2933 R09: ffffffff846e1a38
R10: 0000000000000002 R11: ffff888015dd3a00 R12: 0000000000000050
R13: 0000000000000078 R14: ffff888001000018 R15: 0000000000000077
FS: 00007f3ebed2b700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001000018 CR3: 00000000356f8000 CR4: 00000000003506e0
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 7d 52 16 fd callq 0xfd16528a
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 41 4e 16 fd callq 0xfd164e7a
39: ff cb dec %ebx
3b: eb ed jmp 0x2a
3d: e8 .byte 0xe8
3e: 38 .byte 0x38
3f: 4e rex.WRX