syzbot


BUG: sleeping function called from invalid context in __alloc_skb
Status: internal: reported C repro on 2021/05/05 00:49
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 7072a355ba19 netfilter: nfnetlink: add a missing rcu_read_unlock()
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: 88d, last: 87d

Cause bisection: introduced by (bisect log) :
commit f9006acc8dfe59e25aa75729728ac57a8d84fc32
Author: Florian Westphal <fw@strlen.de>
Date: Wed Apr 21 07:51:08 2021 +0000

  netfilter: arp_tables: pass table pointer via nf_hook_ops

Crash: WARNING in __nf_unregister_net_hook (log)
Repro: C syz .config

Sample crash report:

Crashes (32):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/05/05 06:37 linux-next 9a9aa07ae18b 06c27ff5 .config log report syz C BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 02:51 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 02:51 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 02:17 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 00:46 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 00:45 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 00:45 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 00:43 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/06 00:34 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 23:38 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 22:20 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 22:11 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 21:39 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 20:50 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 20:50 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 20:49 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 18:20 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 17:16 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 16:53 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 16:37 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 14:40 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 12:58 linux-next 29955e0289b3 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 11:41 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 11:41 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 11:30 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 08:44 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 05:49 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 03:50 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 03:47 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 02:46 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 02:08 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb
ci-upstream-linux-next-kasan-gce-root 2021/05/05 00:48 linux-next 9a9aa07ae18b 06c27ff5 .config log report info BUG: sleeping function called from invalid context in __alloc_skb