bisecting fixing commit since f5d582777bcb1c7ff19a5a2343f66ea01de401c6 building syzkaller on 7795ae03c0d2358a40130693e40e0fcab5232ed2 testing commit f5d582777bcb1c7ff19a5a2343f66ea01de401c6 with gcc (GCC) 8.1.0 kernel signature: ff9216bb57e35cf86d8cbf4f2b7425efdcbb0845746696a78a611475ff4f493c run #0: crashed: INFO: rcu detected stall in netlink_sendmsg run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD 9cb1fd0efd195590b828b9b865421ad345a4a145 testing commit 9cb1fd0efd195590b828b9b865421ad345a4a145 with gcc (GCC) 8.1.0 kernel signature: f88dd6e4b1c7f2b0e9f1254b6302596eafae9dabe8d4797daa55b9559bc956a7 all runs: OK # git bisect start 9cb1fd0efd195590b828b9b865421ad345a4a145 f5d582777bcb1c7ff19a5a2343f66ea01de401c6 Bisecting: 59551 revisions left to test after this (roughly 16 steps) [ffb36a10c656c0b106401c6792b55b6506078949] net: sxgbe: use devm_platform_ioremap_resource() to simplify code testing commit ffb36a10c656c0b106401c6792b55b6506078949 with gcc (GCC) 8.1.0 kernel signature: a084950cfe9c14322eec2191d10b9fd9be2966e4400523cd5dfc4ac7183fae2a all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good ffb36a10c656c0b106401c6792b55b6506078949 Bisecting: 29772 revisions left to test after this (roughly 15 steps) [e59760f70b7d93dfd33b2c8567ff0adb4bd57193] Merge tag 'at91-5.6-dt-1' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/dt testing commit e59760f70b7d93dfd33b2c8567ff0adb4bd57193 with gcc (GCC) 8.1.0 kernel signature: 4442817f83a431f878421d982d1dd30a2eebc189e8f975525c4e2792007e85c5 all runs: boot failed: general protection fault in do_mount_root # git bisect skip e59760f70b7d93dfd33b2c8567ff0adb4bd57193 Bisecting: 29772 revisions left to test after this (roughly 15 steps) [21385a4faa8469b129af56a8c5a9405e3189c787] ASoC: samsung: i2s: move .suspend/.resume to component testing commit 21385a4faa8469b129af56a8c5a9405e3189c787 with gcc (GCC) 8.1.0 kernel signature: 30e9648522f294aecc2c962a4c8e407a05991147795de54cd65fd9f8bfd36642 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 21385a4faa8469b129af56a8c5a9405e3189c787 Bisecting: 15111 revisions left to test after this (roughly 14 steps) [624d1be7a126640a1ea95fa8373d4ce9e7b106d0] macintosh: convert to i2c_new_scanned_device testing commit 624d1be7a126640a1ea95fa8373d4ce9e7b106d0 with gcc (GCC) 8.1.0 kernel signature: a2fbedb29885822cdb95cec06a536f8f1de6c010e6bec85e2219917541a38f73 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 624d1be7a126640a1ea95fa8373d4ce9e7b106d0 Bisecting: 7388 revisions left to test after this (roughly 13 steps) [f365ab31efacb70bed1e821f7435626e0b2528a6] Merge tag 'drm-next-2020-04-01' of git://anongit.freedesktop.org/drm/drm testing commit f365ab31efacb70bed1e821f7435626e0b2528a6 with gcc (GCC) 8.1.0 kernel signature: e79502b04df50e3925fed91f2ae0a7a550f7409daa3b6fa31509778dafb7ce50 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good f365ab31efacb70bed1e821f7435626e0b2528a6 Bisecting: 3697 revisions left to test after this (roughly 12 steps) [9c94b39560c3a013de5886ea21ef1eaf21840cb9] Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 testing commit 9c94b39560c3a013de5886ea21ef1eaf21840cb9 with gcc (GCC) 8.1.0 kernel signature: 24ab3b3edb680c4a3729e22c3c0a8248a1bdd7b7d7addadc576fd1c397dabe61 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 9c94b39560c3a013de5886ea21ef1eaf21840cb9 Bisecting: 1848 revisions left to test after this (roughly 11 steps) [145cb2f7177d94bc54563ed26027e952ee0ae03c] sctp: Fix bundling of SHUTDOWN with COOKIE-ACK testing commit 145cb2f7177d94bc54563ed26027e952ee0ae03c with gcc (GCC) 8.1.0 kernel signature: c72f62d0551aebd0fc5471fc23e29522c1b52d951a5f0cfde2ad1736b348575f all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 145cb2f7177d94bc54563ed26027e952ee0ae03c Bisecting: 944 revisions left to test after this (roughly 10 steps) [d5fef88ccbd3a2d3674e6cc868804a519ef9e5b6] Merge tag 'renesas-fixes-for-v5.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/fixes testing commit d5fef88ccbd3a2d3674e6cc868804a519ef9e5b6 with gcc (GCC) 8.1.0 kernel signature: 7fcb4cf333092fcd5cccd4baef66c0e3bb047d4c396da694f057f72b9b39460f all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good d5fef88ccbd3a2d3674e6cc868804a519ef9e5b6 Bisecting: 472 revisions left to test after this (roughly 9 steps) [67e45621af060a2de53a1ba24d052bd33c3acaa3] Merge tag 'riscv-for-linus-5.7-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux testing commit 67e45621af060a2de53a1ba24d052bd33c3acaa3 with gcc (GCC) 8.1.0 kernel signature: 5b49fac83e63340e6edd9d7b8dfd96d8856b6a271ff56b41f90b8d53eb076137 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 67e45621af060a2de53a1ba24d052bd33c3acaa3 Bisecting: 234 revisions left to test after this (roughly 8 steps) [03fb3acae4be8a6b680ffedb220a8b6c07260b40] Merge branch 'i2c/for-current-fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux testing commit 03fb3acae4be8a6b680ffedb220a8b6c07260b40 with gcc (GCC) 8.1.0 kernel signature: f6864ea3a4aebeea3be4f58868cffd76bbb017bb20333b876d1ca8e2a8b40c3b all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 03fb3acae4be8a6b680ffedb220a8b6c07260b40 Bisecting: 116 revisions left to test after this (roughly 7 steps) [0e36fd45e37e0b4151d70cfae4d7e3e9a75c5c99] Merge tag 'char-misc-5.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit 0e36fd45e37e0b4151d70cfae4d7e3e9a75c5c99 with gcc (GCC) 8.1.0 kernel signature: 0d65aa18bece7b7de57ad7573ebdd40ae6b6ffaf6224003693a4b871a7304c53 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 0e36fd45e37e0b4151d70cfae4d7e3e9a75c5c99 Bisecting: 57 revisions left to test after this (roughly 6 steps) [17d00e839d3b592da9659c1977d45f85b77f986a] net/mlx5: Add command entry handling completion testing commit 17d00e839d3b592da9659c1977d45f85b77f986a with gcc (GCC) 8.1.0 kernel signature: 5758509c3faa5e9788e3cacf48f3825e15f7ff9f43f4ebf742da004ef49afdbd all runs: OK # git bisect bad 17d00e839d3b592da9659c1977d45f85b77f986a Bisecting: 28 revisions left to test after this (roughly 5 steps) [635d9398178659d8ddba79dd061f9451cec0b4d1] net/tls: free record only on encryption error testing commit 635d9398178659d8ddba79dd061f9451cec0b4d1 with gcc (GCC) 8.1.0 kernel signature: 9700c95d1c7c7a4f7d92de9894d979ae00d0ec8adf8c21b810c83a3b69bfed33 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 635d9398178659d8ddba79dd061f9451cec0b4d1 Bisecting: 14 revisions left to test after this (roughly 4 steps) [79dde73cf9bcf1dd317a2667f78b758e9fe139ed] net/ethernet/freescale: rework quiesce/activate for ucc_geth testing commit 79dde73cf9bcf1dd317a2667f78b758e9fe139ed with gcc (GCC) 8.1.0 kernel signature: ffdbb587145a21be790198e2370af91d28fa290c3cc0ec94e9a2cf7c92491187 all runs: OK # git bisect bad 79dde73cf9bcf1dd317a2667f78b758e9fe139ed Bisecting: 7 revisions left to test after this (roughly 3 steps) [b4024c9e5c57902155d3b5e7de482e245f492bff] felix: Fix initialization of ioremap resources testing commit b4024c9e5c57902155d3b5e7de482e245f492bff with gcc (GCC) 8.1.0 kernel signature: 7c2289b1575ad9f7cb95d42de9ee82322d9f3c64798f72893b104fadffe3a211 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good b4024c9e5c57902155d3b5e7de482e245f492bff Bisecting: 3 revisions left to test after this (roughly 2 steps) [d3b968bc2dee06a88682d035a0fde8bf77af39b9] Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf testing commit d3b968bc2dee06a88682d035a0fde8bf77af39b9 with gcc (GCC) 8.1.0 kernel signature: 32123fec8cf59352a1f30eb948853127195b9458841d6efb6bbfabaccfebf0ab all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good d3b968bc2dee06a88682d035a0fde8bf77af39b9 Bisecting: 1 revision left to test after this (roughly 1 step) [1378817486d6860f6a927f573491afe65287abf1] tipc: block BH before using dst_cache testing commit 1378817486d6860f6a927f573491afe65287abf1 with gcc (GCC) 8.1.0 kernel signature: ef6d3350a81f65dfc0bc211306e8bee44acfa0222d975a270783c643c7201026 all runs: OK # git bisect bad 1378817486d6860f6a927f573491afe65287abf1 Bisecting: 0 revisions left to test after this (roughly 0 steps) [3138a07ce219acde4c0d7ea0b6d54ba64153328b] net: mvpp2: fix RX hashing for non-10G ports testing commit 3138a07ce219acde4c0d7ea0b6d54ba64153328b with gcc (GCC) 8.1.0 kernel signature: bb29700f83d2f21f9ff6a790236d9a3695a597d76c939aac63b42a5ed415f0cc all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor # git bisect good 3138a07ce219acde4c0d7ea0b6d54ba64153328b 1378817486d6860f6a927f573491afe65287abf1 is the first bad commit commit 1378817486d6860f6a927f573491afe65287abf1 Author: Eric Dumazet Date: Thu May 21 11:29:58 2020 -0700 tipc: block BH before using dst_cache dst_cache_get() documents it must be used with BH disabled. sysbot reported : BUG: using smp_processor_id() in preemptible [00000000] code: /21697 caller is dst_cache_get+0x3a/0xb0 net/core/dst_cache.c:68 CPU: 0 PID: 21697 Comm: Not tainted 5.7.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+0x188/0x20d lib/dump_stack.c:118 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold+0x88/0x9b lib/smp_processor_id.c:57 dst_cache_get+0x3a/0xb0 net/core/dst_cache.c:68 tipc_udp_xmit.isra.0+0xb9/0xad0 net/tipc/udp_media.c:164 tipc_udp_send_msg+0x3e6/0x490 net/tipc/udp_media.c:244 tipc_bearer_xmit_skb+0x1de/0x3f0 net/tipc/bearer.c:526 tipc_enable_bearer+0xb2f/0xd60 net/tipc/bearer.c:331 __tipc_nl_bearer_enable+0x2bf/0x390 net/tipc/bearer.c:995 tipc_nl_bearer_enable+0x1e/0x30 net/tipc/bearer.c:1003 genl_family_rcv_msg_doit net/netlink/genetlink.c:673 [inline] genl_family_rcv_msg net/netlink/genetlink.c:718 [inline] genl_rcv_msg+0x627/0xdf0 net/netlink/genetlink.c:735 netlink_rcv_skb+0x15a/0x410 net/netlink/af_netlink.c:2469 genl_rcv+0x24/0x40 net/netlink/genetlink.c:746 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x537/0x740 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x882/0xe10 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 ____sys_sendmsg+0x6bf/0x7e0 net/socket.c:2362 ___sys_sendmsg+0x100/0x170 net/socket.c:2416 __sys_sendmsg+0xec/0x1b0 net/socket.c:2449 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45ca29 Fixes: e9c1a793210f ("tipc: add dst_cache support for udp media") Cc: Xin Long Cc: Jon Maloy Signed-off-by: Eric Dumazet Reported-by: syzbot Signed-off-by: David S. Miller net/tipc/udp_media.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) culprit signature: ef6d3350a81f65dfc0bc211306e8bee44acfa0222d975a270783c643c7201026 parent signature: bb29700f83d2f21f9ff6a790236d9a3695a597d76c939aac63b42a5ed415f0cc revisions tested: 20, total time: 3h46m39.54575658s (build: 1h50m50.251430778s, test: 1h52m49.682349573s) first good commit: 1378817486d6860f6a927f573491afe65287abf1 tipc: block BH before using dst_cache cc: ["davem@davemloft.net" "edumazet@google.com" "jmaloy@redhat.com" "kuba@kernel.org" "linux-kernel@vger.kernel.org" "netdev@vger.kernel.org" "tipc-discussion@lists.sourceforge.net" "ying.xue@windriver.com"]