BUG: unable to handle page fault for address: ffff888001000030 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD f001067 P4D f001067 PUD f002067 PMD 80000000010001e1 Oops: 0003 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5969 Comm: syz-executor.5 Not tainted 5.11.0-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+0xf1/0x150 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 8d 4b 38 48 89 6b 30 48 83 c3 40 48 89 29 48 39 da 75 d5 44 89 c0 83 e0 07 85 c0 74 5f 89 c0 48 8d 14 c3 48 89 d8 48 83 c3 08 <48> 89 28 48 39 d3 75 f1 48 85 f6 0f 84 77 ff ff ff 48 8b 02 48 31 RSP: 0018:ffffc900020674f0 EFLAGS: 00010282 RAX: ffff888001000030 RBX: ffff888001000038 RCX: 0000000000000000 RDX: ffff888001000040 RSI: 0000000000000000 RDI: ffff8880190de000 RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000040 R10: ffffed100332c063 R11: ffffffff8eeded80 R12: 0000000000000000 R13: ffffffffffffffff R14: 0000000000000080 R15: 0000000000000006 FS: 00007f409b538700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000030 CR3: 000000002bec1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cfb_fillrect+0x402/0x710 drivers/video/fbdev/core/cfbfillrect.c:327 bit_clear_margins+0x299/0x4b0 drivers/video/fbdev/core/bitblit.c:224 fbcon_switch+0x8d9/0x1480 drivers/video/fbdev/core/fbcon.c:2151 redraw_screen+0x25c/0x6e0 drivers/tty/vt/vt.c:1021 vc_do_resize+0xc2a/0xee0 drivers/tty/vt/vt.c:1326 fbcon_do_set_font+0x3bd/0x8b0 drivers/video/fbdev/core/fbcon.c:2402 con_font_set drivers/tty/vt/vt.c:4667 [inline] con_font_op+0x767/0xd30 drivers/tty/vt/vt.c:4711 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:472 [inline] vt_ioctl+0x16d8/0x20f0 drivers/tty/vt/vt_ioctl.c:813 tty_ioctl+0x4f3/0x1340 drivers/tty/tty_io.c:2675 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f409bde3af9 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:00007f409b538188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f409bef7028 RCX: 00007f409bde3af9 RDX: 0000000020000400 RSI: 0000000000004b72 RDI: 0000000000000004 RBP: 00007f409be3dff7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea4eeea1f R14: 00007f409b538300 R15: 0000000000022000 Modules linked in: CR2: ffff888001000030 ---[ end trace e08de0f597fcdd6e ]--- 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+0xf1/0x150 drivers/video/fbdev/core/cfbfillrect.c:35 Code: 8d 4b 38 48 89 6b 30 48 83 c3 40 48 89 29 48 39 da 75 d5 44 89 c0 83 e0 07 85 c0 74 5f 89 c0 48 8d 14 c3 48 89 d8 48 83 c3 08 <48> 89 28 48 39 d3 75 f1 48 85 f6 0f 84 77 ff ff ff 48 8b 02 48 31 RSP: 0018:ffffc900020674f0 EFLAGS: 00010282 RAX: ffff888001000030 RBX: ffff888001000038 RCX: 0000000000000000 RDX: ffff888001000040 RSI: 0000000000000000 RDI: ffff8880190de000 RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000040 R10: ffffed100332c063 R11: ffffffff8eeded80 R12: 0000000000000000 R13: ffffffffffffffff R14: 0000000000000080 R15: 0000000000000006 FS: 00007f409b538700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff888001000030 CR3: 000000002bec1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8d 4b 38 lea 0x38(%rbx),%ecx 3: 48 89 6b 30 mov %rbp,0x30(%rbx) 7: 48 83 c3 40 add $0x40,%rbx b: 48 89 29 mov %rbp,(%rcx) e: 48 39 da cmp %rbx,%rdx 11: 75 d5 jne 0xffffffe8 13: 44 89 c0 mov %r8d,%eax 16: 83 e0 07 and $0x7,%eax 19: 85 c0 test %eax,%eax 1b: 74 5f je 0x7c 1d: 89 c0 mov %eax,%eax 1f: 48 8d 14 c3 lea (%rbx,%rax,8),%rdx 23: 48 89 d8 mov %rbx,%rax 26: 48 83 c3 08 add $0x8,%rbx * 2a: 48 89 28 mov %rbp,(%rax) <-- trapping instruction 2d: 48 39 d3 cmp %rdx,%rbx 30: 75 f1 jne 0x23 32: 48 85 f6 test %rsi,%rsi 35: 0f 84 77 ff ff ff je 0xffffffb2 3b: 48 8b 02 mov (%rdx),%rax 3e: 48 rex.W 3f: 31 .byte 0x31