syzbot


possible deadlock in blkdev_put (2)
Status: upstream: reported C repro on 2021/11/27 07:10
Reported-by: syzbot+643e4ce4b6ad1347d372@syzkaller.appspotmail.com
Fix commit: 322c4293ecc5 loop: make autoclear operation asynchronous
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-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-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 62d, last: 40d

Cause bisection: introduced by (bisect log) :
commit f9006acc8dfe59e25aa75729728ac57a8d84fc32
Author: Florian Westphal <fw@strlen.de>
Date: Wed Apr 21 07:51:08 2021 +0000

  netfilter: arp_tables: pass table pointer via nf_hook_ops

Crash: WARNING in __nf_unregister_net_hook (log)
Repro: C syz .config
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
possible deadlock in blkdev_get_by_dev 1 29d 25d 0/22 closed as dup on 2021/12/31 02:53
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in blkdev_put 1 491d 490d 0/22 auto-closed as invalid on 2021/01/18 22:03
linux-4.14 possible deadlock in blkdev_put C 5 3d04h 480d 0/1 upstream: reported C repro on 2020/10/01 09:27
Patch testing requests:
Created Duration User Patch Repo Result
2022/01/20 07:39 18m hch@lst.de git://git.infradead.org/users/hch/block.git part_tbl_mutex OK
2022/01/19 08:49 10m hch@lst.de git://git.infradead.org/users/hch/block.git a0b72af75eb90399b0527226eeb43714313505ce report log
2022/01/19 08:12 25m hch@lst.de git://git.infradead.org/users/hch/block.git part_tbl_mutex error
2021/12/24 15:47 17m penguin-kernel@i-love.sakura.ne.jp patch git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git next-20211224 OK
2021/12/08 10:10 19m penguin-kernel@i-love.sakura.ne.jp patch git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git next-20211207 OK

Sample crash report:

Crashes (292):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/12/08 05:04 linux-next 04fe99a8d936 0230ba3e .config log report syz C possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/15 18:51 linux-next ea922272cbe5 572bcb40 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/13 13:58 linux-next ea922272cbe5 49ca1f59 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/11 07:02 linux-next ea922272cbe5 49ca1f59 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/11 04:08 linux-next ea922272cbe5 49ca1f59 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/10 18:03 linux-next 4eee8d0b64ec 49ca1f59 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/10 16:27 linux-next 4eee8d0b64ec 49ca1f59 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/10 05:00 linux-next 4eee8d0b64ec 4d4ce9bc .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/10 03:10 linux-next 4eee8d0b64ec 4d4ce9bc .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/09 16:55 linux-next 4eee8d0b64ec b54aa474 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/09 15:50 linux-next 4eee8d0b64ec b54aa474 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/09 13:23 linux-next 4eee8d0b64ec b54aa474 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/08 14:49 linux-next 4eee8d0b64ec a4a2a501 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/08 13:40 linux-next 4eee8d0b64ec a4a2a501 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/07 18:07 linux-next 04fe99a8d936 0230ba3e .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/07 15:54 linux-next 04fe99a8d936 0230ba3e .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/07 10:50 linux-next 04fe99a8d936 0230ba3e .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/07 07:31 linux-next 5d02ef4b57f6 0230ba3e .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/07 01:00 linux-next 5d02ef4b57f6 0230ba3e .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 23:33 linux-next 5d02ef4b57f6 0230ba3e .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 13:01 linux-next 5d02ef4b57f6 579a8754 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 09:44 linux-next 5d02ef4b57f6 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 07:59 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 06:39 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 04:51 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 03:41 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/06 01:04 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 23:54 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 22:30 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 21:01 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 18:16 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 17:07 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 14:10 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 12:25 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 11:01 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/05 07:42 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/04 16:36 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/04 02:35 linux-next f81e94e91878 a617004c .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/03 14:25 linux-next f81e94e91878 c7c20675 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/03 13:11 linux-next f81e94e91878 c7c20675 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/03 08:29 linux-next f81e94e91878 61f86278 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/03 04:25 linux-next f81e94e91878 61f86278 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/03 00:59 linux-next f81e94e91878 61f86278 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/12/02 22:31 linux-next f81e94e91878 61f86278 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/11/27 06:06 linux-next f81e94e91878 63eeac02 .config log report info possible deadlock in blkdev_put
ci-upstream-linux-next-kasan-gce-root 2021/11/23 07:01 linux-next aacdecce8147 545ab074 .config log report info possible deadlock in blkdev_put