syzbot


general protection fault in bpf_skb_cgroup_id
Status: upstream: reported C repro on 2021/09/17 21:06
Reported-by: syzbot+33f36d0754d4c5c0e102@syzkaller.appspotmail.com
Fix commit: 435b08ec0094 bpf, test, cgroup: Use sk_{alloc,free} for test cases
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: 78d, last: 59d

Cause bisection: the cause commit could be any of (bisect log):
  0e6491b55970 bpf: Add oversize check before call kvcalloc()
  2f1aaf3ea666 bpf, mm: Fix lockdep warning triggered by stack_map_get_build_id_offset()
  8520e224f547 bpf, cgroups: Fix cgroup v2 fallback on v1/v2 mixed mode
  3a029e1f3d6e selftests/bpf: Fix build of task_pt_regs test for arm64
  d8079d8026f8 bpf, selftests: Add cgroup v1 net_cls classid helpers
  43d2b88c29f2 bpf, selftests: Add test case for mixed cgroup v1/v2
  49ca6153208f bpf: Relicense disassembler as GPL-2.0-only OR BSD-2-Clause
  2865ba82476a Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in bpf_skb_cgroup_id C 1825 32d 690d 0/1 upstream: reported C repro on 2020/01/11 12:22
Patch testing requests:
Created Duration User Patch Repo Result
2021/09/23 10:13 10m daniel@iogearbox.net git://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-cgroup-test4 OK
2021/09/21 14:48 10m daniel@iogearbox.net git://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-cgroup-test3 OK
2021/09/21 06:28 16m daniel@iogearbox.net git://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-cgroup-test3 OK
2021/09/20 22:20 11m daniel@iogearbox.net git://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-cgroup-test2 report log
2021/09/17 22:27 16m daniel@iogearbox.net git://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-cgroup-test OK

Sample crash report:

Crashes (107):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-kasan-gce 2021/09/14 16:51 bpf 2865ba82476a 07e953c1 .config log report syz C general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-smack-root 2021/09/30 13:49 upstream 02d5e016800d be530f6c .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-root 2021/09/30 02:58 upstream 02d5e016800d be530f6c .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-root 2021/09/28 09:59 upstream 0513e464f900 78494d16 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-root 2021/09/22 22:53 upstream cf1d2c3e7e2f 8cac236e .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-root 2021/09/17 14:44 upstream bdb575f87217 5b989942 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-selinux-root 2021/09/17 05:20 upstream bdb575f87217 5b989942 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-smack-root 2021/09/17 05:01 upstream bdb575f87217 5b989942 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-kasan-gce-root 2021/09/17 02:48 upstream bdb575f87217 5b989942 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/17 21:34 bpf bc23f7244817 70b76c1d .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/15 14:52 bpf 356ed64991c6 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 13:42 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/15 07:12 bpf 356ed64991c6 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/15 06:46 bpf 356ed64991c6 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 06:03 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 05:59 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 05:47 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 04:52 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 04:50 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 04:45 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 04:37 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/15 04:26 net 7366c23ff492 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 16:20 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 16:15 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 16:08 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 16:07 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 16:04 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 15:46 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 15:37 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 15:29 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 15:24 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 15:17 bpf 2865ba82476a 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 14:51 bpf 2865ba82476a 58d09404 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 14:43 bpf 2865ba82476a 58d09404 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 14:34 bpf 2865ba82476a 58d09404 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 13:56 bpf 2865ba82476a 58d09404 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/10/03 03:40 bpf-next d636c8da2d60 db0f5787 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/10/01 18:28 bpf-next 6bbc7103738f cc80db95 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/09/30 03:11 bpf-next 3103836496e7 be530f6c .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/09/18 09:58 bpf-next e57f52b42d1f 70b76c1d .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/09/18 09:49 bpf-next e57f52b42d1f 70b76c1d .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-kasan-gce 2021/09/17 18:39 net-next 5ef8a0291513 70b76c1d .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-net-kasan-gce 2021/09/17 03:55 net-next 561bed688bff 5b989942 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/28 11:32 linux-next bf5b1e621a51 78494d16 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/18 04:52 linux-next 9004fd387338 70b76c1d .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 14:55 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 13:38 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 10:48 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 10:48 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 10:39 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 07:53 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 07:48 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 06:52 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/15 05:49 linux-next 70ced02f322f 07e953c1 .config log report info general protection fault in bpf_skb_cgroup_id