syzbot


general protection fault in nft_set_elem_expr_alloc
Status: upstream: reported C repro on 2021/06/02 16:37
Reported-by: syzbot+ce96ca2b1d0b37c6422d@syzkaller.appspotmail.com
Fix commit: ad9f151e560b netfilter: nf_tables: initialize set before expression setup
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 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-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-arm32]
First crash: 63d, last: 63d

Cause bisection: introduced by (bisect log) :
commit 05abe4456fa376040f6cc3cc6830d2e328723478
Author: Pablo Neira Ayuso <pablo@netfilter.org>
Date: Wed May 20 13:44:37 2020 +0000

  netfilter: nf_tables: allow to register flowtable with no devices

Crash: general protection fault in nft_set_elem_expr_alloc (log)
Repro: C syz .config

Sample crash report:

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-this-kasan-gce 2021/05/30 08:29 net 6850ec973791 325a8dab .config log report syz C general protection fault in nft_set_elem_expr_alloc
ci-upstream-net-kasan-gce 2021/05/30 08:02 net-next 015dbf5662fd 325a8dab .config log report syz C general protection fault in nft_set_elem_expr_alloc
ci-upstream-net-kasan-gce 2021/05/30 06:41 net-next 015dbf5662fd 325a8dab .config log report info general protection fault in nft_set_elem_expr_alloc