syzbot


possible deadlock in __loop_clr_fd (2)
Status: upstream: reported C repro on 2021/07/08 01:27
Reported-by: syzbot+f61766d5763f9e7a118f@syzkaller.appspotmail.com
Fix commit: 1c500ad70638 loop: reduce the loop_ctl_mutex scope
Patched on: [ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-riscv64 ci-upstream-bpf-next-kasan-gce ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 75d, last: 2h09m

Cause bisection: introduced by (bisect log) [no-op commit]:
commit 86f0a011e548774fd8eb952f67bfeb19f3174dd0
Author: Julian Wiedmann <jwi@linux.ibm.com>
Date: Tue Mar 16 09:45:12 2021 +0000

  s390/dasd: remove dasd_fba_probe() wrapper

Crash: WARNING in kvm_wait (log)
Repro: C syz .config
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in __loop_clr_fd 2 181d 178d 0/22 auto-closed as invalid on 2021/05/18 10:52
Patch testing requests:
Created Duration User Patch Repo Result
2021/08/28 15:31 18m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2021/08/26 15:37 19m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2021/08/15 05:18 18m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2021/08/14 05:29 18m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2021/08/13 16:41 16m penguin-kernel@i-love.sakura.ne.jp patch upstream report log

Sample crash report:

Crashes (3242):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/07/30 08:27 linux-next 4ccc9e2db7ac c585c7b0 .config log report syz C possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/17 05:46 upstream bdb575f87217 5b989942 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/17 04:30 upstream bdb575f87217 5b989942 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/17 03:16 upstream bdb575f87217 5b989942 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/16 20:53 upstream ff1ffd71d5f0 aae492f2 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/16 16:45 upstream ff1ffd71d5f0 aae492f2 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/16 16:41 upstream ff1ffd71d5f0 aae492f2 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/16 15:32 upstream ff1ffd71d5f0 aae492f2 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/16 03:28 upstream b7213ffa0e58 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/16 03:27 upstream b7213ffa0e58 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/16 02:20 upstream b7213ffa0e58 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/15 22:44 upstream 3ca706c189db 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/15 13:48 upstream 3ca706c189db 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/15 13:17 upstream 3ca706c189db 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/15 11:48 upstream 3ca706c189db 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/15 08:50 upstream 1619b69edce1 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/14 20:29 upstream 1619b69edce1 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/14 19:28 upstream 1619b69edce1 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/14 18:25 upstream 1619b69edce1 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/14 16:42 upstream d0ee23f9d78b 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/14 15:23 upstream d0ee23f9d78b 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/14 02:24 upstream d0ee23f9d78b 58d09404 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/14 01:39 upstream d0ee23f9d78b 58d09404 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/14 00:29 upstream d0ee23f9d78b 58d09404 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/13 20:56 upstream 6880fa6c5660 3ce60af8 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/13 12:52 upstream 6880fa6c5660 3ce60af8 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/13 11:40 upstream 6880fa6c5660 3ce60af8 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-selinux-root 2021/09/13 10:45 upstream 6880fa6c5660 3ce60af8 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/13 02:52 upstream f306b90c69ce 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/09/13 00:31 upstream f306b90c69ce 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-selinux-root 2021/09/12 23:19 upstream f306b90c69ce 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/12 22:15 upstream f306b90c69ce 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/12 21:37 upstream f306b90c69ce 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/12 11:22 upstream 78e709522d2c 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/12 09:51 upstream 78e709522d2c 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/12 08:41 upstream 78e709522d2c 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/12 06:04 upstream c605c39677b9 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/11 21:00 upstream c605c39677b9 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/09/11 20:02 upstream c605c39677b9 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/09/11 19:00 upstream c605c39677b9 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-selinux-root 2021/09/11 13:45 upstream 926de8c4326c 5ae8508a .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/07/06 03:59 upstream 3dbdb38e2869 55aa55c2 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/07/04 01:17 upstream 3dbdb38e2869 55aa55c2 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/09/16 14:23 upstream ff1ffd71d5f0 aae492f2 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/09/16 12:47 upstream ff1ffd71d5f0 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/09/16 01:10 upstream b7213ffa0e58 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/09/15 23:45 upstream b7213ffa0e58 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/09/15 10:46 upstream 3ca706c189db 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-qemu-upstream-386 2021/08/06 04:31 upstream 902e7f373fff 2f537099 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-linux-next-kasan-gce-root 2021/09/16 08:19 linux-next 368847b165bb 07e953c1 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-linux-next-kasan-gce-root 2021/09/13 06:13 linux-next 24a36d3171e4 5ae8508a .config log report info possible deadlock in __loop_clr_fd