syzbot


possible deadlock in md_open
Status: upstream: reported C repro on 2021/08/24 18:19
Reported-by: syzbot+fadc0aaf497e6a493b9f@syzkaller.appspotmail.com
Fix commit: 7df835a32a8b md: fix a lock order reversal in md_alloc
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte 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-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-qemu2-riscv64]
First crash: 104d, last: 71d

Cause bisection: introduced by (bisect log) [merge commit]:
commit 3f3b83f314cb2eef140162e98c26239550ba013f
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue Aug 24 02:23:18 2021 +0000

  Merge remote-tracking branch 'block/for-next'

Crash: possible deadlock in md_open (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2021/08/30 12:07 21m hch@infradead.org patch git://git.kernel.dk/linux-block for-next OK
2021/08/29 13:22 10m phind.uet@gmail.com linux-next report log

Sample crash report:

Crashes (2844):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/09/21 04:21 upstream e8f71f89236e af796c18 .config log report syz C possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/15 14:23 upstream 3ca706c189db 07e953c1 .config log report syz C possible deadlock in md_open
ci-upstream-linux-next-kasan-gce-root 2021/09/05 07:04 linux-next c1b13fe76e95 d236a457 .config log report syz C possible deadlock in md_open
ci-upstream-linux-next-kasan-gce-root 2021/08/24 13:49 linux-next 372b2891c15a b599f2fc .config log report syz C possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/26 10:21 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/26 09:11 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/26 08:08 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/26 06:26 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-smack-root 2021/09/26 02:30 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-selinux-root 2021/09/26 01:15 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-smack-root 2021/09/26 00:05 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 23:43 upstream a5e0aceabef6 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 21:09 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 20:00 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 17:23 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 16:13 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 14:15 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-smack-root 2021/09/25 12:21 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-smack-root 2021/09/25 12:13 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 11:12 upstream 7d42e9818258 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 09:57 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-smack-root 2021/09/25 08:28 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 06:29 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 04:54 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 02:00 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/25 00:42 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 23:03 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 21:52 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 20:46 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 19:43 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 19:40 upstream 4c4f0c2bf341 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 18:29 upstream f9e36107ec70 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 16:01 upstream f9e36107ec70 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 10:37 upstream f9e36107ec70 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 07:46 upstream f9e36107ec70 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 05:07 upstream f9e36107ec70 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 04:14 upstream f9e36107ec70 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 02:56 upstream f9e36107ec70 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 01:56 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/24 00:39 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/23 23:28 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/23 21:01 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-smack-root 2021/09/23 16:55 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/23 15:44 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-root 2021/09/23 14:39 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/23 13:47 upstream 58e2cf5d7946 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/23 11:06 upstream cf1d2c3e7e2f 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/23 09:36 upstream cf1d2c3e7e2f 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce 2021/09/23 06:26 upstream cf1d2c3e7e2f 8cac236e .config log report info possible deadlock in md_open
ci-upstream-kasan-gce-386 2021/09/09 00:37 upstream 0f4b9289bad3 e2776ee4 .config log report info possible deadlock in md_open
ci-upstream-linux-next-kasan-gce-root 2021/09/23 02:38 linux-next e90f9946ba28 8cac236e .config log report info possible deadlock in md_open
ci-upstream-linux-next-kasan-gce-root 2021/08/24 11:05 linux-next 372b2891c15a b599f2fc .config log report info possible deadlock in md_open