BUG: unable to handle page fault for address: ffff888001000018 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD e201067 P4D e201067 PUD e202067 PMD 80000000010001e1 Oops: 0003 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6767 Comm: syz-executor.4 Not tainted 5.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x87a/0x1010 drivers/video/fbdev/core/cfbimgblt.c:302 Code: ff d3 e0 09 04 24 e8 05 40 8a fd 45 39 e7 0f 87 45 ff ff ff e8 17 44 8a fd 48 8b 44 24 10 8b 14 24 48 8d 70 04 48 89 74 24 10 <89> 10 44 89 e6 44 89 ff e8 d9 3f 8a fd 45 39 e7 0f 85 07 ff ff ff RSP: 0018:ffffc900164a7558 EFLAGS: 00010212 RAX: ffff888001000018 RBX: 0000000000000000 RCX: ffffc90011413000 RDX: 0000000000000000 RSI: ffff88800100001c RDI: 0000000000000004 RBP: 0000000000000000 R08: ffff8882189b942f R09: ffff8880a66ef1df R10: 000000000000001c R11: 0000000000000000 R12: 000000000000001c R13: 0000000000000000 R14: ffff8882189b9422 R15: 000000000000001c FS: 0000000000000000(0000) GS:ffff8880ae400000(0063) knlGS:00000000f55bdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff888001000018 CR3: 00000000a8369000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1207 [inline] vga16fb_imageblit+0x693/0x2210 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x514/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0xcfe/0x1720 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x50e/0x620 drivers/video/fbdev/core/fbcon.c:1348 fbcon_scroll+0x248/0x3580 drivers/video/fbdev/core/fbcon.c:1705 con_scroll+0x5b9/0x6d0 drivers/tty/vt/vt.c:629 lf+0x26b/0x2c0 drivers/tty/vt/vt.c:1490 vc_con_write_normal drivers/tty/vt/vt.c:2806 [inline] do_con_write+0xefe/0x1dd0 drivers/tty/vt/vt.c:2910 con_write+0x22/0xb0 drivers/tty/vt/vt.c:3250 process_output_block drivers/tty/n_tty.c:595 [inline] n_tty_write+0x3ce/0xf80 drivers/tty/n_tty.c:2333 do_tty_write drivers/tty/tty_io.c:962 [inline] tty_write+0x4d9/0x870 drivers/tty/tty_io.c:1046 vfs_write+0x2b0/0x730 fs/read_write.c:584 ksys_write+0x12d/0x250 fs/read_write.c:639 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x60/0x90 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fc3549 Code: 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 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f55bd0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020001040 RDX: 00000000000001b7 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: ffff888001000018 BUG: unable to handle page fault for address: ffff888001000018 #PF: supervisor write access in kernel mode #PF: error_code(0x0003) - permissions violation PGD e201067 P4D e201067 PUD e202067 PMD 80000000010001e1 Oops: 0003 [#2] PREEMPT SMP KASAN CPU: 0 PID: 6767 Comm: syz-executor.4 Not tainted 5.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x87a/0x1010 drivers/video/fbdev/core/cfbimgblt.c:302 Code: ff d3 e0 09 04 24 e8 05 40 8a fd 45 39 e7 0f 87 45 ff ff ff e8 17 44 8a fd 48 8b 44 24 10 8b 14 24 48 8d 70 04 48 89 74 24 10 <89> 10 44 89 e6 44 89 ff e8 d9 3f 8a fd 45 39 e7 0f 85 07 ff ff ff RSP: 0018:ffffc900164a6d58 EFLAGS: 00010016 RAX: ffff888001000018 RBX: 0000000000000000 RCX: ffffc90011413000 RDX: 0000000000077700 RSI: ffff88800100001c RDI: 0000000000000004 RBP: 0000000000000000 R08: ffff8882189b943f R09: ffffffff8b596587 R10: 000000000000001c R11: 0000000000000001 R12: 000000000000001c R13: 0000000000000000 R14: ffff8882189b9432 R15: 000000000000001c FS: 0000000000000000(0000) GS:ffff8880ae400000(0063) knlGS:00000000f55bdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff888001000018 CR3: 00000000a8369000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1207 [inline] vga16fb_imageblit+0x693/0x2210 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x514/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0xcfe/0x1720 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x50e/0x620 drivers/video/fbdev/core/fbcon.c:1348 fbcon_blank+0x879/0xc30 drivers/video/fbdev/core/fbcon.c:2244 do_unblank_screen+0x25b/0x470 drivers/tty/vt/vt.c:4402 bust_spinlocks+0x5b/0xe0 lib/bust_spinlocks.c:26 oops_end+0x2b/0xf0 arch/x86/kernel/dumpstack.c:344 no_context+0x5a2/0x9f0 arch/x86/mm/fault.c:747 __bad_area_nosemaphore+0xa9/0x4f0 arch/x86/mm/fault.c:835 do_kern_addr_fault+0x5b/0x6f arch/x86/mm/fault.c:1207 handle_page_fault arch/x86/mm/fault.c:1427 [inline] exc_page_fault+0x168/0x190 arch/x86/mm/fault.c:1482 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:538 RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x87a/0x1010 drivers/video/fbdev/core/cfbimgblt.c:302 Code: ff d3 e0 09 04 24 e8 05 40 8a fd 45 39 e7 0f 87 45 ff ff ff e8 17 44 8a fd 48 8b 44 24 10 8b 14 24 48 8d 70 04 48 89 74 24 10 <89> 10 44 89 e6 44 89 ff e8 d9 3f 8a fd 45 39 e7 0f 85 07 ff ff ff RSP: 0018:ffffc900164a7558 EFLAGS: 00010212 RAX: ffff888001000018 RBX: 0000000000000000 RCX: ffffc90011413000 RDX: 0000000000000000 RSI: ffff88800100001c RDI: 0000000000000004 RBP: 0000000000000000 R08: ffff8882189b942f R09: ffff8880a66ef1df R10: 000000000000001c R11: 0000000000000000 R12: 000000000000001c R13: 0000000000000000 R14: ffff8882189b9422 R15: 000000000000001c vga_imageblit_expand drivers/video/fbdev/vga16fb.c:1207 [inline] vga16fb_imageblit+0x693/0x2210 drivers/video/fbdev/vga16fb.c:1260 soft_cursor+0x514/0xa30 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0xcfe/0x1720 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x50e/0x620 drivers/video/fbdev/core/fbcon.c:1348 fbcon_scroll+0x248/0x3580 drivers/video/fbdev/core/fbcon.c:1705 con_scroll+0x5b9/0x6d0 drivers/tty/vt/vt.c:629 lf+0x26b/0x2c0 drivers/tty/vt/vt.c:1490 vc_con_write_normal drivers/tty/vt/vt.c:2806 [inline] do_con_write+0xefe/0x1dd0 drivers/tty/vt/vt.c:2910 con_write+0x22/0xb0 drivers/tty/vt/vt.c:3250 process_output_block drivers/tty/n_tty.c:595 [inline] n_tty_write+0x3ce/0xf80 drivers/tty/n_tty.c:2333 do_tty_write drivers/tty/tty_io.c:962 [inline] tty_write+0x4d9/0x870 drivers/tty/tty_io.c:1046 vfs_write+0x2b0/0x730 fs/read_write.c:584 ksys_write+0x12d/0x250 fs/read_write.c:639 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x60/0x90 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7fc3549 Code: 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 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f55bd0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020001040 RDX: 00000000000001b7 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: ffff888001000018 ---[ end trace d1a877b9edc11336 ]--- RIP: 0010:__writel arch/x86/include/asm/io.h:71 [inline] RIP: 0010:slow_imageblit drivers/video/fbdev/core/cfbimgblt.c:178 [inline] RIP: 0010:cfb_imageblit+0x87a/0x1010 drivers/video/fbdev/core/cfbimgblt.c:302 Code: ff d3 e0 09 04 24 e8 05 40 8a fd 45 39 e7 0f 87 45 ff ff ff e8 17 44 8a fd 48 8b 44 24 10 8b 14 24 48 8d 70 04 48 89 74 24 10 <89> 10 44 89 e6 44 89 ff e8 d9 3f 8a fd 45 39 e7 0f 85 07 ff ff ff RSP: 0018:ffffc900164a7558 EFLAGS: 00010212 RAX: ffff888001000018 RBX: 0000000000000000 RCX: ffffc90011413000 RDX: 0000000000000000 RSI: ffff88800100001c RDI: 0000000000000004 RBP: 0000000000000000 R08: ffff8882189b942f R09: ffff8880a66ef1df R10: 000000000000001c R11: 0000000000000000 R12: 000000000000001c R13: 0000000000000000 R14: ffff8882189b9422 R15: 000000000000001c FS: 0000000000000000(0000) GS:ffff8880ae400000(0063) knlGS:00000000f55bdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff888001000018 CR3: 00000000a8369000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400