syzbot


BUG: unable to handle kernel paging request in tpg_fill_plane_buffer

Status: auto-closed as invalid on 2020/05/29 08:05
Reported-by: syzbot+f4621155d60f5d40a42d@syzkaller.appspotmail.com
First crash: 1598d, last: 1598d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: unable to handle kernel paging request in tpg_fill_plane_buffer 4 1493d 1766d 0/1 auto-closed as invalid on 2020/09/11 05:35
linux-4.19 BUG: unable to handle kernel paging request in tpg_fill_plane_buffer (2) syz error 8 548d 1048d 0/1 upstream: reported syz repro on 2021/08/02 00:51
linux-4.14 BUG: unable to handle kernel paging request in tpg_fill_plane_buffer (2) 1 882d 882d 0/1 auto-closed as invalid on 2022/05/15 07:48
upstream BUG: unable to handle kernel paging request in tpg_fill_plane_buffer (2) media 1 432d 428d 0/27 auto-obsoleted due to no activity on 2023/07/09 12:46
upstream KASAN: vmalloc-out-of-bounds Write in tpg_fill_plane_buffer (2) media C inconclusive done 14 502d 1014d 22/27 fixed on 2023/02/24 13:51
upstream BUG: unable to handle kernel paging request in tpg_fill_plane_buffer media ntfs3 syz done 17 1658d 2027d 0/27 auto-obsoleted due to no activity on 2022/12/18 03:07

Sample crash report:
ptrace attach of "/root/syz-executor.2"[17477] was attempted by "/root/syz-executor.2"[17484]
binder_alloc: binder_alloc_mmap_handler: 17483 20ffb000-20fff000 already mapped failed -16
BUG: unable to handle kernel paging request at ffffc9000a51a320
IP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54
PGD 21f832067 P4D 21f832067 PUD aa950067 PMD 8bc1b067 PTE 0
Oops: 0002 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 17493 Comm: vivid-000-vid-c Not tainted 4.14.169-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88805f8564c0 task.stack: ffff88805a138000
RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54
RSP: 0018:ffff88805a13f828 EFLAGS: 00010246
RAX: ffffc9000a51a320 RBX: ffffc90001d9d000 RCX: 0000000000000080
RDX: 0000000000000080 RSI: ffffc90001d9d000 RDI: ffffc9000a51a320
RBP: ffff88805a13f848 R08: 1ffff920014a3464 R09: fffff520014a3474
R10: fffff520014a3473 R11: ffffc9000a51a39f R12: 0000000000000080
R13: ffffc9000a51a320 R14: ffffc90001d9d000 R15: ffff88809e6b5440
FS:  0000000000000000(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000a51a320 CR3: 000000006520d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 memcpy include/linux/string.h:347 [inline]
 tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2353 [inline]
 tpg_fill_plane_buffer+0xc27/0x2af0 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2441
 vivid_fillbuff+0x186c/0x5f70 drivers/media/platform/vivid/vivid-kthread-cap.c:485
 vivid_thread_vid_cap_tick drivers/media/platform/vivid/vivid-kthread-cap.c:719 [inline]
 vivid_thread_vid_cap+0x8d5/0x1d90 drivers/media/platform/vivid/vivid-kthread-cap.c:821
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 90 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 <f3> a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 
RIP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 RSP: ffff88805a13f828
CR2: ffffc9000a51a320
---[ end trace 4fb7687efb486181 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/30 08:05 linux-4.14.y 9fa690a2a016 5ed23f9a .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.