syzbot


BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
Status: upstream: reported C repro on 2020/06/05 02:02
Reported-by: syzbot+3eec59e770685e3dc879@syzkaller.appspotmail.com
Fix commit: 3cbf7530a163 qrtr: Convert qrtr_ports from IDR to XArray
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: 470d, last: 133d

Cause bisection: introduced by (bisect log) :
commit e42671084361302141a09284fde9bbc14fdd16bf
Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Date: Thu May 7 12:53:06 2020 +0000

  net: qrtr: Do not depend on ARCH_QCOM

Crash: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit 43016d02cf6e46edfc4696452251d34bba0c0435
Author: Florian Westphal <fw@strlen.de>
Date: Mon May 3 11:51:15 2021 +0000

  netfilter: arptables: use pernet ops struct during unregister

duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
BUG: using smp_processor_id() in preemptible code in debug_smp_processor_id C done 10 471d 471d 0/22 closed as dup on 2020/06/05 04:06
Patch testing requests:
Created Duration User Patch Repo Result
2021/03/27 01:28 15m ducheng2@gmail.com patch upstream OK
2021/03/27 01:04 15m ducheng2@gmail.com patch upstream OK
2021/03/26 03:13 15m ducheng2@gmail.com patch upstream OK
2021/03/14 09:06 15m ducheng2@gmail.com patch upstream OK
2021/03/14 09:01 0m ducheng2@gmail.com patch upstream error
2021/03/14 08:46 10m ducheng2@gmail.com upstream report log
2020/07/10 16:06 10m brookebasile@gmail.com upstream report log

Sample crash report:

Crashes (544):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2020/06/04 22:57 upstream acf25aa66371 6720fdef .config log report syz C
ci-upstream-kasan-gce-root 2021/05/04 18:44 upstream d2b6f8a17919 09efdd63 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/05/03 18:12 upstream d2b6f8a17919 ad61f371 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-smack-root 2021/04/30 17:19 upstream d2b6f8a17919 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/30 04:18 upstream d2b6f8a17919 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-root 2021/04/29 17:48 upstream d72cd4ad4174 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-root 2021/04/29 03:24 upstream acd3d2859453 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-smack-root 2021/04/28 10:31 upstream 57fa2369ab17 805b5003 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/27 02:58 upstream 9f4ad9e425a1 e60b7df1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-root 2021/04/26 13:28 upstream 9f4ad9e425a1 2a82f1b3 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/25 16:50 upstream 2a1d7946fa53 36c88236 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/25 15:44 upstream 2a1d7946fa53 36c88236 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-smack-root 2021/04/25 02:31 upstream 8db5efb83fa9 17f0b706 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-smack-root 2021/04/25 01:11 upstream 8db5efb83fa9 17f0b706 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-smack-root 2021/04/24 15:25 upstream e77a830c8297 17f0b706 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-smack-root 2021/04/23 09:27 upstream 90c911ad7445 590921a5 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-root 2021/04/22 13:10 upstream 16fc44d6387e 33c28d03 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-selinux-root 2021/04/22 04:26 upstream 16fc44d6387e 2bc8999a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/19 00:21 upstream c98ff1d013d2 7e2b734b .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/17 01:35 upstream 2f7b98d1e55c 7e2b734b .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-smack-root 2021/04/14 17:22 upstream 50987beca096 3134b37f .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/13 11:47 upstream 89698becf06d bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-root 2021/04/12 04:58 upstream 7d900724913c bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-root 2021/04/11 12:35 upstream 52e44129fba5 bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce 2021/04/10 18:38 upstream d4961772226d bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-root 2021/04/08 21:33 upstream 454859c552da 6a81331a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-386 2021/05/02 07:40 upstream d2b6f8a17919 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-386 2021/04/23 22:43 upstream 18a3c5f7abfd 17f0b706 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-386 2021/04/13 09:05 upstream 89698becf06d bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-kasan-gce-386 2021/04/12 20:09 upstream d434405aaab7 bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-qemu2-arm64-compat 2021/02/22 23:34 upstream 31caf8b2a847 c26fb06b .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-qemu2-arm64 2021/02/10 05:02 upstream e0756cfc7d7c 2bd9619f .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/05/07 21:18 net bbd6f0a94813 f6da8120 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/05/07 18:49 net bbd6f0a94813 f6da8120 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/30 09:42 net bbd6f0a94813 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/30 02:52 net bbd6f0a94813 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/29 22:38 net bbd6f0a94813 77e2b668 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/27 06:37 net bbd6f0a94813 805b5003 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/25 11:21 net 6477dd39e62c 36c88236 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/21 00:46 net 4acd47644ef1 c0ced557 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/18 20:11 net 88a5af943985 7e2b734b .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/18 16:53 net 88a5af943985 7e2b734b .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/18 15:15 net 88a5af943985 7e2b734b .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/16 18:25 net 0e0704bb9ea0 7e2b734b .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/15 12:59 net 00423969d806 fcdb12ba .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/11 07:20 net 4e04e7513b0f bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/11 00:49 net 4e04e7513b0f bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/10 18:27 net 4e04e7513b0f bfeda1b1 .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/07 15:31 net 0f6925b3e8da 6a81331a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/07 09:04 net 0f6925b3e8da 6a81331a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/07 07:37 net 0f6925b3e8da 6a81331a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/07 01:13 net 08c27f3322fe 6a81331a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-this-kasan-gce 2021/04/06 03:39 net 08c27f3322fe 6a81331a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-net-kasan-gce 2021/03/30 10:39 net-next 37f368d8d09d 6a81331a .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-upstream-linux-next-kasan-gce-root 2021/02/08 01:44 linux-next aa2b88209686 2ce644fc .config log report info BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc
ci-qemu-upstream-386 2020/10/18 03:41 upstream 9d9af1007bc0 fea47c01 .config log report info
ci-upstream-net-this-kasan-gce 2020/06/04 19:20 net cb8e59cc8720 6720fdef .config log report
ci-upstream-net-kasan-gce 2021/01/17 08:43 net-next c761b2df9df0 65a7a854 .config log report info