BUG: unable to handle page fault for address: ffff888001000030 #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: 7173 Comm: syz-executor.0 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+0x1d2/0x270 drivers/video/fbdev/core/cfbfillrect.c:75 Code: 65 22 fd eb 09 e8 4e 65 22 fd 48 83 c3 40 31 ff 89 ee e8 51 69 22 fd 85 ed 74 2c 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 ff cd <4c> 89 33 85 ed 74 0b 48 83 c3 08 e8 1e 65 22 fd eb ec e8 17 65 22 RSP: 0018:ffffc9000426f4f8 EFLAGS: 00010202 RAX: 0000000000000002 RBX: ffff888001000030 RCX: 0000000000040000 RDX: ffff88802e645700 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff846218cf R09: 0000000000000040 R10: 0000000000000002 R11: ffff88802e645700 R12: ffffffffffffffff R13: 0000000000000080 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f023c4d3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000030 CR3: 000000007e584000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: cfb_fillrect+0x5d8/0x800 drivers/video/fbdev/core/cfbfillrect.c:327 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 vc_do_resize+0x1361/0x1930 drivers/tty/vt/vt.c:1342 fbcon_modechanged+0x7b6/0x1240 drivers/video/fbdev/core/fbcon.c:2171 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:0x7f023db5de99 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:00007f023c4d3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f023dc70f60 RCX: 00007f023db5de99 RDX: 0000000020000080 RSI: 0000000000004601 RDI: 0000000000000003 RBP: 00007f023dbb7ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe61029c9f R14: 00007f023c4d3300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000030 ---[ end trace 668532776201fa8a ]--- RIP: 0010:__writeq arch/x86/include/asm/io.h:98 [inline] RIP: 0010:bitfill_aligned+0x1d2/0x270 drivers/video/fbdev/core/cfbfillrect.c:75 Code: 65 22 fd eb 09 e8 4e 65 22 fd 48 83 c3 40 31 ff 89 ee e8 51 69 22 fd 85 ed 74 2c 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 ff cd <4c> 89 33 85 ed 74 0b 48 83 c3 08 e8 1e 65 22 fd eb ec e8 17 65 22 RSP: 0018:ffffc9000426f4f8 EFLAGS: 00010202 RAX: 0000000000000002 RBX: ffff888001000030 RCX: 0000000000040000 RDX: ffff88802e645700 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff846218cf R09: 0000000000000040 R10: 0000000000000002 R11: ffff88802e645700 R12: ffffffffffffffff R13: 0000000000000080 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f023c4d3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000030 CR3: 000000007e584000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 65 22 fd gs and %ch,%bh 3: eb 09 jmp 0xe 5: e8 4e 65 22 fd callq 0xfd226558 a: 48 83 c3 40 add $0x40,%rbx e: 31 ff xor %edi,%edi 10: 89 ee mov %ebp,%esi 12: e8 51 69 22 fd callq 0xfd226968 17: 85 ed test %ebp,%ebp 19: 74 2c je 0x47 1b: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 22: 00 00 00 25: 0f 1f 00 nopl (%rax) 28: ff cd dec %ebp * 2a: 4c 89 33 mov %r14,(%rbx) <-- trapping instruction 2d: 85 ed test %ebp,%ebp 2f: 74 0b je 0x3c 31: 48 83 c3 08 add $0x8,%rbx 35: e8 1e 65 22 fd callq 0xfd226558 3a: eb ec jmp 0x28 3c: e8 .byte 0xe8 3d: 17 (bad) 3e: 65 gs 3f: 22 .byte 0x22