syzbot


WARNING in vb2_core_reqbufs

Status: auto-obsoleted due to no activity on 2022/09/04 00:41
Reported-by: syzbot+f9966a25169b6d66d61f@syzkaller.appspotmail.com
First crash: 1434d, last: 1189d

Cause bisection: introduced by (bisect log) :
commit 3b15f68e19c28a76d175f61943a8c23224afce93
Author: Dafna Hirschfeld <dafna3@gmail.com>
Date: Mon Jan 21 11:46:18 2019 +0000

  media: vicodec: Add support for resolution change event.

Crash: WARNING in vb2_core_reqbufs (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/03 21:27 16m linux-next OK log
2019/08/15 07:24 17m hverkuil@xs4all.nl git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git master OK

Sample crash report:
WARNING: CPU: 1 PID: 8082 at drivers/media/common/videobuf2/videobuf2-core.c:728 vb2_core_reqbufs+0x59b/0xf10 drivers/media/common/videobuf2/videobuf2-core.c:728
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 8082 Comm: syz-executor505 Not tainted 5.0.0-rc4-next-20190129 #21
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
 panic+0x2cb/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x48 kernel/panic.c:571
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:vb2_core_reqbufs+0x59b/0xf10 drivers/media/common/videobuf2/videobuf2-core.c:728
Code: 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 56 08 00 00 45 8b 3c 9e 31 ff 44 89 fe e8 9f 41 3d fc 45 85 ff 75 9f e8 15 40 3d fc <0f> 0b 41 bc ea ff ff ff e8 08 40 3d fc 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffff88809d8e7680 EFLAGS: 00010293
RAX: ffff88809138e3c0 RBX: 0000000000000000 RCX: ffffffff8544da11
RDX: 0000000000000000 RSI: ffffffff8544da1b RDI: 0000000000000005
RBP: ffff88809d8e77b0 R08: ffff88809138e3c0 R09: ffff88808d42d6f0
R10: ffffed1011a85ae5 R11: ffff88808d42d72f R12: 0000000000000001
R13: dffffc0000000000 R14: ffff88809d8e7728 R15: 0000000000000000
 vb2_reqbufs drivers/media/common/videobuf2/videobuf2-v4l2.c:664 [inline]
 vb2_reqbufs+0x1cb/0x210 drivers/media/common/videobuf2/videobuf2-v4l2.c:659
 v4l2_m2m_reqbufs+0x90/0x1d0 drivers/media/v4l2-core/v4l2-mem2mem.c:457
 v4l2_m2m_ioctl_reqbufs+0x6b/0x80 drivers/media/v4l2-core/v4l2-mem2mem.c:1051
 v4l_reqbufs drivers/media/v4l2-core/v4l2-ioctl.c:1932 [inline]
 v4l_reqbufs+0xad/0xe0 drivers/media/v4l2-core/v4l2-ioctl.c:1921
 __video_do_ioctl+0x805/0xd80 drivers/media/v4l2-core/v4l2-ioctl.c:2872
 video_usercopy+0x460/0x16b0 drivers/media/v4l2-core/v4l2-ioctl.c:3054
 video_ioctl2+0x2d/0x35 drivers/media/v4l2-core/v4l2-ioctl.c:3098
 v4l2_ioctl+0x156/0x1b0 drivers/media/v4l2-core/v4l2-dev.c:364
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0x107b/0x17d0 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440049
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc76fc9aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440049
RDX: 0000000020000400 RSI: 00000000c0145608 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004018d0
R13: 0000000000401960 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (219):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2019/01/29 07:57 linux-next 39ad1c1b6bb8 aa432daf .config log report syz C
ci-upstream-kasan-gce 2019/07/02 00:23 upstream 6fbc7275c7a9 907bf746 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/30 23:16 upstream 6fbc7275c7a9 699d6448 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/30 19:13 upstream 6fbc7275c7a9 699d6448 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/30 14:20 upstream 6fbc7275c7a9 7509bf36 .config log report
ci-upstream-kasan-gce-root 2019/06/30 07:53 upstream 728254541ebc 7509bf36 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/27 21:58 upstream 249155c20f9b 7509bf36 .config log report
ci-upstream-kasan-gce 2019/06/27 20:47 upstream 249155c20f9b 7509bf36 .config log report
ci-upstream-kasan-gce-root 2019/06/27 10:28 upstream 249155c20f9b 7509bf36 .config log report
ci-upstream-kasan-gce 2019/06/26 21:14 upstream 249155c20f9b 7509bf36 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/26 03:27 upstream 249155c20f9b 0a8d1a96 .config log report
ci-upstream-kasan-gce-smack-root 2019/06/24 23:03 upstream 4b972a01a7da 82c13b6b .config log report
ci-upstream-kasan-gce-smack-root 2019/06/24 21:48 upstream 4b972a01a7da 472f0082 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/23 12:29 upstream 241e39004581 3efccdd2 .config log report
ci-upstream-kasan-gce 2019/06/23 09:11 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce-root 2019/06/23 05:22 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/23 03:01 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/23 00:59 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce-smack-root 2019/06/22 22:16 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/22 18:54 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/22 14:17 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/22 11:45 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/22 10:16 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/22 00:37 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/21 19:11 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/21 09:58 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/21 08:56 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/21 02:47 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/20 04:45 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/20 03:23 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce-root 2019/06/20 02:08 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-kasan-gce-root 2019/06/19 20:59 upstream bed3c0d84e7e 34bf9440 .config log report
ci-upstream-kasan-gce-smack-root 2019/06/19 19:05 upstream bed3c0d84e7e 34bf9440 .config log report
ci-upstream-kasan-gce 2019/06/19 07:05 upstream bed3c0d84e7e 34bf9440 .config log report
ci-upstream-kasan-gce-smack-root 2019/06/18 20:20 upstream 29f785ff76b6 e3f76baa .config log report
ci-upstream-kasan-gce-smack-root 2019/06/18 12:30 upstream 29f785ff76b6 e3f76baa .config log report
ci-upstream-kasan-gce 2019/06/18 06:01 upstream 9e0babf2c06c 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/17 21:39 upstream 9e0babf2c06c 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/17 11:06 upstream 963172d9c7e8 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/17 04:29 upstream 963172d9c7e8 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/17 01:00 upstream 963172d9c7e8 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/16 10:53 upstream e01e060fe00d 442206d7 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/15 09:15 upstream 0011572c8830 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/15 07:01 upstream fd6b99fa41dd 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/14 18:37 upstream fd6b99fa41dd 442206d7 .config log report
ci-upstream-kasan-gce 2019/06/14 11:45 upstream c11fb13a117e 998ccc76 .config log report
ci-upstream-kasan-gce 2019/06/14 05:21 upstream c11fb13a117e 998ccc76 .config log report
ci-upstream-kasan-gce-root 2019/06/12 08:13 upstream aa7235483a83 ea2f4006 .config log report
ci-upstream-kasan-gce-selinux-root 2019/06/09 22:23 upstream d1fdb6d8f6a4 0159583c .config log report
ci-upstream-kasan-gce-root 2018/10/30 18:35 upstream 11743c56785c 8dbb755a .config log report
ci-upstream-kasan-gce-386 2019/06/28 20:25 upstream 556e2f6020bf 7509bf36 .config log report
ci-upstream-kasan-gce-386 2019/06/25 16:52 upstream 249155c20f9b 0a8d1a96 .config log report
ci-upstream-kasan-gce-386 2019/06/22 07:24 upstream abf02e2964b3 34bf9440 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/06/07 09:52 linux-next 3f310e51ceb1 698773cb .config log report
* Struck through repros no longer work on HEAD.