syzbot


BUG: unable to handle kernel paging request in drm_fb_helper_damage_work

Status: auto-closed as invalid on 2021/05/18 08:43
Subsystems: dri
[Documentation on labels]
Reported-by: syzbot+01c1ae3d62eebced6b29@syzkaller.appspotmail.com
First crash: 1175d, last: 1164d
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 (2) kernel 1 1065d 1061d 0/26 auto-closed as invalid on 2021/09/24 01:26
upstream BUG: unable to handle kernel paging request in drm_fb_helper_damage_work (3) kernel 9 699d 892d 0/26 auto-obsoleted due to no activity on 2022/09/25 13:12

Sample crash report:
BUG: unable to handle page fault for address: fffff5200137e5fc
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 7ffd1067 P4D 7ffd1067 PUD 10ddd067 PMD 19154067 PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 9893 Comm: kworker/0:5 Not tainted 5.11.0-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:bytes_is_nonzero mm/kasan/generic.c:84 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:158 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:176 [inline]
RIP: 0010:check_memory_region+0xdb/0x180 mm/kasan/generic.c:185
Code: 80 38 00 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 <80> 38 00 74 f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c
RSP: 0018:ffffc900027cfbb0 EFLAGS: 00010296
RAX: fffff5200137e5fc RBX: fffff5200137e600 RCX: ffffffff842ddf39
RDX: fffff5200137e600 RSI: 0000000000000020 RDI: ffffc90009bf2fe0
RBP: fffff5200137e5fc R08: 0000000000000001 R09: ffffc90009bf2fff
R10: fffff5200137e5ff R11: 0000000000000000 R12: 0000000000000020
R13: ffffc90009bf2fe0 R14: ffffc9000b9c1fe0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff5200137e5fc CR3: 0000000070331000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 memcpy+0x39/0x60 mm/kasan/shadow.c:65
 memcpy include/linux/string.h:447 [inline]
 dma_buf_map_memcpy_to include/linux/dma-buf-map.h:247 [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+0x6c9/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: fffff5200137e5fc
---[ end trace 3e3cf5499948ec91 ]---
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:84 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:127 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:158 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:176 [inline]
RIP: 0010:check_memory_region+0xdb/0x180 mm/kasan/generic.c:185
Code: 80 38 00 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 <80> 38 00 74 f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c
RSP: 0018:ffffc900027cfbb0 EFLAGS: 00010296
RAX: fffff5200137e5fc RBX: fffff5200137e600 RCX: ffffffff842ddf39
RDX: fffff5200137e600 RSI: 0000000000000020 RDI: ffffc90009bf2fe0
RBP: fffff5200137e5fc R08: 0000000000000001 R09: ffffc90009bf2fff
R10: fffff5200137e5ff R11: 0000000000000000 R12: 0000000000000020
R13: ffffc90009bf2fe0 R14: ffffc9000b9c1fe0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff5200137e5fc CR3: 0000000070331000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/17 08:42 upstream f40ddce88593 052f8d9f .config console log report info ci-qemu-upstream BUG: unable to handle kernel paging request in drm_fb_helper_damage_work
2021/02/13 09:50 upstream c6d8570e4d64 98682e5e .config console log report info ci-qemu-upstream-386 BUG: unable to handle kernel paging request in drm_fb_helper_damage_work
2021/02/06 06:23 upstream 17fbcdf9f163 23a562df .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.