syzbot


general protection fault in bpf_skb_ancestor_cgroup_id
Status: upstream: reported C repro on 2021/09/17 21:06
Reported-by: syzbot+664b58e9a40fbb2cec71@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: 58d

Cause bisection: introduced by (bisect log) [no-op commit]:
commit 39257da0e04e5cdb1e4a3ca715dc3d949fe8b059
Author: Quentin Perret <qperret@google.com>
Date: Mon Aug 9 15:24:40 2021 +0000

  KVM: arm64: Expose host stage-2 manipulation helpers

Crash: BUG: sleeping function called from invalid context in lock_sock_nested (log)
Repro: C syz .config
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in bpf_skb_ancestor_cgroup_id C 4904 17d 690d 0/1 upstream: reported C repro on 2020/01/11 04:44
Patch testing requests:
Created Duration User Patch Repo Result
2021/09/23 10:13 11m 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 10m 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 10m 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:28 10m daniel@iogearbox.net git://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-cgroup-test OK

Sample crash report:

Crashes (232):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-kasan-gce 2021/09/14 17:12 bpf 2865ba82476a 07e953c1 .config log report syz C general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-smack-root 2021/09/29 22:59 upstream 02d5e016800d be530f6c .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-smack-root 2021/09/28 21:17 upstream d33bec7b3dfa d82cb927 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/28 11:29 upstream 0513e464f900 78494d16 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/28 05:24 upstream 0513e464f900 78494d16 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-smack-root 2021/09/23 14:48 upstream 58e2cf5d7946 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/23 07:53 upstream cf1d2c3e7e2f 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/22 22:04 upstream cf1d2c3e7e2f 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/22 21:44 upstream cf1d2c3e7e2f 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/22 11:22 upstream 92477dd1faa6 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/22 03:30 upstream 92477dd1faa6 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-selinux-root 2021/09/21 16:33 upstream d9fb678414c0 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-smack-root 2021/09/21 16:25 upstream d9fb678414c0 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-kasan-gce-root 2021/09/21 12:23 upstream d9fb678414c0 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/26 01:32 bpf a3debf177f21 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/22 13:13 bpf bc23f7244817 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-this-kasan-gce 2021/09/17 03:12 net fc0c0548c1a2 5b989942 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-kasan-gce 2021/09/14 13:55 bpf 2865ba82476a 58d09404 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/10/04 00:23 bpf-next d636c8da2d60 db0f5787 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/10/03 20:30 bpf-next d636c8da2d60 db0f5787 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/10/01 15:34 bpf-next 6bbc7103738f cc80db95 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/30 22:34 net-next 69508d43334e 1d849ab4 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/09/30 18:06 bpf-next 161ecd537948 be530f6c .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/30 06:50 net-next ef91abfb20c7 be530f6c .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/29 09:59 net-next b69c99463d41 d82cb927 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/29 05:21 net-next b69c99463d41 d82cb927 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/09/28 21:13 bpf-next 29eef85be2f6 d82cb927 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/28 00:14 net-next b69c99463d41 78494d16 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/27 21:58 net-next b69c99463d41 78494d16 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/27 06:19 net-next d59bdda85eb7 78494d16 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/26 23:16 net-next d59bdda85eb7 78494d16 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/26 15:41 net-next d59bdda85eb7 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/26 08:57 net-next 24aa160d5375 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/26 05:36 net-next 24aa160d5375 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/26 02:41 net-next 24aa160d5375 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/25 22:42 net-next 24aa160d5375 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/25 18:11 net-next 24aa160d5375 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/25 11:29 net-next acde891c243c 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/25 06:39 net-next acde891c243c 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/25 05:35 net-next acde891c243c 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/24 00:12 net-next 68a81bb2eebd 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/23 21:09 net-next 68a81bb2eebd 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/23 07:47 net-next 428168f99517 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/23 06:35 net-next 428168f99517 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/23 05:25 net-next 428168f99517 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/22 18:13 net-next 428168f99517 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/22 16:52 net-next 428168f99517 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/22 09:13 net-next 07b855628c22 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/21 19:32 net-next bea714581a31 169724fe .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-net-kasan-gce 2021/09/21 09:47 net-next 85c698863c15 af796c18 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-bpf-next-kasan-gce 2021/09/21 07:17 bpf-next 97c140d94e2e af796c18 .config log report info general protection fault in bpf_skb_ancestor_cgroup_id
ci-upstream-linux-next-kasan-gce-root 2021/09/23 08:55 linux-next bc5aa70f2699 8cac236e .config log report info general protection fault in bpf_skb_ancestor_cgroup_id