syzbot


WARNING: suspicious RCU usage in xfrm_set_default
Status: upstream: reported C repro on 2021/09/22 00:13
Reported-by: syzbot+3d9866419b4aa8f985d6@syzkaller.appspotmail.com
Fix commit: 93ec1320b017 xfrm: fix rcu lock in xfrm_notify_userpolicy()
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: 77d, last: 71d

Cause bisection: introduced by (bisect log) :
commit 88d0adb5f13b1c52fbb7d755f6f79db18c2f0c2c
Author: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Tue Sep 14 14:46:34 2021 +0000

  xfrm: notify default policy on update

Crash: WARNING: suspicious RCU usage in xfrm_set_default (log)
Repro: C syz .config

Sample crash report:

Crashes (20):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/09/20 17:50 linux-next 1f77990c4b79 af796c18 .config log report syz C WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/26 22:11 linux-next 5a5d008887b4 78494d16 .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/26 21:21 linux-next 5a5d008887b4 78494d16 .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/26 17:36 linux-next 5a5d008887b4 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/26 12:34 linux-next 5a5d008887b4 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/26 10:35 linux-next 5a5d008887b4 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/26 10:14 linux-next 5a5d008887b4 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/25 08:01 linux-next 5a5d008887b4 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/24 07:11 linux-next 5a5d008887b4 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/24 05:54 linux-next 5a5d008887b4 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/23 07:54 linux-next bc5aa70f2699 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/23 07:29 linux-next bc5aa70f2699 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/22 19:04 linux-next e90f9946ba28 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/22 18:05 linux-next e90f9946ba28 8cac236e .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/22 07:52 linux-next e90f9946ba28 169724fe .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/22 06:41 linux-next e90f9946ba28 169724fe .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/21 13:35 linux-next 83fa5857d812 169724fe .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/20 17:15 linux-next 1f77990c4b79 af796c18 .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/20 15:37 linux-next 1f77990c4b79 af796c18 .config log report info WARNING: suspicious RCU usage in xfrm_set_default
ci-upstream-linux-next-kasan-gce-root 2021/09/20 14:42 linux-next 1f77990c4b79 af796c18 .config log report info WARNING: suspicious RCU usage in xfrm_set_default