syzbot


BUG: unable to handle kernel paging request in tpg_fill_plane_buffer

Status: auto-obsoleted due to no activity on 2022/12/18 03:07
Subsystems: media ntfs3
[Documentation on labels]
Reported-by: syzbot+aa8212f63ea8ffaf3bfa@syzkaller.appspotmail.com
First crash: 1948d, last: 1578d
Cause bisection: introduced by (bisect log) :
commit f2fe89061d79706eca5c47e4efdc09bbc171e74a
Author: Helen Koike <helen.koike@collabora.com>
Date: Fri Apr 7 17:55:19 2017 +0000

  [media] vimc: Virtual Media Controller core, capture and sensor

Crash: INFO: task hung in vivid_stop_generating_vid_cap (log)
Repro: syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 35 open syzbot bugs in media subsystem 1 (1) 2019/07/24 01:39
Reminder: 28 open syzbot bugs in media subsystem 1 (1) 2019/06/27 03:53
BUG: unable to handle kernel paging request in tpg_fill_plane_buffer 0 (3) 2019/04/10 04:44
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 1414d 1687d 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 468d 969d 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 1 1519d 1519d 0/1 auto-closed as invalid on 2020/05/29 08:05
linux-4.14 BUG: unable to handle kernel paging request in tpg_fill_plane_buffer (2) 1 803d 803d 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 353d 349d 0/26 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 422d 934d 22/26 fixed on 2023/02/24 13:51
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/18 01:31 22m retest repro linux-next OK log
2022/09/08 21:27 16m retest repro linux-next error OK

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
8021q: adding VLAN 0 to HW filter on device team0
8021q: adding VLAN 0 to HW filter on device team0
BUG: unable to handle kernel paging request at ffffc900073cf340
#PF error: [WRITE]
PGD 1da93a067 P4D 1da93a067 PUD 1da93b067 PMD 1bad61067 PTE 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10163 Comm: vivid-000-vid-c Not tainted 4.20.0-rc7-next-20181224 #188
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55
Code: 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 fe
kobject: 'loop0' (00000000cecb8b38): kobject_uevent_env
RSP: 0018:ffff8881d455f4f8 EFLAGS: 00010246
RAX: ffffc900073cf340 RBX: 00000000000000f8 RCX: 00000000000000f8
RDX: 00000000000000f8 RSI: ffffc90001da3000 RDI: ffffc900073cf340
RBP: ffff8881d455f518 R08: fffff52000e79e87 R09: fffff52000e79e87
R10: fffff52000e79e86 R11: ffffc900073cf437 R12: ffffc900073cf340
R13: ffffc90001da3000 R14: dffffc0000000000 R15: ffff8881cb5a5e60
FS:  0000000000000000(0000) GS:ffff8881dac00000(0000) knlGS:0000000000000000
kobject: 'loop0' (00000000cecb8b38): fill_kobj_path: path = '/devices/virtual/block/loop0'
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc900073cf340 CR3: 00000001c0ef1000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 memcpy include/linux/string.h:352 [inline]
 tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2382 [inline]
 tpg_fill_plane_buffer+0x193f/0x44c0 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2481
 vivid_fillbuff+0x1c87/0x6620 drivers/media/platform/vivid/vivid-kthread-cap.c:467
 vivid_thread_vid_cap_tick drivers/media/platform/vivid/vivid-kthread-cap.c:718 [inline]
 vivid_thread_vid_cap+0xf00/0x2ce0 drivers/media/platform/vivid/vivid-kthread-cap.c:836
 kthread+0x35a/0x440 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Modules linked in:
CR2: ffffc900073cf340
---[ end trace 5df23b5ab40374c3 ]---
RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:55
Code: 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 fe
RSP: 0018:ffff8881d455f4f8 EFLAGS: 00010246
RAX: ffffc900073cf340 RBX: 00000000000000f8 RCX: 00000000000000f8
RDX: 00000000000000f8 RSI: ffffc90001da3000 RDI: ffffc900073cf340
RBP: ffff8881d455f518 R08: fffff52000e79e87 R09: fffff52000e79e87
R10: fffff52000e79e86 R11: ffffc900073cf437 R12: ffffc900073cf340
R13: ffffc90001da3000 R14: dffffc0000000000 R15: ffff8881cb5a5e60
FS:  0000000000000000(0000) GS:ffff8881dac00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc900073cf340 CR3: 00000001c0ef1000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/25 12:36 linux-next 6a1d293238c1 8a41a0ad .config console log report syz ci-upstream-linux-next-kasan-gce-root
2019/12/01 21:06 upstream b94ae8ad9fe7 a76bf83f .config console log report ci-upstream-kasan-gce-root
2019/08/16 16:35 upstream 329120423947 8fd428a1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/09 23:13 upstream 38e7571c07be 12365b99 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/04 12:51 upstream 1c163f4c7b3f 7c693b52 .config console log report ci-upstream-kasan-gce-root
2019/02/27 18:37 upstream 7d762d69145a 083cfd0e .config console log report ci-upstream-kasan-gce
2019/02/26 09:36 upstream 7d762d69145a 8022bafd .config console log report ci-upstream-kasan-gce-selinux-root
2019/02/19 10:10 upstream b5372fe5dc84 59f36113 .config console log report ci-upstream-kasan-gce-root
2019/02/11 17:56 upstream d13937116f1e 73f5f452 .config console log report ci-upstream-kasan-gce
2019/02/02 21:30 upstream cd984a5be215 c198d5dd .config console log report ci-upstream-kasan-gce-selinux-root
2018/12/05 16:25 upstream 0072a0c14d5b ac6c0578 .config console log report ci-upstream-kasan-gce-selinux-root
2018/11/27 03:53 upstream 6f8b52ba442c ac912200 .config console log report ci-upstream-kasan-gce-smack-root
2019/06/30 01:40 upstream 728254541ebc 7509bf36 .config console log report ci-upstream-kasan-gce-386
2019/06/25 14:59 upstream 4b972a01a7da 82c13b6b .config console log report ci-upstream-kasan-gce-386
2019/03/04 12:48 upstream 1c163f4c7b3f 7c693b52 .config console log report ci-upstream-kasan-gce-386
2019/02/02 21:35 linux-next dc4c89997735 c198d5dd .config console log report ci-upstream-linux-next-kasan-gce-root
2018/12/25 07:20 linux-next 6a1d293238c1 8a41a0ad .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.