bisecting cause commit starting from acf25aa66371359f542d14e8d993b530fe25d7ac building syzkaller on 6720fdefa085931a94cd81c6e097a59af54d362d testing commit acf25aa66371359f542d14e8d993b530fe25d7ac with gcc (GCC) 8.1.0 kernel signature: 0cbc4c7ace534476665d4ad84683ad3a4b3b5f6cbeeb17265ab2405e6504bef2 all runs: crashed: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 with gcc (GCC) 8.1.0 kernel signature: eb2f777d601913978a0b0b7e8dca0e6423b4b03151a22ccbb10c321c42ada119 all runs: OK # git bisect start acf25aa66371359f542d14e8d993b530fe25d7ac 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 Bisecting: 3984 revisions left to test after this (roughly 12 steps) [09587a09ada2ed7c39aedfa2681152b5ac5641ee] arm64: mm: use ARCH_HAS_DEBUG_WX instead of arch defined testing commit 09587a09ada2ed7c39aedfa2681152b5ac5641ee with gcc (GCC) 8.1.0 kernel signature: 8f31c502cd2fa238ba619b425e705062a87cd59b6bce38db5438789a74c8ca41 all runs: OK # git bisect good 09587a09ada2ed7c39aedfa2681152b5ac5641ee Bisecting: 1900 revisions left to test after this (roughly 11 steps) [3248044ecf9f91900be5678919966715f1fb8834] Merge tag 'wireless-drivers-next-2020-05-25' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next testing commit 3248044ecf9f91900be5678919966715f1fb8834 with gcc (GCC) 8.1.0 kernel signature: 5341d0582fc2e5a552d83737a3a226b4870c3247cf62f7a8ccdd499d19005aaf all runs: crashed: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc # git bisect bad 3248044ecf9f91900be5678919966715f1fb8834 Bisecting: 970 revisions left to test after this (roughly 10 steps) [5d9e4722c74e8868d5fe2f8749de80928eb4a1d1] Merge tag 'wireless-drivers-next-2020-05-07' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next testing commit 5d9e4722c74e8868d5fe2f8749de80928eb4a1d1 with gcc (GCC) 8.1.0 kernel signature: fa722171af6353168f22a177e3368d94baa344e5ab077934aafa9e490cd7bf0e all runs: crashed: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc # git bisect bad 5d9e4722c74e8868d5fe2f8749de80928eb4a1d1 Bisecting: 556 revisions left to test after this (roughly 9 steps) [da4063bdfcfa70ec57a6c25f772ac6378b1584ad] netlink: allow NLA_MSECS to have range validation testing commit da4063bdfcfa70ec57a6c25f772ac6378b1584ad with gcc (GCC) 8.1.0 kernel signature: b5a35b8de7eb895ec3bbf20d2cb9d07967a052576eefc3f98b7fa75e2358e38e all runs: OK # git bisect good da4063bdfcfa70ec57a6c25f772ac6378b1584ad Bisecting: 278 revisions left to test after this (roughly 8 steps) [58618ef85546726cf27c38ddc1b022c703b7a6ad] net: nxp: Fix use correct return type for ndo_start_xmit() testing commit 58618ef85546726cf27c38ddc1b022c703b7a6ad with gcc (GCC) 8.1.0 kernel signature: 41d8e13aa614cce15340391c9ddf732434da7bce74b716639c72d0d5b091548d all runs: OK # git bisect good 58618ef85546726cf27c38ddc1b022c703b7a6ad Bisecting: 150 revisions left to test after this (roughly 7 steps) [cbb1404f65414130fb89e52a97b9d853d303dc5c] rtlwifi: rtl8188ee: remove Comparison to bool in rf.c testing commit cbb1404f65414130fb89e52a97b9d853d303dc5c with gcc (GCC) 8.1.0 kernel signature: 2bbe8f308acde2af93eb1740153576afe47cd178cd30da9056ee00372dc08784 all runs: OK # git bisect good cbb1404f65414130fb89e52a97b9d853d303dc5c Bisecting: 75 revisions left to test after this (roughly 6 steps) [f30dcb7dcb1aa925dfc83923c580a53c975b754b] net: ipa: kill ipa_endpoint_stop() testing commit f30dcb7dcb1aa925dfc83923c580a53c975b754b with gcc (GCC) 8.1.0 kernel signature: 1a1408ac92936cd092122421e905ee738c740d2e1831bc9c8637bc4dc1d5826b all runs: OK # git bisect good f30dcb7dcb1aa925dfc83923c580a53c975b754b Bisecting: 37 revisions left to test after this (roughly 5 steps) [d431f8939c1419854dfe89dd345387f5397c6edd] ath10k: remove the max_sched_scan_reqs value testing commit d431f8939c1419854dfe89dd345387f5397c6edd with gcc (GCC) 8.1.0 kernel signature: 5c55c3eb4634b1166922368e6b81747288cbf7418199db2c2f4f020d514b0ae2 all runs: OK # git bisect good d431f8939c1419854dfe89dd345387f5397c6edd Bisecting: 18 revisions left to test after this (roughly 4 steps) [7f960633a458136d168f2049508d39cba8be55bd] net: encx24j600: make encx24j600_hw_init() return void testing commit 7f960633a458136d168f2049508d39cba8be55bd with gcc (GCC) 8.1.0 kernel signature: f08bf6bf053e7c3a810f2d7dd29245fb3844844d0797a8a9aa064ab52e0acf14 all runs: OK # git bisect good 7f960633a458136d168f2049508d39cba8be55bd Bisecting: 9 revisions left to test after this (roughly 3 steps) [d7d43782d541edb8596d2f4fc7f41b0734948ec5] ath11k: fix kernel panic by freeing the msdu received with invalid length testing commit d7d43782d541edb8596d2f4fc7f41b0734948ec5 with gcc (GCC) 8.1.0 kernel signature: 13584555ad5dd7e337d421812e131be16e98aed56f7f03fd1857971e3611807b all runs: OK # git bisect good d7d43782d541edb8596d2f4fc7f41b0734948ec5 Bisecting: 4 revisions left to test after this (roughly 2 steps) [3031a86ebd3f9c818486dd7433f121c27ef23188] Merge branch 'Add-QRTR-MHI-client-driver' testing commit 3031a86ebd3f9c818486dd7433f121c27ef23188 with gcc (GCC) 8.1.0 kernel signature: 7a71ef1138c1500126863b52835ccf31eeb51017e9d1ef49b8d0296e85bc3447 all runs: crashed: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc # git bisect bad 3031a86ebd3f9c818486dd7433f121c27ef23188 Bisecting: 2 revisions left to test after this (roughly 1 step) [0932969e0b1b6ba54028b35b80148302e8fe7db8] via-rhine: Add platform dependencies testing commit 0932969e0b1b6ba54028b35b80148302e8fe7db8 with gcc (GCC) 8.1.0 kernel signature: 8daf4bb1588d368069d0b86aecfbc7858a6fd0f075b7edc8720799bf90ea62d3 all runs: OK # git bisect good 0932969e0b1b6ba54028b35b80148302e8fe7db8 Bisecting: 0 revisions left to test after this (roughly 1 step) [e42671084361302141a09284fde9bbc14fdd16bf] net: qrtr: Do not depend on ARCH_QCOM testing commit e42671084361302141a09284fde9bbc14fdd16bf with gcc (GCC) 8.1.0 kernel signature: 86716e80eec312e2417c54f61247cfaaf615fc45fdc9f350682acac6c8b46f9c all runs: crashed: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc # git bisect bad e42671084361302141a09284fde9bbc14fdd16bf Bisecting: 0 revisions left to test after this (roughly 0 steps) [6e728f321393b1fce9e1c2c3e55f9f7c15991321] net: qrtr: Add MHI transport layer testing commit 6e728f321393b1fce9e1c2c3e55f9f7c15991321 with gcc (GCC) 8.1.0 kernel signature: b9ac055d0fc08de8e085c84b48635dc38f5945ac643d69b3e3202e7dff6939a6 all runs: OK # git bisect good 6e728f321393b1fce9e1c2c3e55f9f7c15991321 e42671084361302141a09284fde9bbc14fdd16bf is the first bad commit commit e42671084361302141a09284fde9bbc14fdd16bf Author: Manivannan Sadhasivam Date: Thu May 7 18:23:06 2020 +0530 net: qrtr: Do not depend on ARCH_QCOM IPC Router protocol is also used by external modems for exchanging the QMI messages. Hence, it doesn't always depend on Qualcomm platforms. One such instance is the QCA6390 WLAN device connected to x86 machine. Reviewed-by: Bjorn Andersson Signed-off-by: Manivannan Sadhasivam Signed-off-by: David S. Miller net/qrtr/Kconfig | 1 - 1 file changed, 1 deletion(-) culprit signature: 86716e80eec312e2417c54f61247cfaaf615fc45fdc9f350682acac6c8b46f9c parent signature: b9ac055d0fc08de8e085c84b48635dc38f5945ac643d69b3e3202e7dff6939a6 revisions tested: 16, total time: 3h46m11.271118913s (build: 1h37m23.88474796s, test: 2h7m39.678019256s) first bad commit: e42671084361302141a09284fde9bbc14fdd16bf net: qrtr: Do not depend on ARCH_QCOM cc: ["bjorn.andersson@linaro.org" "davem@davemloft.net" "manivannan.sadhasivam@linaro.org"] crash: BUG: using smp_processor_id() in preemptible code in radix_tree_node_alloc RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 R13: 00000000000009be R14: 00000000004cc92a R15: 00007f1279fdf6d4 BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.2/8457 caller is radix_tree_node_alloc.constprop.18+0x18b/0x300 lib/radix-tree.c:264 CPU: 1 PID: 8457 Comm: syz-executor.2 Not tainted 5.7.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x128/0x182 lib/dump_stack.c:118 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold.1+0x83/0x9d lib/smp_processor_id.c:57 radix_tree_node_alloc.constprop.18+0x18b/0x300 lib/radix-tree.c:264 radix_tree_extend+0x168/0x3c0 lib/radix-tree.c:426 idr_get_free+0x56b/0x890 lib/radix-tree.c:1494 idr_alloc_u32+0x122/0x2a0 lib/idr.c:46 idr_alloc+0x76/0xc0 lib/idr.c:87 qrtr_port_assign net/qrtr/qrtr.c:703 [inline] __qrtr_bind.isra.7+0xdd/0x410 net/qrtr/qrtr.c:756 qrtr_sendmsg+0x17d/0x600 net/qrtr/qrtr.c:895 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xac/0xe0 net/socket.c:672 ____sys_sendmsg+0x554/0x760 net/socket.c:2362 ___sys_sendmsg+0xe4/0x160 net/socket.c:2416 __sys_sendmsg+0xce/0x170 net/socket.c:2449 do_syscall_64+0xc6/0x620 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45ca69 Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f1279fdec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004ffe00 RCX: 000000000045ca69 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 R13: 00000000000009be R14: 00000000004cc92a R15: 00007f1279fdf6d4