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: 1304d, last: 912d

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 716d 1132d 0/1 upstream: reported C repro on 2019/04/20 12:06
linux-4.19 WARNING in __vb2_queue_cancel C done 11 915d 1127d 1/1 fixed on 2019/12/23 10:03
Patch testing requests:
Created Duration User Patch Repo Result
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: 0 PID: 8980 at drivers/media/common/videobuf2/videobuf2-core.c:1882 __vb2_queue_cancel+0x8b6/0xc80 drivers/media/common/videobuf2/videobuf2-core.c:1882
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 8980 Comm: syz-executor731 Not tainted 5.4.0-rc8-syzkaller #0
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+0x197/0x210 lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x35 kernel/panic.c:582
 report_bug+0x289/0x300 lib/bug.c:195
 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+0x8b6/0xc80 drivers/media/common/videobuf2/videobuf2-core.c:1882
Code: 1e fb ff ff 48 89 df e8 d8 e9 d7 fc e9 11 fb ff ff e8 5e 7e 9c fc 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 4a 7e 9c fc <0f> 0b 48 8b 45 d0 48 05 28 02 00 00 48 89 c2 48 89 45 88 48 b8 00
RSP: 0018:ffff8880a0077ac0 EFLAGS: 00010293
RAX: ffff88809865a700 RBX: 0000000000000001 RCX: ffffffff84d6d0ce
RDX: 0000000000000000 RSI: ffffffff84d6d866 RDI: 0000000000000005
RBP: ffff8880a0077b38 R08: ffff88809865a700 R09: ffffed104306ce88
R10: ffffed104306ce87 R11: ffff88821836743f R12: ffff88821836743c
R13: ffff8882183674d0 R14: ffff8882183671f8 R15: ffff8882183613f0
 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+0x904/0x2e60 kernel/exit.c:817
 do_group_exit+0x135/0x360 kernel/exit.c:921
 __do_sys_exit_group kernel/exit.c:932 [inline]
 __se_sys_exit_group kernel/exit.c:930 [inline]
 __x64_sys_exit_group+0x44/0x50 kernel/exit.c:930
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x443b78
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:00007ffd73590c58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000443b78
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-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-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-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