bisecting cause commit starting from 11ba468877bb23f28956a35e896356252d63c983 building syzkaller on f90ec89960664f503e0811d8b67c56bb1128d47d testing commit 11ba468877bb23f28956a35e896356252d63c983 with gcc (GCC) 8.1.0 kernel signature: 87073d589c4f1b22e6e04662d2835627981d140941332b733ce7be1589dfc030 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 with gcc (GCC) 8.1.0 kernel signature: 26d5711ce5a6a434023b8f7156ce6ccdaa159bd3b40dcd1f75bf69a0f74af8d5 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit testing release v5.6 testing commit 7111951b8d4973bda27ff663f2cf18b663d15b48 with gcc (GCC) 8.1.0 kernel signature: df632a48c0e11e92eb31a19703d0d091f4a7fd23fb37552d47cfcbf51f3d1391 run #0: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit run #1: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit run #2: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit run #3: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit run #4: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit run #5: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit run #6: crashed: WARNING: suspicious RCU usage in tipc_l2_send_msg run #7: crashed: WARNING: suspicious RCU usage in tipc_l2_send_msg run #8: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit run #9: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 with gcc (GCC) 8.1.0 kernel signature: 3cdcb8ad19436c367fe2c40957e8a57cd2b98d98c31ef4871c34629db3d8a431 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 with gcc (GCC) 8.1.0 kernel signature: 3265ff13ee259f551d27c69804c443507494f91d50ddec7b39f7a185f7a35af2 all runs: OK # git bisect start d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 219d54332a09e8d8741c1e1982f5eae56099de85 Bisecting: 8639 revisions left to test after this (roughly 13 steps) [8c39f71ee2019e77ee14f88b1321b2348db51820] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 8c39f71ee2019e77ee14f88b1321b2348db51820 with gcc (GCC) 8.1.0 kernel signature: f311bf5997d862fe12d78e901f158b355ba2c88893c52aa179b3132ef7a3ae5c all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit # git bisect bad 8c39f71ee2019e77ee14f88b1321b2348db51820 Bisecting: 3435 revisions left to test after this (roughly 12 steps) [3b397c7ccafe0624018cb09fc96729f8f6165573] Merge tag 'regmap-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap testing commit 3b397c7ccafe0624018cb09fc96729f8f6165573 with gcc (GCC) 8.1.0 kernel signature: 38e4d142e9d077836be7d1ed0a013f4e8cfae45a2df099ce1b035ca680b89250 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit # git bisect bad 3b397c7ccafe0624018cb09fc96729f8f6165573 Bisecting: 1709 revisions left to test after this (roughly 11 steps) [924ea58dadea23cc28b60d02b9c0896b7b168a6f] Merge tag 'mt76-for-kvalo-2019-11-20' of https://github.com/nbd168/wireless testing commit 924ea58dadea23cc28b60d02b9c0896b7b168a6f with gcc (GCC) 8.1.0 kernel signature: e64a0a5881b0ccaec42fb59ac8254652bfb89f6b74b26e8206bdd71ed4913d0c all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit # git bisect bad 924ea58dadea23cc28b60d02b9c0896b7b168a6f Bisecting: 855 revisions left to test after this (roughly 10 steps) [3b7ad08b5153b0eda2f4d57ac53d815c30acd172] vsock: Simplify '__vsock_release()' testing commit 3b7ad08b5153b0eda2f4d57ac53d815c30acd172 with gcc (GCC) 8.1.0 kernel signature: 53060689bd6efe0b1f05c580b727e5a249d3f5c2f8d8b4f26e6c7cf56dcb699b all runs: OK # git bisect good 3b7ad08b5153b0eda2f4d57ac53d815c30acd172 Bisecting: 427 revisions left to test after this (roughly 9 steps) [c33fdc3453313137f8740a227525ed518bc68e28] tipc: fix update of the uninitialized variable err testing commit c33fdc3453313137f8740a227525ed518bc68e28 with gcc (GCC) 8.1.0 kernel signature: 4f0a5a78f6fb71c822da1a7b0ee7085738fa63bf55e42e2b45902c0efe70fbb5 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit # git bisect bad c33fdc3453313137f8740a227525ed518bc68e28 Bisecting: 213 revisions left to test after this (roughly 8 steps) [a9b97286fec1a87976ac7852ad65f2013faad9f6] gianfar: Maximize Rx buffer size testing commit a9b97286fec1a87976ac7852ad65f2013faad9f6 with gcc (GCC) 8.1.0 kernel signature: 7440fed9c63b3501e467cbfe1fb02371a0b99cd63bd44847f234df960f81aef2 all runs: OK # git bisect good a9b97286fec1a87976ac7852ad65f2013faad9f6 Bisecting: 106 revisions left to test after this (roughly 7 steps) [c305c6ae79e2ce20c22660ceda94f0d86d639a82] net: add annotations on hh->hh_len lockless accesses testing commit c305c6ae79e2ce20c22660ceda94f0d86d639a82 with gcc (GCC) 8.1.0 kernel signature: 8ab5231b39b89eacae1146c9b3593ddddcc3b560b9d798f5b8d0771b133269e2 all runs: OK # git bisect good c305c6ae79e2ce20c22660ceda94f0d86d639a82 Bisecting: 52 revisions left to test after this (roughly 6 steps) [7941af9b38fa97f4b800fc7c0a097cc71415df5e] Merge branch 'r8169-improve-PHY-configuration' testing commit 7941af9b38fa97f4b800fc7c0a097cc71415df5e with gcc (GCC) 8.1.0 kernel signature: c6fcd719ba1d40c7f417a1b5728637b14b1f4b050645d8c2de622e08dcaa46a5 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit # git bisect bad 7941af9b38fa97f4b800fc7c0a097cc71415df5e Bisecting: 22 revisions left to test after this (roughly 5 steps) [f1ff4e80f848a2ea0622cbe2c72e44409ba90546] Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue testing commit f1ff4e80f848a2ea0622cbe2c72e44409ba90546 with gcc (GCC) 8.1.0 kernel signature: 7daa0029bfded90db9cff3ba35af1b020350dad90a7fd011597e2e0567ec75b9 all runs: OK # git bisect good f1ff4e80f848a2ea0622cbe2c72e44409ba90546 Bisecting: 11 revisions left to test after this (roughly 4 steps) [768e15182dcb809e39c338290dda10c4e271d133] sctp: add SCTP_ADDR_POTENTIALLY_FAILED notification testing commit 768e15182dcb809e39c338290dda10c4e271d133 with gcc (GCC) 8.1.0 kernel signature: 2994d94bb989c088aaa116b4aeed8b75cbbaba324c840e191934bebc32da73b5 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit # git bisect bad 768e15182dcb809e39c338290dda10c4e271d133 Bisecting: 5 revisions left to test after this (roughly 3 steps) [e1f32190cf7ddd55778b460e7d44af3f76529698] tipc: add support for AEAD key setting via netlink testing commit e1f32190cf7ddd55778b460e7d44af3f76529698 with gcc (GCC) 8.1.0 kernel signature: 5ec19b6aee758998be3955e37df5e04ff4134b5ec5d018c467956300f7c41dd6 all runs: crashed: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit # git bisect bad e1f32190cf7ddd55778b460e7d44af3f76529698 Bisecting: 2 revisions left to test after this (roughly 1 step) [4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4] tipc: enable creating a "preliminary" node testing commit 4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4 with gcc (GCC) 8.1.0 kernel signature: a6e03bcdc63d4e17d4e00b1e1fc985696b170b3f267eebb6f895c2125e2a486a all runs: OK # git bisect good 4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4 Bisecting: 0 revisions left to test after this (roughly 1 step) [fc1b6d6de2208774efd2a20bf0daddb02d18b1e0] tipc: introduce TIPC encryption & authentication testing commit fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 with gcc (GCC) 8.1.0 kernel signature: d52493f644994299e5d39e32bc39e524ffcc6316fd52bafc745b90368cc5579c all runs: OK # git bisect good fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 e1f32190cf7ddd55778b460e7d44af3f76529698 is the first bad commit commit e1f32190cf7ddd55778b460e7d44af3f76529698 Author: Tuong Lien Date: Fri Nov 8 12:05:12 2019 +0700 tipc: add support for AEAD key setting via netlink This commit adds two netlink commands to TIPC in order for user to be able to set or remove AEAD keys: - TIPC_NL_KEY_SET - TIPC_NL_KEY_FLUSH When the 'KEY_SET' is given along with the key data, the key will be initiated and attached to TIPC crypto. On the other hand, the 'KEY_FLUSH' command will remove all existing keys if any. Acked-by: Ying Xue Acked-by: Jon Maloy Signed-off-by: Tuong Lien Signed-off-by: David S. Miller include/uapi/linux/tipc_netlink.h | 4 ++ net/tipc/netlink.c | 18 ++++- net/tipc/node.c | 135 ++++++++++++++++++++++++++++++++++++++ net/tipc/node.h | 4 ++ 4 files changed, 160 insertions(+), 1 deletion(-) culprit signature: 5ec19b6aee758998be3955e37df5e04ff4134b5ec5d018c467956300f7c41dd6 parent signature: d52493f644994299e5d39e32bc39e524ffcc6316fd52bafc745b90368cc5579c revisions tested: 18, total time: 4h11m42.675168041s (build: 1h57m8.895512152s, test: 2h12m10.688624265s) first bad commit: e1f32190cf7ddd55778b460e7d44af3f76529698 tipc: add support for AEAD key setting via netlink cc: ["davem@davemloft.net" "jon.maloy@ericsson.com" "tuong.t.lien@dektech.com.au" "ying.xue@windreiver.com"] crash: BUG: using smp_processor_id() in preemptible code in tipc_crypto_xmit Started in network mode Own node identity aaaaaaaaaa3a, cluster identity 4711 Enabled bearer , priority 0 TX(aaaaaaaaaa3a): key initiating, rc 1! BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.5/8144 caller is tipc_aead_tfm_next net/tipc/crypto.c:405 [inline] caller is tipc_aead_encrypt net/tipc/crypto.c:642 [inline] caller is tipc_crypto_xmit+0x77a/0x2a80 net/tipc/crypto.c:1608 CPU: 1 PID: 8144 Comm: syz-executor.5 Not tainted 5.4.0-rc5-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+0x113/0x167 lib/dump_stack.c:113 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold.2+0x84/0x97 lib/smp_processor_id.c:57 tipc_aead_tfm_next net/tipc/crypto.c:405 [inline] tipc_aead_encrypt net/tipc/crypto.c:642 [inline] tipc_crypto_xmit+0x77a/0x2a80 net/tipc/crypto.c:1608 tipc_bearer_xmit_skb+0x14c/0x370 net/tipc/bearer.c:522 tipc_enable_bearer+0x7ef/0xb00 net/tipc/bearer.c:330 __tipc_nl_bearer_enable+0x265/0x390 net/tipc/bearer.c:994 __tipc_nl_compat_doit net/tipc/netlink_compat.c:361 [inline] tipc_nl_compat_doit+0x3d7/0x540 net/tipc/netlink_compat.c:383 tipc_nl_compat_handle net/tipc/netlink_compat.c:1204 [inline] tipc_nl_compat_recv+0x802/0xa70 net/tipc/netlink_compat.c:1311 genl_family_rcv_msg_doit net/netlink/genetlink.c:672 [inline] genl_family_rcv_msg net/netlink/genetlink.c:717 [inline] genl_rcv_msg+0x5d9/0x10e0 net/netlink/genetlink.c:734 netlink_rcv_skb+0x13c/0x380 net/netlink/af_netlink.c:2477 genl_rcv+0x23/0x40 net/netlink/genetlink.c:745 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x43b/0x640 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x74b/0xc00 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:657 ___sys_sendmsg+0x647/0x950 net/socket.c:2311 __sys_sendmsg+0xd9/0x180 net/socket.c:2356 __do_sys_sendmsg net/socket.c:2365 [inline] __se_sys_sendmsg net/socket.c:2363 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2363 do_syscall_64+0xca/0x5d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45cba9 Code: 8d b6 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8afc0d4c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000502980 RCX: 000000000045cba9 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000005 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000a32 R14: 00000000004d7228 R15: 00007f8afc0d56d4 Enabled bearer , priority 0 TX(aaaaaaaaaa3a): key initiating, rc 1!