BUG: unable to handle page fault for address: ffff888001000020 #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: 19529 Comm: syz-executor.4 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeq arch/x86/include/asm/io.h:98 [inline] RIP: 0010:bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:75 [inline] RIP: 0010:bitfill_aligned+0x1bf/0x240 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 49 01 c6 e8 63 8d 60 fd 41 8d 6d ff 31 ff 44 89 ee e8 75 8f 60 fd 45 85 ed 74 27 4d 89 f4 e8 48 8d 60 fd 4c 89 e0 49 83 c4 08 <48> 89 18 31 ff 89 ee 83 ed 01 e8 52 8f 60 fd 83 fd ff 75 e0 4f 8d RSP: 0018:ffffc900051bf6e0 EFLAGS: 00010286 RAX: ffff888001000020 RBX: 0000000000000000 RCX: ffffc9000ef9d000 RDX: 0000000000040000 RSI: ffffffff841704e8 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000040 R10: ffffffff841704db R11: 0000000000000000 R12: ffff888001000028 R13: 0000000000000004 R14: ffff888001000020 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f58abb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff888001000020 CR3: 0000000019c20000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfb_fillrect+0x434/0x800 drivers/video/fbdev/core/cfbfillrect.c:327 vga16fb_fillrect+0x781/0x2000 drivers/video/fbdev/vga16fb.c:951 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 vc_do_resize+0xee3/0x1180 drivers/tty/vt/vt.c:1342 vt_resize+0xa3/0xe0 drivers/tty/vt/vt.c:1383 tiocswinsz drivers/tty/tty_io.c:2392 [inline] tty_ioctl+0xa3a/0x1670 drivers/tty/tty_io.c:2723 tty_compat_ioctl+0x295/0x410 drivers/tty/tty_io.c:2955 __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:0xf6eb1549 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:00000000f58ab5bc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000005414 RDX: 00000000200000c0 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: ffff888001000020 ---[ end trace 375c547a55de6402 ]--- RIP: 0010:__writeq arch/x86/include/asm/io.h:98 [inline] RIP: 0010:bitfill_aligned drivers/video/fbdev/core/cfbfillrect.c:75 [inline] RIP: 0010:bitfill_aligned+0x1bf/0x240 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 49 01 c6 e8 63 8d 60 fd 41 8d 6d ff 31 ff 44 89 ee e8 75 8f 60 fd 45 85 ed 74 27 4d 89 f4 e8 48 8d 60 fd 4c 89 e0 49 83 c4 08 <48> 89 18 31 ff 89 ee 83 ed 01 e8 52 8f 60 fd 83 fd ff 75 e0 4f 8d RSP: 0018:ffffc900051bf6e0 EFLAGS: 00010286 RAX: ffff888001000020 RBX: 0000000000000000 RCX: ffffc9000ef9d000 RDX: 0000000000040000 RSI: ffffffff841704e8 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000040 R10: ffffffff841704db R11: 0000000000000000 R12: ffff888001000028 R13: 0000000000000004 R14: ffff888001000020 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0063) knlGS:00000000f58abb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff888001000020 CR3: 0000000019c20000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 49 01 c6 add %rax,%r14 3: e8 63 8d 60 fd callq 0xfd608d6b 8: 41 8d 6d ff lea -0x1(%r13),%ebp c: 31 ff xor %edi,%edi e: 44 89 ee mov %r13d,%esi 11: e8 75 8f 60 fd callq 0xfd608f8b 16: 45 85 ed test %r13d,%r13d 19: 74 27 je 0x42 1b: 4d 89 f4 mov %r14,%r12 1e: e8 48 8d 60 fd callq 0xfd608d6b 23: 4c 89 e0 mov %r12,%rax 26: 49 83 c4 08 add $0x8,%r12 * 2a: 48 89 18 mov %rbx,(%rax) <-- trapping instruction 2d: 31 ff xor %edi,%edi 2f: 89 ee mov %ebp,%esi 31: 83 ed 01 sub $0x1,%ebp 34: e8 52 8f 60 fd callq 0xfd608f8b 39: 83 fd ff cmp $0xffffffff,%ebp 3c: 75 e0 jne 0x1e 3e: 4f rex.WRXB 3f: 8d .byte 0x8d