syzbot


general protection fault in dev_get_by_index_rcu (2)
Status: upstream: reported C repro on 2022/01/07 14:19
Reported-by: syzbot+983941aa85af6ded1fd9@syzkaller.appspotmail.com
Fix commit: 382778edc826 xdp: check prog type before updating BPF link
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-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-qemu2-riscv64 ci-upstream-bpf-next-kasan-gce ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 131d, last: 17d

Cause bisection: failed (bisect log)
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in dev_get_by_index_rcu 6 946d 1068d 0/22 auto-closed as invalid on 2019/10/25 08:51
Patch testing requests:
Created Duration User Patch Repo Result
2022/01/07 17:46 11m toke@redhat.com patch https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master OK

Sample crash report:

Crashes (18):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-kasan-gce 2021/12/27 00:13 bpf 819d11507f66 e4f103c4 .config log report syz C general protection fault in dev_get_by_index_rcu
ci-upstream-bpf-next-kasan-gce 2022/01/06 00:05 bpf-next 5e22dd186267 6acc789a .config log report syz C general protection fault in dev_get_by_index_rcu
ci-upstream-net-kasan-gce 2022/01/05 20:51 net-next c5bcdd8228d8 6acc789a .config log report syz general protection fault in dev_get_by_index_rcu
ci-upstream-bpf-next-kasan-gce 2021/12/26 23:58 bpf-next 4b443bc1785f e4f103c4 .config log report syz general protection fault in dev_get_by_index_rcu
ci-upstream-kasan-gce-smack-root 2022/01/06 13:43 upstream 75acfdb6fd92 6acc789a .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-kasan-gce-selinux-root 2022/01/04 19:05 upstream c9e6606c7fe9 0a2584dd .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-kasan-gce-selinux-root 2021/12/20 10:00 upstream a7904a538933 021b36cb .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-kasan-gce-root 2021/12/15 19:06 upstream 5472f14a3742 572bcb40 .config log report info general protection fault in dev_get_by_index_rcu
ci-qemu-upstream-386 2022/01/07 19:55 upstream ddec8ed2d490 2ca0d385 .config log report info general protection fault in dev_get_by_index_rcu
ci-qemu-upstream-386 2022/01/07 17:30 upstream ddec8ed2d490 2ca0d385 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-net-this-kasan-gce 2021/12/17 09:51 net 6441998e2e37 44068e19 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-bpf-kasan-gce 2021/12/11 13:58 bpf 0be2516f865f 49ca1f59 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-bpf-kasan-gce 2021/11/30 00:45 bpf c0d95d3380ee d0830353 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-net-kasan-gce 2021/11/29 03:59 net-next d40ce48cb3a6 63eeac02 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-net-kasan-gce 2021/11/19 12:33 net-next 3b1abcf12894 31a30fc0 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-net-kasan-gce 2021/10/04 03:48 net-next 0693b27644f0 db0f5787 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-net-kasan-gce 2021/09/27 04:22 net-next d59bdda85eb7 78494d16 .config log report info general protection fault in dev_get_by_index_rcu
ci-upstream-net-kasan-gce 2021/09/15 04:14 net-next 55bd079a3cb6 07e953c1 .config log report info general protection fault in dev_get_by_index_rcu