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: 3cbf7530 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-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 ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 380d, last: 43d

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 380d 380d 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 acf25aa6 6720fdef .config log report syz C
ci-upstream-kasan-gce-root 2021/05/04 18:44 upstream d2b6f8a1 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 d2b6f8a1 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 d2b6f8a1 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 d2b6f8a1 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 d72cd4ad 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 acd3d285 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 57fa2369 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 9f4ad9e4 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 9f4ad9e4 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 2a1d7946 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 2a1d7946 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 8db5efb8 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 8db5efb8 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 e77a830c 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 90c911ad 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 16fc44d6 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 16fc44d6 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 c98ff1d0 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 2f7b98d1 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 50987bec 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 89698bec 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 7d900724 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 52e44129 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 d4961772 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 454859c5 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 d2b6f8a1 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 18a3c5f7 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 89698bec 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 d434405a 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 31caf8b2 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 e0756cfc 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 bbd6f0a9 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 bbd6f0a9 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 bbd6f0a9 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 bbd6f0a9 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 bbd6f0a9 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 bbd6f0a9 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 6477dd39 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 4acd4764 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 88a5af94 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 88a5af94 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 88a5af94 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 0e0704bb 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 00423969 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 4e04e751 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 4e04e751 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 4e04e751 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 0f6925b3 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 0f6925b3 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 0f6925b3 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 08c27f33 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 08c27f33 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 37f368d8 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 aa2b8820 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 9d9af100 fea47c01 .config log report info
ci-upstream-net-this-kasan-gce 2020/06/04 19:20 net cb8e59cc 6720fdef .config log report
ci-upstream-net-kasan-gce 2021/01/17 08:43 net-next c761b2df 65a7a854 .config log report info