syzbot


WARNING in mntput_no_expire (2)
Status: upstream: reported C repro on 2021/04/01 09:09
Reported-by: syzbot+c88a7030da47945a3cc3@syzkaller.appspotmail.com
Fix commit: 7d01ef7585c0 Make sure nd->path.mnt and nd->path.dentry are always valid pointers
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 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-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-arm32]
First crash: 114d, last: 4d00h

Cause bisection: introduced by (bisect log) :
commit 73d90386b559d6f4c3c5db5e6bb1b68aae8fd3e7
Author: Damien Le Moal <damien.lemoal@wdc.com>
Date: Thu Jan 28 04:47:27 2021 +0000

  nvme: cleanup zone information initialization

Crash: KASAN: use-after-free Read in chroot_fs_refs (log)
Repro: C syz .config
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in mntput_no_expire 1 190d 186d 0/22 auto-closed as invalid on 2021/03/16 10:44
Patch testing requests:
Created Duration User Patch Repo Result
2021/04/05 06:54 10m ducheng2@gmail.com upstream report log

Sample crash report:

Crashes (22):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/04/01 07:34 upstream d19cc4bfbff1 6a81331a .config log report syz C WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/07/09 05:15 upstream 3dbdb38e2869 1b20171a .config log report syz WARNING in mntput_no_expire
ci-upstream-kasan-gce-selinux-root 2021/05/18 23:49 upstream 8ac91e6c6033 a343ba6b .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/29 03:03 upstream acd3d2859453 77e2b668 .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/25 10:19 upstream 2a1d7946fa53 36c88236 .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/05 21:05 upstream 0a50438c8436 6a81331a .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/05 19:33 upstream 0a50438c8436 6a81331a .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/05 13:11 upstream e49d033bddf5 6a81331a .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/04 08:07 upstream 2023a53bdf41 6a81331a .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/02 12:43 upstream 1678e493d530 6a81331a .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/01 18:53 upstream ffd9fb546d49 6a81331a .config log report info WARNING in mntput_no_expire
ci-upstream-kasan-gce 2021/04/01 04:22 upstream d19cc4bfbff1 6a81331a .config log report info WARNING in mntput_no_expire
ci-qemu-upstream-386 2021/06/16 13:22 upstream 94f0b2d4a1d0 c06f97ad .config log report info WARNING in mntput_no_expire
ci-upstream-net-this-kasan-gce 2021/07/20 11:18 net 6f20c8adb181 bc48c9ab .config log report info WARNING in mntput_no_expire
ci-upstream-bpf-kasan-gce 2021/07/04 17:20 bpf 0fc4dcc13f09 55aa55c2 .config log report info WARNING in mntput_no_expire
ci-upstream-bpf-kasan-gce 2021/05/11 00:54 bpf bbd6f0a94813 ca873091 .config log report info WARNING in mntput_no_expire
ci-upstream-net-kasan-gce 2021/07/04 14:21 net-next 5e437416ff66 55aa55c2 .config log report info WARNING in mntput_no_expire
ci-upstream-net-kasan-gce 2021/06/24 00:22 net-next a7b62112f0ab fe4ab389 .config log report info WARNING in mntput_no_expire
ci-upstream-net-kasan-gce 2021/06/19 17:25 net-next 4bea7207a80c aba2b2fb .config log report info WARNING in mntput_no_expire
ci-upstream-linux-next-kasan-gce-root 2021/05/04 23:22 linux-next 9a9aa07ae18b 06c27ff5 .config log report info WARNING in mntput_no_expire
ci-upstream-linux-next-kasan-gce-root 2021/04/10 11:21 linux-next e99d8a849517 bfeda1b1 .config log report info WARNING in mntput_no_expire
ci-upstream-linux-next-kasan-gce-root 2021/04/08 13:02 linux-next 6145d80cfc62 6a81331a .config log report info WARNING in mntput_no_expire