BUG: unable to handle page fault for address: ffffc9000cb1f000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 10c00067 P4D 10c00067 PUD 10db0067 PMD 19af1067 PTE 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 3 PID: 3071 Comm: kworker/3:2 Not tainted 5.11.0-rc7-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: events drm_fb_helper_damage_work RIP: 0010:rep_movs arch/x86/lib/iomem.c:12 [inline] RIP: 0010:memcpy_toio+0x83/0xe0 arch/x86/lib/iomem.c:57 Code: 9a fd 49 89 dd 31 ff 41 83 e5 02 4c 89 ee e8 24 df 9a fd 4d 85 ed 75 2e e8 2a d7 9a fd 48 89 e9 48 89 df 4c 89 e6 48 c1 e9 02 a5 40 f6 c5 02 74 02 66 a5 40 f6 c5 01 74 01 a4 5b 5d 41 5c 41 RSP: 0018:ffffc9000cb8fbc8 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffffc9000cb1f000 RCX: 0000000000000400 RDX: ffff888012d68000 RSI: ffffc9000c330000 RDI: ffffc9000cb1f000 RBP: 0000000000001000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff83d7fd6c R11: 0000000000000000 R12: ffffc9000c330000 R13: 0000000000000000 R14: ffffc9000c330000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000cb1f000 CR3: 000000006e50b000 CR4: 0000000000152ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dma_buf_map_memcpy_to include/linux/dma-buf-map.h:245 [inline] drm_fb_helper_damage_blit_real drivers/gpu/drm/drm_fb_helper.c:388 [inline] drm_fb_helper_damage_blit drivers/gpu/drm/drm_fb_helper.c:419 [inline] drm_fb_helper_damage_work+0x733/0xac0 drivers/gpu/drm/drm_fb_helper.c:450 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: ffffc9000cb1f000 ---[ end trace 6011a6ad6a4399d8 ]--- RIP: 0010:rep_movs arch/x86/lib/iomem.c:12 [inline] RIP: 0010:memcpy_toio+0x83/0xe0 arch/x86/lib/iomem.c:57 Code: 9a fd 49 89 dd 31 ff 41 83 e5 02 4c 89 ee e8 24 df 9a fd 4d 85 ed 75 2e e8 2a d7 9a fd 48 89 e9 48 89 df 4c 89 e6 48 c1 e9 02 a5 40 f6 c5 02 74 02 66 a5 40 f6 c5 01 74 01 a4 5b 5d 41 5c 41 RSP: 0018:ffffc9000cb8fbc8 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffffc9000cb1f000 RCX: 0000000000000400 RDX: ffff888012d68000 RSI: ffffc9000c330000 RDI: ffffc9000cb1f000 RBP: 0000000000001000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff83d7fd6c R11: 0000000000000000 R12: ffffc9000c330000 R13: 0000000000000000 R14: ffffc9000c330000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffc9000cb1f000 CR3: 000000006e50b000 CR4: 0000000000152ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400