syzbot


WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
Status: upstream: reported C repro on 2021/07/24 07:47
Reported-by: syzbot+7ee5c2c09c284495371f@syzkaller.appspotmail.com
Fix commit: 2d3a1e3615c5 bpf: Add rcu_read_lock in bpf_get_current_[ancestor_]cgroup_id() helpers
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: 16d

Cause bisection: introduced by (bisect log) :
commit 79a7f8bdb159d9914b58740f3d31d602a6e4aca8
Author: Alexei Starovoitov <ast@kernel.org>
Date: Fri May 14 00:36:03 2021 +0000

  bpf: Introduce bpf_sys_bpf() helper and program type.

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

Sample crash report:

Crashes (764):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-this-kasan-gce 2021/07/20 07:52 net 6f20c8adb181 bc48c9ab .config log report syz C WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-kasan-gce 2021/07/20 07:42 bpf d6371c76e20d bc48c9ab .config log report syz C WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-kasan-gce-root 2021/08/12 23:52 upstream f8fbb47c6e86 3fd2ea69 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-kasan-gce-smack-root 2021/08/08 06:08 upstream 85a90500f9a1 6972b106 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-kasan-gce-selinux-root 2021/08/02 17:23 upstream c500bee1c5b2 6c236867 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-net-this-kasan-gce 2021/08/19 05:18 net fb4b1373dcab a2fe1cb5 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-kasan-gce 2021/08/11 20:58 bpf 519133debcc1 6972b106 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/31 12:40 bpf-next fca35b11e18a 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/31 11:20 bpf-next fca35b11e18a 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/31 10:01 bpf-next fca35b11e18a 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/31 09:00 bpf-next fca35b11e18a 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/31 05:46 bpf-next fca35b11e18a 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/31 03:18 bpf-next fca35b11e18a 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 21:09 bpf-next fca35b11e18a 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 16:35 bpf-next 47bb27a20d6e 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 15:17 bpf-next 47bb27a20d6e 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 13:27 bpf-next 47bb27a20d6e 8f58a0ef .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 12:05 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 10:36 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 08:55 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 06:34 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 05:37 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 04:23 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/30 01:43 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 23:52 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 21:42 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 19:58 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 18:42 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 17:21 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 14:51 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 13:35 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 12:07 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 11:38 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 09:25 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 07:59 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 04:31 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 03:17 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 01:52 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/29 00:30 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/28 21:10 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/28 12:20 bpf-next 47bb27a20d6e be2c130d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/28 10:37 bpf-next 47bb27a20d6e d5a29e53 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/28 09:34 bpf-next 47bb27a20d6e d5a29e53 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/28 06:43 bpf-next 47bb27a20d6e d5a29e53 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/27 20:03 bpf-next 47bb27a20d6e d5a29e53 .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/27 19:16 bpf-next 48b2e71c2e53 b318694d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/27 18:13 bpf-next 48b2e71c2e53 b318694d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/27 17:11 bpf-next 48b2e71c2e53 b318694d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/27 16:03 bpf-next 48b2e71c2e53 b318694d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/27 14:27 bpf-next 48b2e71c2e53 b318694d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/08/27 12:39 bpf-next 48b2e71c2e53 b318694d .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id
ci-upstream-net-kasan-gce 2021/08/19 17:54 net-next 5c8a2bb48159 b599f2fc .config log report info WARNING: suspicious RCU usage in bpf_get_current_cgroup_id