BUG: unable to handle page fault for address: fffff52000a25ab0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 17fff5067 P4D 17fff5067 PUD 1eab4067 PMD 100bfc067 PTE 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 3 UID: 0 PID: 6906 Comm: syz.2.214 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline] RIP: 0010:fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline] RIP: 0010:fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline] RIP: 0010:fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline] RIP: 0010:sys_imageblit+0x16c1/0x1d60 drivers/video/fbdev/core/sysimgblt.c:24 Code: 7c cd 00 48 89 fe 48 c1 ee 03 80 3c 1e 00 0f 85 aa 05 00 00 4d 63 f6 48 8b 8c cc 88 00 00 00 4f 8d 34 f7 4c 89 f6 48 c1 ee 03 <80> 3c 1e 00 0f 85 1b 03 00 00 49 89 0e 41 89 c6 8d 4d fd 41 c1 ee RSP: 0018:ffffc900038a7740 EFLAGS: 00010a02 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff92000a25ab0 RDI: ffffc900038a77c8 RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801eee1671 R13: ffffc900038a77c8 R14: ffffc9000512d580 R15: ffffc9000512d580 FS: 00007f9cf59066c0(0000) GS:ffff8880d476c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff52000a25ab0 CR3: 00000000584b4000 CR4: 0000000000352ef0 Call Trace: drm_fbdev_shmem_defio_imageblit+0x20/0x130 drivers/gpu/drm/drm_fbdev_shmem.c:39 soft_cursor+0x524/0xa10 drivers/video/fbdev/core/softcursor.c:74 bit_cursor+0xcf1/0x14d0 drivers/video/fbdev/core/bitblit.c:372 fbcon_cursor+0x43c/0x5e0 drivers/video/fbdev/core/fbcon.c:1410 set_cursor drivers/tty/vt/vt.c:1010 [inline] set_cursor+0x1db/0x250 drivers/tty/vt/vt.c:1001 con_flush_chars drivers/tty/vt/vt.c:3848 [inline] con_write+0x8c/0xb0 drivers/tty/vt/vt.c:3779 process_output_block drivers/tty/n_tty.c:557 [inline] n_tty_write+0x440/0x1200 drivers/tty/n_tty.c:2366 iterate_tty_write drivers/tty/tty_io.c:1008 [inline] file_tty_write.isra.0+0x4ca/0x8f0 drivers/tty/tty_io.c:1056 new_sync_write fs/read_write.c:575 [inline] vfs_write+0x6af/0x1040 fs/read_write.c:667 ksys_write+0x12a/0x250 fs/read_write.c:719 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9cf49a94d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9cf5906028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9cf4c25fa0 RCX: 00007f9cf49a94d9 RDX: 0000000000001006 RSI: 00002000000007c0 RDI: 0000000000000005 RBP: 00007f9cf4a3804e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9cf4c26038 R14: 00007f9cf4c25fa0 R15: 00007fff14435e98 Modules linked in: CR2: fffff52000a25ab0 ---[ end trace 0000000000000000 ]--- RIP: 0010:fb_write_offset drivers/video/fbdev/core/sysmem.h:30 [inline] RIP: 0010:fb_bitmap_2ppw drivers/video/fbdev/core/fb_imageblit.h:364 [inline] RIP: 0010:fb_bitmap_imageblit drivers/video/fbdev/core/fb_imageblit.h:462 [inline] RIP: 0010:fb_imageblit drivers/video/fbdev/core/fb_imageblit.h:492 [inline] RIP: 0010:sys_imageblit+0x16c1/0x1d60 drivers/video/fbdev/core/sysimgblt.c:24 Code: 7c cd 00 48 89 fe 48 c1 ee 03 80 3c 1e 00 0f 85 aa 05 00 00 4d 63 f6 48 8b 8c cc 88 00 00 00 4f 8d 34 f7 4c 89 f6 48 c1 ee 03 <80> 3c 1e 00 0f 85 1b 03 00 00 49 89 0e 41 89 c6 8d 4d fd 41 c1 ee RSP: 0018:ffffc900038a7740 EFLAGS: 00010a02 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 1ffff92000a25ab0 RDI: ffffc900038a77c8 RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801eee1671 R13: ffffc900038a77c8 R14: ffffc9000512d580 R15: ffffc9000512d580 FS: 00007f9cf59066c0(0000) GS:ffff8880d476c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff52000a25ab0 CR3: 00000000584b4000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 7c cd jl 0xffffffcf 2: 00 48 89 add %cl,-0x77(%rax) 5: fe 48 c1 decb -0x3f(%rax) 8: ee out %al,(%dx) 9: 03 80 3c 1e 00 0f add 0xf001e3c(%rax),%eax f: 85 aa 05 00 00 4d test %ebp,0x4d000005(%rdx) 15: 63 f6 movsxd %esi,%esi 17: 48 8b 8c cc 88 00 00 mov 0x88(%rsp,%rcx,8),%rcx 1e: 00 1f: 4f 8d 34 f7 lea (%r15,%r14,8),%r14 23: 4c 89 f6 mov %r14,%rsi 26: 48 c1 ee 03 shr $0x3,%rsi * 2a: 80 3c 1e 00 cmpb $0x0,(%rsi,%rbx,1) <-- trapping instruction 2e: 0f 85 1b 03 00 00 jne 0x34f 34: 49 89 0e mov %rcx,(%r14) 37: 41 89 c6 mov %eax,%r14d 3a: 8d 4d fd lea -0x3(%rbp),%ecx 3d: 41 rex.B 3e: c1 .byte 0xc1 3f: ee out %al,(%dx)