syzbot


WARNING in __vb2_queue_cancel

Status: upstream: reported C repro on 2018/10/29 17:28
Reported-by: syzbot+736c3aae4af7b50d9683@syzkaller.appspotmail.com
First crash: 1430d, last: 1038d

Cause bisection: the cause commit could be any of (bisect log):
  8b426dc54cf4 bonding: remove hardcoded value
  4493b81bea24 bonding: initialize work-queues during creation of bond
  ec891c8b8da2 bonding: remove "port-moved" state that was never implemented
  dc9c4d0fe023 bonding: reduce scope of some global variables

Fix bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in __vb2_queue_cancel C inconclusive 16 841d 1257d 0/1 upstream: reported C repro on 2019/04/20 12:06
linux-4.19 WARNING in __vb2_queue_cancel C done 11 1040d 1252d 1/1 fixed on 2019/12/23 10:03
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/12 11:27 19m upstream OK log
2022/09/12 06:27 21m upstream OK log
2022/09/12 02:27 19m upstream OK log
2022/09/11 23:27 18m upstream OK log
2022/09/11 19:27 18m upstream OK log
2022/09/11 15:27 18m upstream OK log
2022/09/11 11:27 18m upstream OK log
2022/09/11 08:27 18m upstream OK log
2022/09/10 01:27 20m upstream OK log
2022/09/09 22:27 20m upstream OK log
2022/09/09 19:27 20m upstream OK log
2022/09/09 13:27 21m upstream OK log
2022/09/09 10:27 20m upstream OK log
2022/09/09 06:27 19m upstream OK log
2022/09/09 02:27 18m upstream OK log
2022/09/08 22:27 19m upstream OK log
2022/09/08 18:27 19m upstream OK log
2022/09/08 03:27 19m upstream OK log
2022/09/07 23:27 19m upstream OK log
2022/09/07 20:27 18m upstream OK log
2022/09/07 17:27 19m upstream OK log
2022/09/07 17:27 18m upstream OK log
2022/09/07 15:27 16m linux-next error
2022/09/07 13:27 19m upstream OK log
2022/09/07 11:27 18m upstream OK log
2022/09/07 09:27 17m linux-next error
2022/09/07 08:27 19m upstream OK log
2022/09/07 07:27 17m upstream OK log
2022/09/07 05:27 17m linux-next error
2022/09/07 04:27 19m upstream OK log
2022/09/07 01:27 16m linux-next error
2022/09/07 00:27 17m upstream OK log
2022/09/06 19:27 16m linux-next error
2022/09/06 18:27 18m upstream OK log
2022/09/06 15:27 17m linux-next error
2022/09/06 14:27 18m upstream OK log
2022/09/06 09:27 18m upstream OK log
2022/09/04 02:27 19m upstream OK log
2022/09/03 22:27 19m upstream OK log
2022/09/03 18:27 18m upstream OK log
2022/09/03 12:27 18m upstream OK log
2022/09/03 08:27 18m upstream OK log
2022/09/03 03:27 18m upstream OK log
2019/08/16 10:20 13m hverkuil@xs4all.nl patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git master report log
2019/08/14 21:30 18m hverkuil@xs4all.nl patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git master OK
2019/08/14 14:49 0m hverkuil@xs4all.nl patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git master error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 9525 at drivers/media/common/videobuf2/videobuf2-core.c:1882 __vb2_queue_cancel.cold+0x11/0x20f drivers/media/common/videobuf2/videobuf2-core.c:1882
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 9525 Comm: syz-executor886 Not tainted 5.3.0-rc4-next-20190814 #66
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+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2dc/0x755 kernel/panic.c:220
 __warn.cold+0x20/0x4c kernel/panic.c:584
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:__vb2_queue_cancel.cold+0x11/0x20f drivers/media/common/videobuf2/videobuf2-core.c:1882
Code: 71 ff ff e9 8f 70 ff ff e8 e6 f6 df fc eb bb e8 df f6 df fc e9 4d ff ff ff e8 c5 19 a5 fc 48 c7 c7 40 1a 27 88 e8 cd 8f 8e fc <0f> 0b 48 8b 45 d0 48 05 28 02 00 00 48 89 45 88 48 c1 e8 03 48 89
RSP: 0018:ffff88808b8f7ac0 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815bb8d6 RDI: ffffed101171ef4a
RBP: ffff88808b8f7b38 R08: 0000000000000024 R09: ffffed1015d260d9
R10: ffffed1015d260d8 R11: ffff8880ae9306c7 R12: ffff88809ee4765c
R13: ffff88809ee476f0 R14: ffff88809ee47418 R15: ffff88809ee41550
 vb2_core_streamoff+0x60/0x150 drivers/media/common/videobuf2/videobuf2-core.c:2038
 __vb2_cleanup_fileio+0x78/0x170 drivers/media/common/videobuf2/videobuf2-core.c:2575
 vb2_core_queue_release+0x20/0x80 drivers/media/common/videobuf2/videobuf2-core.c:2302
 vb2_queue_release drivers/media/common/videobuf2/videobuf2-v4l2.c:868 [inline]
 _vb2_fop_release+0x1cf/0x2a0 drivers/media/common/videobuf2/videobuf2-v4l2.c:1041
 vb2_fop_release+0x75/0xc0 drivers/media/common/videobuf2/videobuf2-v4l2.c:1055
 vivid_fop_release+0x18e/0x450 drivers/media/platform/vivid/vivid-core.c:475
 v4l2_release+0x21f/0x390 drivers/media/v4l2-core/v4l2-dev.c:452
 __fput+0x2ff/0x890 fs/file_table.c:280
 ____fput+0x16/0x20 fs/file_table.c:313
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x92f/0x2e50 kernel/exit.c:879
 do_group_exit+0x135/0x360 kernel/exit.c:983
 __do_sys_exit_group kernel/exit.c:994 [inline]
 __se_sys_exit_group kernel/exit.c:992 [inline]
 __x64_sys_exit_group+0x44/0x50 kernel/exit.c:992
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x443b88
Code: 00 00 be 3c 00 00 00 eb 19 66 0f 1f 84 00 00 00 00 00 48 89 d7 89 f0 0f 05 48 3d 00 f0 ff ff 77 21 f4 48 89 d7 44 89 c0 0f 05 <48> 3d 00 f0 ff ff 76 e0 f7 d8 64 41 89 01 eb d8 0f 1f 84 00 00 00
RSP: 002b:00007fffdd1286a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000443b88
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004c34f0 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 000000000000000f R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d5180 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1009):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2019/08/15 20:27 linux-next 17da61ae48ec 0d298d6b .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/06/12 23:30 linux-next 81a72c79224f 794a1ad7 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/04/20 14:36 linux-next 3f018f4a019a b0e8efcb .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/01/03 17:41 linux-next a4983672f9ca 66fcd29b .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/11/03 11:18 linux-next 25e9471b6a27 8bd6bd63 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2018/11/03 04:43 linux-next 25e9471b6a27 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-root 2019/11/22 20:58 upstream 81429eb8d9ca 598ca6c8 .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/08/15 18:06 upstream 41de59634046 0d298d6b .config log report syz C
ci-upstream-kasan-gce 2019/08/15 18:04 upstream 41de59634046 0d298d6b .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/08/15 18:03 upstream 41de59634046 0d298d6b .config log report syz C
ci-upstream-kasan-gce-root 2019/08/15 18:02 upstream 41de59634046 0d298d6b .config log report syz C
ci-upstream-kasan-gce 2019/06/05 05:32 upstream 788a024921c4 bfb4a51e .config log report syz C
ci-upstream-kasan-gce-root 2019/06/03 19:02 upstream f2c7c76c5d0a 63bf051f .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/06/03 17:39 upstream f2c7c76c5d0a 63bf051f .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/06/03 17:36 upstream f2c7c76c5d0a 63bf051f .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/04/20 12:07 upstream 371dd432ab39 b0e8efcb .config log report syz C
ci-upstream-kasan-gce-root 2019/04/20 11:22 upstream 371dd432ab39 b0e8efcb .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/04/20 11:22 upstream 371dd432ab39 b0e8efcb .config log report syz C
ci-upstream-kasan-gce 2019/04/20 11:22 upstream 371dd432ab39 b0e8efcb .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/01/16 18:29 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce-root 2019/01/16 18:13 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/01/16 18:13 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce 2019/01/16 17:51 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/01/04 18:52 upstream 96d4f267e40f 0127e3ba .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/01/04 09:11 upstream 645ff1e8e704 7da23925 .config log report syz C
ci-upstream-kasan-gce 2019/01/03 17:08 upstream 645ff1e8e704 66fcd29b .config log report syz C
ci-upstream-kasan-gce-root 2019/01/03 16:51 upstream 645ff1e8e704 66fcd29b .config log report syz C
ci-upstream-kasan-gce-selinux-root 2018/11/05 04:07 upstream 4710e78940d8 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-smack-root 2018/11/04 21:54 upstream 71e56028173b 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-root 2018/11/04 18:33 upstream 71e56028173b 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-smack-root 2018/11/04 16:56 upstream 71e56028173b 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce 2018/11/03 18:19 upstream 5f21585384a4 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-root 2018/11/03 17:34 upstream 5f21585384a4 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-smack-root 2018/11/03 13:46 upstream 5f21585384a4 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-smack-root 2018/11/03 11:21 upstream 5f21585384a4 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce 2018/11/03 05:07 upstream 8adcc59974b8 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce 2018/10/29 16:17 upstream 9f51ae62c84a 7df9db2e .config log report syz C
ci-upstream-kasan-gce-386 2019/11/22 20:54 upstream 81429eb8d9ca 598ca6c8 .config log report syz C
ci-upstream-kasan-gce-386 2019/08/15 18:03 upstream 41de59634046 0d298d6b .config log report syz C
ci-upstream-kasan-gce-386 2019/04/20 11:22 upstream 371dd432ab39 b0e8efcb .config log report syz C
ci-upstream-kasan-gce-386 2019/01/16 19:13 upstream 47bfa6d9dc8c d538790b .config log report syz C
ci-upstream-kasan-gce-386 2019/01/03 22:12 upstream 645ff1e8e704 66fcd29b .config log report syz C
ci-upstream-kasan-gce-386 2018/11/03 22:51 upstream 83650fd58a93 8bd6bd63 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2019/11/25 17:38 upstream 219d54332a09 371caf77 .config log report
ci-upstream-kasan-gce-smack-root 2019/11/24 07:16 upstream 6b8a79467876 598ca6c8 .config log report
ci-upstream-kasan-gce 2019/11/20 17:23 upstream c74386d50fba f4b7ed07 .config log report
ci-upstream-kasan-gce-selinux-root 2019/11/18 20:48 upstream af42d3466bdc 1daed50a .config log report
ci-upstream-kasan-gce-selinux-root 2019/11/13 04:40 upstream 100d46bd72ec 048f2d49 .config log report
ci-upstream-kasan-gce 2019/11/12 17:32 upstream de620fb99ef2 048f2d49 .config log report
ci-upstream-kasan-gce-smack-root 2019/11/11 21:49 upstream 31f4f5b495a6 048f2d49 .config log report
ci-upstream-kasan-gce-smack-root 2019/11/11 05:53 upstream 9805a68371ce dc438b91 .config log report
ci-upstream-kasan-gce 2019/11/09 12:40 upstream 6737e7634951 dc438b91 .config log report
ci-upstream-kasan-gce-root 2019/11/09 06:16 upstream 6737e7634951 dc438b91 .config log report
ci-upstream-kasan-gce 2019/11/08 17:41 upstream 847120f859cc 1e35461e .config log report
ci-upstream-kasan-gce 2019/11/08 03:58 upstream 847120f859cc f39aff9e .config log report
ci-upstream-kasan-gce-smack-root 2019/11/07 21:04 upstream 4dd58158254c f39aff9e .config log report
ci-upstream-kasan-gce-smack-root 2019/11/07 18:19 upstream 4dd58158254c f39aff9e .config log report
ci-upstream-kasan-gce 2019/11/05 01:23 upstream a99d8080aaf3 76630fc9 .config log report
ci-upstream-kasan-gce 2019/11/04 01:09 upstream a99d8080aaf3 b35fad31 .config log report
ci-upstream-kasan-gce-smack-root 2019/11/03 20:54 upstream 56cfd2507d3e c9610487 .config log report
ci-upstream-kasan-gce-smack-root 2019/11/03 10:54 upstream 9d2345057538 a41ca8fa .config log report
ci-upstream-kasan-gce-smack-root 2019/11/01 17:09 upstream e472c64aa4fa a41ca8fa .config log report
ci-upstream-kasan-gce 2019/11/01 03:52 upstream e472c64aa4fa a41ca8fa .config log report
ci-upstream-kasan-gce-selinux-root 2019/10/31 05:09 upstream 320000e72ec0 a41ca8fa .config log report
ci-upstream-kasan-gce-root 2019/10/30 20:29 upstream 320000e72ec0 5ea87a66 .config log report
ci-upstream-kasan-gce-smack-root 2019/10/30 18:30 upstream 320000e72ec0 5ea87a66 .config log report
ci-upstream-kasan-gce 2019/10/30 04:37 upstream 23fdb198ae81 5ea87a66 .config log report
ci-upstream-kasan-gce-smack-root 2019/10/29 22:52 upstream 23fdb198ae81 5ea87a66 .config log report
ci-upstream-kasan-gce 2019/10/27 21:11 upstream d6d5df1db6e9 25bb509e .config log report
ci-upstream-kasan-gce-smack-root 2019/10/27 08:09 upstream 5a1e843c66fa 25bb509e .config log report
ci-upstream-kasan-gce-smack-root 2019/10/26 20:32 upstream f877bee5ea0b 25bb509e .config log report
ci-upstream-kasan-gce 2019/10/23 04:11 upstream 3b7c59a1950c d0686497 .config log report
ci-upstream-kasan-gce 2019/10/20 09:31 upstream 531e93d11470 8c88c9c1 .config log report
ci-upstream-kasan-gce-root 2019/10/19 20:48 upstream 998d75510e37 8c88c9c1 .config log report
ci-upstream-kasan-gce-smack-root 2019/10/19 13:49 upstream b9959c7a347d 8c88c9c1 .config log report
ci-upstream-kasan-gce-smack-root 2019/10/19 07:57 upstream b9959c7a347d 8c88c9c1 .config log report
ci-upstream-kasan-gce 2019/10/17 12:26 upstream bc88f85c6c09 8c88c9c1 .config log report
ci-upstream-kasan-gce-selinux-root 2019/10/14 06:48 upstream d4615e5a4680 2f661ec4 .config log report
ci-upstream-kasan-gce 2019/10/13 01:19 upstream 48acba989ed5 426631dd .config log report
ci-upstream-kasan-gce-selinux-root 2019/10/12 07:29 upstream 9e208aa06c21 426631dd .config log report
ci-upstream-kasan-gce 2019/10/11 23:48 upstream 9e208aa06c21 426631dd .config log report
ci-upstream-kasan-gce-smack-root 2019/10/10 20:30 upstream fb20da6af705 a4efa8c0 .config log report
ci-upstream-kasan-gce-smack-root 2019/10/10 11:03 upstream 8a8c600de5dc a4efa8c0 .config log report
ci-upstream-kasan-gce 2019/10/10 01:51 upstream 8a8c600de5dc c4b9981b .config log report
ci-upstream-kasan-gce 2019/10/09 12:22 upstream e3280b54afed 312c6a5a .config log report
ci-upstream-kasan-gce 2019/10/08 21:36 upstream eda57a0e4299 b1ebbfef .config log report
ci-upstream-kasan-gce-386 2019/11/24 18:43 upstream 6b8a79467876 598ca6c8 .config log report
ci-upstream-kasan-gce-386 2019/11/23 15:26 upstream 2027cabe6afe 598ca6c8 .config log report
ci-upstream-kasan-gce-386 2019/11/16 06:30 upstream eb70e26cd79d cdac920b .config log report
ci-upstream-net-kasan-gce 2019/09/24 23:55 net-next b41dae061bbd 0942eab8 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/11/11 02:38 linux-next 5591cf003452 dc438b91 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/10/25 18:46 linux-next 139c2d13c258 c2e837da .config log report
ci-upstream-linux-next-kasan-gce-root 2019/10/25 16:13 linux-next 139c2d13c258 c2e837da .config log report
ci-upstream-linux-next-kasan-gce-root 2019/10/14 15:45 linux-next 4eeb5abd245d 05ad7292 .config log report
ci-upstream-linux-next-kasan-gce-root 2019/10/10 05:59 linux-next 4a9e93dbc796 c4b9981b .config log report
* Struck through repros no longer work on HEAD.