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: 0 PID: 4746 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: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 3c 36 67 fd 31 ff 89 de 31 ed e8 71 3d 67 fd 85 db 4d 89 fc 74 22 e8 25 36 67 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 41 3e 67 fd 39 eb
RSP: 0018:ffffc9000b217750 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000048 RCX: ffffc90002dc1000
RDX: 0000000000040000 RSI: ffffffff84108deb RDI: 0000000000000003
RBP: 0000000000000008 R08: 0000000000000048 R09: ffffffff8410851a
R10: ffffffff84108dff R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000000ffceccc R15: ffff888000fffff8
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f44b6b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffff888001000000 CR3: 0000000096457000 CR4: 00000000003506f0
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: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_compat_ioctl+0x17e/0x610 drivers/video/fbdev/core/fbmem.c:1313
__do_compat_sys_ioctl+0x1c7/0x290 fs/ioctl.c:972
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf6ebc549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f44b65fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000004601
RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
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: 0 PID: 4746 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: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 3c 36 67 fd 31 ff 89 de 31 ed e8 71 3d 67 fd 85 db 4d 89 fc 74 22 e8 25 36 67 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 41 3e 67 fd 39 eb
RSP: 0018:ffffc9000b216ed0 EFLAGS: 00010046
RAX: 0000000000040000 RBX: 0000000000000048 RCX: ffffc90002dc1000
RDX: 0000000000040000 RSI: ffffffff84108deb RDI: 0000000000000003
RBP: 0000000000000008 R08: 0000000000000048 R09: ffffffff8410851a
R10: ffffffff84108dff R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000000ffceccc R15: ffff888000fffff8
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f44b6b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffff888001000000 CR3: 0000000096457000 CR4: 00000000003506f0
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: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: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 3c 36 67 fd 31 ff 89 de 31 ed e8 71 3d 67 fd 85 db 4d 89 fc 74 22 e8 25 36 67 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 41 3e 67 fd 39 eb
RSP: 0018:ffffc9000b217750 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000048 RCX: ffffc90002dc1000
RDX: 0000000000040000 RSI: ffffffff84108deb RDI: 0000000000000003
RBP: 0000000000000008 R08: 0000000000000048 R09: ffffffff8410851a
R10: ffffffff84108dff R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000000ffceccc R15: ffff888000fffff8
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_compat_ioctl+0x17e/0x610 drivers/video/fbdev/core/fbmem.c:1313
__do_compat_sys_ioctl+0x1c7/0x290 fs/ioctl.c:972
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf6ebc549
Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f44b65fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000004601
RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
CR2: ffff888001000000
---[ end trace 6080e96d80def9d4 ]---
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 3c 36 67 fd 31 ff 89 de 31 ed e8 71 3d 67 fd 85 db 4d 89 fc 74 22 e8 25 36 67 fd <45> 88 2c 24 83 c5 01 89 df 49 83 c4 01 89 ee e8 41 3e 67 fd 39 eb
RSP: 0018:ffffc9000b217750 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000048 RCX: ffffc90002dc1000
RDX: 0000000000040000 RSI: ffffffff84108deb RDI: 0000000000000003
RBP: 0000000000000008 R08: 0000000000000048 R09: ffffffff8410851a
R10: ffffffff84108dff R11: 0000000000000000 R12: ffff888001000000
R13: 0000000000000000 R14: 000000000ffceccc R15: ffff888000fffff8
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f44b6b40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffff888001000000 CR3: 0000000096457000 CR4: 00000000003506f0
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 3c 36 67 fd callq 0xfd67364f
13: 31 ff xor %edi,%edi
15: 89 de mov %ebx,%esi
17: 31 ed xor %ebp,%ebp
19: e8 71 3d 67 fd callq 0xfd673d8f
1e: 85 db test %ebx,%ebx
20: 4d 89 fc mov %r15,%r12
23: 74 22 je 0x47
25: e8 25 36 67 fd callq 0xfd67364f
* 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 41 3e 67 fd callq 0xfd673e7f
3e: 39 eb cmp %ebp,%ebx