syzbot


possible deadlock in pipe_lock (5)
Status: upstream: reported C repro on 2021/07/24 19:07
Reported-by: syzbot+579885d1a9a833336209@syzkaller.appspotmail.com
Fix commit: 9b91b6b019fd ovl: fix deadlock in splice write
Patched on: [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-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-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 58d, last: 54d

Cause bisection: introduced by (bisect log) :
commit 82a763e61e2b601309d696d4fa514c77d64ee1be
Author: Miklos Szeredi <mszeredi@redhat.com>
Date: Mon Dec 14 14:26:14 2020 +0000

  ovl: simplify file splice

Crash: possible deadlock in iter_file_splice_write (log)
Repro: C syz .config
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
possible deadlock in iter_file_splice_write (2) C done 2 54d 50d 0/22 closed as dup on 2021/07/28 14:57
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in pipe_lock 50806 1368d 1416d 0/22 closed as invalid on 2018/02/14 14:20
upstream possible deadlock in pipe_lock (4) 1 135d 131d 0/22 auto-closed as invalid on 2021/07/03 13:02
upstream possible deadlock in pipe_lock (2) 3 879d 949d 0/22 auto-closed as invalid on 2019/10/18 15:02
linux-4.19 possible deadlock in pipe_lock (2) C 9 19d 630d 0/1 upstream: reported C repro on 2019/12/26 07:17
android-49 possible deadlock in pipe_lock 5 693d 886d 0/3 auto-closed as invalid on 2020/02/21 12:40
linux-4.19 possible deadlock in pipe_lock C done 2 872d 876d 1/1 fixed on 2019/11/29 10:34
android-44 possible deadlock in pipe_lock C 82 653d 886d 0/2 public: reported C repro on 2019/04/14 08:51
upstream possible deadlock in pipe_lock (3) C inconclusive done 4 593d 630d 17/22 fixed on 2020/08/18 22:40
Patch testing requests:
Created Duration User Patch Repo Result
2021/07/27 15:37 28m mszeredi@redhat.com patch upstream OK

Sample crash report:

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/07/20 20:01 upstream 8cae8cd89f05 1b201b48 .config log report syz C possible deadlock in pipe_lock
ci-upstream-kasan-gce-selinux-root 2021/07/24 13:19 upstream f0fddcec6b62 4d1b57d4 .config log report info possible deadlock in pipe_lock
ci-qemu-upstream 2021/07/21 15:10 upstream 8cae8cd89f05 29c3f20f .config log report info possible deadlock in pipe_lock
ci-upstream-kasan-gce-root 2021/07/20 19:01 upstream 8cae8cd89f05 1b201b48 .config log report info possible deadlock in pipe_lock
ci-upstream-linux-next-kasan-gce-root 2021/07/24 12:59 linux-next 90d856e71443 4d1b57d4 .config log report info possible deadlock in pipe_lock