syzbot


BUG: unable to handle kernel paging request in drm_fb_helper_damage_work (2)

Status: auto-closed as invalid on 2021/09/24 01:26
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+545dc60af42828d1e70b@syzkaller.appspotmail.com
First crash: 1256d, last: 1256d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: unable to handle kernel paging request in drm_fb_helper_damage_work (2) 1 (2) 2021/05/31 09:28
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in drm_fb_helper_damage_work (3) kernel 9 889d 1083d 0/28 auto-obsoleted due to no activity on 2022/09/25 13:12
upstream BUG: unable to handle kernel paging request in drm_fb_helper_damage_work dri 3 1355d 1362d 0/28 auto-closed as invalid on 2021/05/18 08:43

Sample crash report:
BUG: unable to handle page fault for address: ffffc9000dc68008
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 11000067 P4D 11000067 PUD 111b3067 PMD 1ba2c067 PTE 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 2 PID: 16890 Comm: kworker/2:36 Not tainted 5.13.0-rc3-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: 8c fd 49 89 dd 31 ff 41 83 e5 02 4c 89 ee e8 c4 c2 8c fd 4d 85 ed 75 2e e8 9a ba 8c fd 48 89 e9 48 89 df 4c 89 e6 48 c1 e9 02 <f3> a5 40 f6 c5 02 74 02 66 a5 40 f6 c5 01 74 01 a4 5b 5d 41 5c 41
RSP: 0018:ffffc9000e73fbc8 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffffc9000dc68008 RCX: 00000000000000fe
RDX: ffff888015340000 RSI: ffffc9000bdd9008 RDI: ffffc9000dc68008
RBP: 00000000000003f8 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff83e81e1c R11: 0000000000000000 R12: ffffc9000bdd9008
R13: 0000000000000000 R14: ffffc9000bdd9008 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000dc68008 CR3: 000000006c062000 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/0x1600 kernel/workqueue.c:2276
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2422
 kthread+0x3b1/0x4a0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
CR2: ffffc9000dc68008
---[ end trace 7f8625a9b15be223 ]---
RIP: 0010:rep_movs arch/x86/lib/iomem.c:12 [inline]
RIP: 0010:memcpy_toio+0x83/0xe0 arch/x86/lib/iomem.c:57
Code: 8c fd 49 89 dd 31 ff 41 83 e5 02 4c 89 ee e8 c4 c2 8c fd 4d 85 ed 75 2e e8 9a ba 8c fd 48 89 e9 48 89 df 4c 89 e6 48 c1 e9 02 <f3> a5 40 f6 c5 02 74 02 66 a5 40 f6 c5 01 74 01 a4 5b 5d 41 5c 41
RSP: 0018:ffffc9000e73fbc8 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffffc9000dc68008 RCX: 00000000000000fe
RDX: ffff888015340000 RSI: ffffc9000bdd9008 RDI: ffffc9000dc68008
RBP: 00000000000003f8 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff83e81e1c R11: 0000000000000000 R12: ffffc9000bdd9008
R13: 0000000000000000 R14: ffffc9000bdd9008 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000dc68008 CR3: 000000006c062000 CR4: 0000000000152ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/27 01:25 upstream 7ac3a1c1ae51 858ea628 .config console log report info ci-qemu-upstream-386 BUG: unable to handle kernel paging request in drm_fb_helper_damage_work
* Struck through repros no longer work on HEAD.