BUG: unable to handle page fault for address: ffff888001000000
#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: 1 PID: 16801 Comm: syz-executor.3 Not tainted 5.15.0-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 ec 4e fd 31 ff 89 de 31 ed e8 31 ee 4e fd 85 db 4d 89 fc 74 22 e8 05 ec 4e fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 ee 4e fd 39 eb
RSP: 0018:ffffc90010c37848 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 00000000000000c4 RCX: ffffc900160f1000
RDX: 0000000000040000 RSI: ffffffff8428346b RDI: 0000000000000003
RBP: 0000000000000034 R08: 00000000000000c4 R09: ffffffff84282b9a
R10: ffffffff8428347f R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000001ffec51e R15: ffff888000ffffcc
FS: 00007f1db6fce700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001000000 CR3: 000000001de9b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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:0x7f1db9a58ae9
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:00007f1db6fce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1db9b6bf60 RCX: 00007f1db9a58ae9
RDX: 00000000200002c0 RSI: 0000000000004601 RDI: 0000000000000004
RBP: 00007f1db9ab2f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdc1ddf34f R14: 00007f1db6fce300 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 10a01067 P4D 10a01067 PUD 10a02067 PMD 80000000010001e1
Oops: 0003 [#2] PREEMPT SMP KASAN
CPU: 1 PID: 16801 Comm: syz-executor.3 Not tainted 5.15.0-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 ec 4e fd 31 ff 89 de 31 ed e8 31 ee 4e fd 85 db 4d 89 fc 74 22 e8 05 ec 4e fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 ee 4e fd 39 eb
RSP: 0018:ffffc90010c36fc8 EFLAGS: 00010046
RAX: 0000000000040000 RBX: 00000000000000c4 RCX: ffffc900160f1000
RDX: 0000000000040000 RSI: ffffffff8428346b RDI: 0000000000000003
RBP: 0000000000000034 R08: 00000000000000c4 R09: ffffffff84282b9a
R10: ffffffff8428347f R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000001ffec51e R15: ffff888000ffffcc
FS: 00007f1db6fce700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001000000 CR3: 000000001de9b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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 ec 4e fd 31 ff 89 de 31 ed e8 31 ee 4e fd 85 db 4d 89 fc 74 22 e8 05 ec 4e fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 ee 4e fd 39 eb
RSP: 0018:ffffc90010c37848 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 00000000000000c4 RCX: ffffc900160f1000
RDX: 0000000000040000 RSI: ffffffff8428346b RDI: 0000000000000003
RBP: 0000000000000034 R08: 00000000000000c4 R09: ffffffff84282b9a
R10: ffffffff8428347f R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000001ffec51e R15: ffff888000ffffcc
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:0x7f1db9a58ae9
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:00007f1db6fce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1db9b6bf60 RCX: 00007f1db9a58ae9
RDX: 00000000200002c0 RSI: 0000000000004601 RDI: 0000000000000004
RBP: 00007f1db9ab2f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdc1ddf34f R14: 00007f1db6fce300 R15: 0000000000022000
Modules linked in:
CR2: ffff888001000000
---[ end trace afb448724790ed2e ]---
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 ec 4e fd 31 ff 89 de 31 ed e8 31 ee 4e fd 85 db 4d 89 fc 74 22 e8 05 ec 4e fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 f1 ee 4e fd 39 eb
RSP: 0018:ffffc90010c37848 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 00000000000000c4 RCX: ffffc900160f1000
RDX: 0000000000040000 RSI: ffffffff8428346b RDI: 0000000000000003
RBP: 0000000000000034 R08: 00000000000000c4 R09: ffffffff84282b9a
R10: ffffffff8428347f R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000001ffec51e R15: ffff888000ffffcc
FS: 00007f1db6fce700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001000000 CR3: 000000001de9b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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 ec 4e fd callq 0xfd4eec2f
13: 31 ff xor %edi,%edi
15: 89 de mov %ebx,%esi
17: 31 ed xor %ebp,%ebp
19: e8 31 ee 4e fd callq 0xfd4eee4f
1e: 85 db test %ebx,%ebx
20: 4d 89 fc mov %r15,%r12
23: 74 22 je 0x47
25: e8 05 ec 4e fd callq 0xfd4eec2f
* 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 ee 4e fd callq 0xfd4eef2f
3e: 39 eb cmp %ebp,%ebx