bisecting cause commit starting from 00f7763a26cbf6673bceca7d69f931df31e48144 building syzkaller on bca53db974f570410921f59b8c2c59a3d263cb44 testing commit 00f7763a26cbf6673bceca7d69f931df31e48144 with gcc (GCC) 8.1.0 kernel signature: f3a093eb208593a694cde19de6dbd26349269deb5d170818728bb1ca00e247b2 all runs: crashed: WARNING: suspicious RCU usage in get_wiphy_regdom testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b with gcc (GCC) 8.1.0 kernel signature: 41ee7347d2b4f48fd2ff9893d666d87c1152ec2bfa99d206a68ced3dabb4e527 all runs: OK # git bisect start 00f7763a26cbf6673bceca7d69f931df31e48144 bbf5c979011a099af5dc76498918ed7df445635b Bisecting: 8559 revisions left to test after this (roughly 13 steps) [9ff9b0d392ea08090cd1780fb196f36dbb586529] Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit 9ff9b0d392ea08090cd1780fb196f36dbb586529 with gcc (GCC) 8.1.0 kernel signature: 0988f40c0166a192c6b7ca342b18886accc81762ccd6ce8a7f4d04f069923782 all runs: OK # git bisect good 9ff9b0d392ea08090cd1780fb196f36dbb586529 Bisecting: 4279 revisions left to test after this (roughly 12 steps) [7b4f7138221a483e7642e582518814d579edf36a] selftests: net: bridge: add test for igmpv3 exc -> is_exclude report testing commit 7b4f7138221a483e7642e582518814d579edf36a with gcc (GCC) 8.1.0 kernel signature: 758640a719fd099319a2999595dc38acd505adebe1aa1eebce1849dce4e87b17 all runs: OK # git bisect good 7b4f7138221a483e7642e582518814d579edf36a Bisecting: 2167 revisions left to test after this (roughly 11 steps) [fee5be18524f961de653fe6103f927c84ebbfd38] Merge tag 's390-5.10-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux testing commit fee5be18524f961de653fe6103f927c84ebbfd38 with gcc (GCC) 8.1.0 kernel signature: a9d150195cb321c7a521ddfdb0d1afa18eb145f7f778a2ebcbb03838313a6f75 all runs: OK # git bisect good fee5be18524f961de653fe6103f927c84ebbfd38 Bisecting: 1083 revisions left to test after this (roughly 10 steps) [36d076201bd467d6bd22ba14e56e457d55e32be7] dt-bindings: net: nfc: s3fwrn5: Support a UART interface testing commit 36d076201bd467d6bd22ba14e56e457d55e32be7 with gcc (GCC) 8.1.0 kernel signature: 1deb27a68da123724413251c358365d1a39047d05de5878839003a2bc795251e all runs: OK # git bisect good 36d076201bd467d6bd22ba14e56e457d55e32be7 Bisecting: 521 revisions left to test after this (roughly 9 steps) [e1be4b5990c697f41a9e600a2b4ad228b7a71769] Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next testing commit e1be4b5990c697f41a9e600a2b4ad228b7a71769 with gcc (GCC) 8.1.0 kernel signature: 10eff6739c515ff901530797c88d10783b24eb0b889313dde1d100239ccf3840 all runs: OK # git bisect good e1be4b5990c697f41a9e600a2b4ad228b7a71769 Bisecting: 244 revisions left to test after this (roughly 8 steps) [4d31058b823cb338f5218043ac09fb7795b9d908] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 4d31058b823cb338f5218043ac09fb7795b9d908 with gcc (GCC) 8.1.0 kernel signature: 094f463a20e834c71137daec3d7a17868a857d85a39a32c604df41690431f143 all runs: OK # git bisect good 4d31058b823cb338f5218043ac09fb7795b9d908 Bisecting: 122 revisions left to test after this (roughly 7 steps) [1d608d2e0d51df7cb592bc9c7a77a534ff71dd94] Revert "macb: support the two tx descriptors on at91rm9200" testing commit 1d608d2e0d51df7cb592bc9c7a77a534ff71dd94 with gcc (GCC) 8.1.0 kernel signature: ebc8f5122ac51a6fce20f2556906635f5029211da091803426dc9189ac5da06e all runs: OK # git bisect good 1d608d2e0d51df7cb592bc9c7a77a534ff71dd94 Bisecting: 60 revisions left to test after this (roughly 6 steps) [a06caa4a68ce7d134b342966e65e7bd2dfa2eead] Merge branch 'akpm' (patches from Andrew) testing commit a06caa4a68ce7d134b342966e65e7bd2dfa2eead with gcc (GCC) 8.1.0 kernel signature: 855a7635c0d482f9095496b442080a2b8419c7db3ac67d771323517804a0bcb1 all runs: OK # git bisect good a06caa4a68ce7d134b342966e65e7bd2dfa2eead Bisecting: 30 revisions left to test after this (roughly 5 steps) [da3882331a55ba8c8eda0cfc077ad3b88c257e22] mac80211: support Rx timestamp calculation for all preamble types testing commit da3882331a55ba8c8eda0cfc077ad3b88c257e22 with gcc (GCC) 8.1.0 kernel signature: 8a45c07041d111c41a1a5b2c30173af738e21e80609660a150d7e69ae5d86859 all runs: crashed: WARNING: suspicious RCU usage in get_wiphy_regdom # git bisect bad da3882331a55ba8c8eda0cfc077ad3b88c257e22 Bisecting: 14 revisions left to test after this (roughly 4 steps) [d6587602c59974a2eda35e8ed70a4f5970380be8] cfg80211: Parse SAE H2E only membership selector testing commit d6587602c59974a2eda35e8ed70a4f5970380be8 with gcc (GCC) 8.1.0 kernel signature: d9fe3be32a603ce0cb94cd9ac057e1663d5fdb862edaf1a268c9244a3b080829 all runs: OK # git bisect good d6587602c59974a2eda35e8ed70a4f5970380be8 Bisecting: 7 revisions left to test after this (roughly 3 steps) [3660944a37ce73890292571f44f04891834f9044] mac80211: disallow band-switch during CSA testing commit 3660944a37ce73890292571f44f04891834f9044 with gcc (GCC) 8.1.0 kernel signature: 0175681f73b444d497dfc5b17b195257ae1fe0f6ae620cf3548e54e487afeb5e all runs: crashed: WARNING: suspicious RCU usage in get_wiphy_regdom # git bisect bad 3660944a37ce73890292571f44f04891834f9044 Bisecting: 3 revisions left to test after this (roughly 2 steps) [b45a19dd7e46462d0f34fcc05e5b1871d4c415ec] cfg80211: Update TSF and TSF BSSID for multi BSS testing commit b45a19dd7e46462d0f34fcc05e5b1871d4c415ec with gcc (GCC) 8.1.0 kernel signature: e107007d91d7c159b6381e11dbadbf5e71a70cc51a85d539dab64a1297de899c all runs: OK # git bisect good b45a19dd7e46462d0f34fcc05e5b1871d4c415ec Bisecting: 1 revision left to test after this (roughly 1 step) [beee246951571cc5452176f3dbfe9aa5a10ba2b9] cfg80211: Save the regulatory domain when setting custom regulatory testing commit beee246951571cc5452176f3dbfe9aa5a10ba2b9 with gcc (GCC) 8.1.0 kernel signature: 446d1116951e59b63d03bea9b13a2d4746c94aaf44a983554c29a91fd53da7b7 all runs: crashed: WARNING: suspicious RCU usage in get_wiphy_regdom # git bisect bad beee246951571cc5452176f3dbfe9aa5a10ba2b9 Bisecting: 0 revisions left to test after this (roughly 0 steps) [c837cbad40d949feaff86734d637c7602ae0b56b] nl80211: always accept scan request with the duration set testing commit c837cbad40d949feaff86734d637c7602ae0b56b with gcc (GCC) 8.1.0 kernel signature: 230339476476b0dacbb6602db2dc79c34a4a5874412822bd03382caf1cac36b8 all runs: OK # git bisect good c837cbad40d949feaff86734d637c7602ae0b56b beee246951571cc5452176f3dbfe9aa5a10ba2b9 is the first bad commit commit beee246951571cc5452176f3dbfe9aa5a10ba2b9 Author: Ilan Peer Date: Sun Nov 29 17:30:51 2020 +0200 cfg80211: Save the regulatory domain when setting custom regulatory When custom regulatory was set, only the channels setting was updated, but the regulatory domain was not saved. Fix it by saving it. Signed-off-by: Ilan Peer Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20201129172929.290fa5c5568a.Ic5732aa64de6ee97ae3578bd5779fc723ba489d1@changeid Signed-off-by: Johannes Berg net/wireless/reg.c | 8 ++++++++ 1 file changed, 8 insertions(+) culprit signature: 446d1116951e59b63d03bea9b13a2d4746c94aaf44a983554c29a91fd53da7b7 parent signature: 230339476476b0dacbb6602db2dc79c34a4a5874412822bd03382caf1cac36b8 revisions tested: 16, total time: 3h19m35.233929923s (build: 1h13m12.783631534s, test: 2h4m43.972006832s) first bad commit: beee246951571cc5452176f3dbfe9aa5a10ba2b9 cfg80211: Save the regulatory domain when setting custom regulatory recipients (to): ["ilan.peer@intel.com" "johannes.berg@intel.com" "luciano.coelho@intel.com"] recipients (cc): [] crash: WARNING: suspicious RCU usage in get_wiphy_regdom ============================= WARNING: suspicious RCU usage 5.10.0-rc6-syzkaller #0 Not tainted ----------------------------- net/wireless/reg.c:144 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 2 locks held by syz-executor.1/10190: #0: ffffffff8523d0f0 ( cb_lock){++++}-{3:3}, at: genl_rcv+0x10/0x30 net/netlink/genetlink.c:810 #1: ffffffff8523d188 ( genl_mutex ){+.+.}-{3:3} , at: genl_lock net/netlink/genetlink.c:33 [inline] , at: genl_rcv_msg+0x114/0x1e0 net/netlink/genetlink.c:798 stack backtrace: CPU: 0 PID: 10190 Comm: syz-executor.1 Not tainted 5.10.0-rc6-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+0x77/0x97 lib/dump_stack.c:118 get_wiphy_regdom+0x50/0x60 net/wireless/reg.c:144 wiphy_apply_custom_regulatory+0xaf/0x110 net/wireless/reg.c:2574 mac80211_hwsim_new_radio+0x9b9/0x1640 drivers/net/wireless/mac80211_hwsim.c:3247 hwsim_new_radio_nl+0x29c/0x3f0 drivers/net/wireless/mac80211_hwsim.c:3822 genl_family_rcv_msg_doit.isra.18+0x102/0x140 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0xd8/0x1e0 net/netlink/genetlink.c:800 netlink_rcv_skb+0x49/0xf0 net/netlink/af_netlink.c:2494 genl_rcv+0x1f/0x30 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x19a/0x270 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x248/0x480 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0x2b/0x40 net/socket.c:671 ____sys_sendmsg+0x1ed/0x230 net/socket.c:2331 ___sys_sendmsg+0x77/0xb0 net/socket.c:2385 __sys_sendmsg+0x52/0xa0 net/socket.c:2418 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e159 Code: 0d b4 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 b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f2fe9163c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e159 RDX: 0000000004000010 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffc620cb8bf R14: 00007f2fe91649c0 R15: 000000000119bf8c