syzbot


possible deadlock in __loop_clr_fd (3)
Status: upstream: reported on 2021/11/10 17:00
Reported-by: syzbot+63614029dfb79abd4383@syzkaller.appspotmail.com
Fix commit: loop: don't hold lo_mutex during __loop_clr_fd()
Patched on: [ci-upstream-linux-next-kasan-gce-root], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-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-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 21d, last: 42m
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
possible deadlock in bd_register_pending_holders (2) 2 8d08h 7d00h 0/22 closed as dup on 2021/11/24 22:11
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in __loop_clr_fd (2) C unreliable 6977 21d 146d 22/22 fixed on 2021/11/10 00:50
upstream possible deadlock in __loop_clr_fd 2 257d 253d 0/22 auto-closed as invalid on 2021/05/18 10:52

Sample crash report:

Crashes (1022):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/12/01 15:57 upstream 58e1100fdc59 5fa3eacc .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/12/01 10:16 upstream 58e1100fdc59 5fa3eacc .config log report info possible deadlock in __loop_clr_fd
ci-qemu-upstream 2021/12/01 09:05 upstream 58e1100fdc59 5fa3eacc .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/12/01 07:23 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/12/01 03:02 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/12/01 00:37 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/30 21:55 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/30 20:47 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/30 19:41 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/30 19:26 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/30 13:57 upstream d58071a8a76d 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/11/30 11:25 upstream d58071a8a76d 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/11/30 10:32 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/30 08:59 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/11/29 21:43 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/29 17:28 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/29 16:00 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/29 14:53 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/29 12:39 upstream d58071a8a76d 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/29 12:39 upstream d58071a8a76d 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/28 23:51 upstream d06c942efea4 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/28 22:56 upstream d06c942efea4 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/11/28 11:12 upstream 3498e7f2bb41 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/28 10:39 upstream 3498e7f2bb41 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/27 23:04 upstream 741392771338 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-root 2021/11/27 22:39 upstream 741392771338 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-smack-root 2021/11/27 20:26 upstream 741392771338 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/27 19:17 upstream c5c17547b778 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-selinux-root 2021/11/25 16:51 upstream 5f53fa508db0 545ab074 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce 2021/11/10 14:41 upstream cb690f5238d7 75b04091 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/12/01 13:44 upstream 58e1100fdc59 5fa3eacc .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/12/01 12:55 upstream 58e1100fdc59 5fa3eacc .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/12/01 11:54 upstream 58e1100fdc59 5fa3eacc .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/12/01 10:08 upstream 58e1100fdc59 5fa3eacc .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/30 23:24 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/30 23:04 upstream f080815fdb3e 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/30 15:05 upstream d58071a8a76d 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/30 12:33 upstream d58071a8a76d 80270552 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/29 18:42 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/29 16:13 upstream d58071a8a76d d0830353 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/29 13:50 upstream d58071a8a76d 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/29 02:55 upstream d06c942efea4 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/29 01:55 upstream d06c942efea4 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-qemu-upstream-386 2021/11/29 00:53 upstream d06c942efea4 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/28 13:23 upstream 3498e7f2bb41 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/28 12:14 upstream 3498e7f2bb41 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-qemu-upstream-386 2021/11/28 09:20 upstream 3498e7f2bb41 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/28 06:37 upstream 741392771338 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/28 00:16 upstream 741392771338 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-kasan-gce-386 2021/11/27 21:27 upstream 741392771338 63eeac02 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-linux-next-kasan-gce-root 2021/11/22 20:38 linux-next 5191249f8803 545ab074 .config log report info possible deadlock in __loop_clr_fd
ci-upstream-linux-next-kasan-gce-root 2021/11/10 02:05 linux-next c8109c2ba35e 55fa030c .config log report info possible deadlock in __loop_clr_fd