Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp646222rwb; Fri, 18 Nov 2022 06:31:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ahTvby1UDHu0b/+X59s8QkVqU/X/tVQg4hf4mSr8ZQPeCM4E0r0nn80XiEbhLPAIJPTF4 X-Received: by 2002:a17:906:b08e:b0:7ad:b9a0:8a9b with SMTP id x14-20020a170906b08e00b007adb9a08a9bmr6292811ejy.509.1668781917812; Fri, 18 Nov 2022 06:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668781917; cv=none; d=google.com; s=arc-20160816; b=QuW+bCSk1gEVP0coq08Re24IVytYLQkbrvc5IlxRH9sS2R2IEwh1NoXV7yvpwCLoGN qHNp0m+KFveV7p7h9p8VfgLd0kOFvm9a0ST0LHrXwe44PkngimJFzBvtuxBo8icNdQbA 2b/mQjLwkTIPraqD78YF9Tc187RL43FTwMRe58IalcESADsBRsvj3+DbaTbDlhpFMnJX XSYu8AVAheARUXC8yndvPmNU7SdbLaRmjYdmnF9U+C3n+4X/BAgHtUmBlu2JWsOJ6YPy CbitvUt2cIUdus4aS6oBzt1eTFqlEAh3Cvi6IS0wBQbv59MlYuHfHoRhnsPqQtsNwYWG 37Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cC2JN4ZUsjuEwnjnpajcpS5m9KPPu/uO4FGcPfQVcS4=; b=gsms1fWLJ9MaDAZN2C4ZYsKMc0EEkPe97GNt5UBPZRam6kMn8pvwVZX3bDn/57AXkG p+sap9bi7SrAn6U2Z5Lp7jg3kWNFG6aOWWVIAW5kajJd0xlyC9IoAZtbM7t2MXL8LwWC FQbhfOv8VhHTNFrpmgLQri1SzoQveJ4kPAdEGNqe691efTL6+tLrepf922xYpAiy6PA4 vHwq5qSV27RJoA/kQd+J17+KTzsL0JehmcubGYWExc3MaEWiowZqrQLHtBJOkON4lI+r zddy3LhEHm4KoyFIj2p3ZNV4q37GF1Un5UOGMuruZqg5fTJevcKNSA7Ak4Oa6G9Y4Q5W 2f1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=jUN18wTm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020a1709063ac200b0078dce2b1985si2537778ejd.134.2022.11.18.06.31.16; Fri, 18 Nov 2022 06:31:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=jUN18wTm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241915AbiKRN31 (ORCPT + 91 others); Fri, 18 Nov 2022 08:29:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241903AbiKRN3G (ORCPT ); Fri, 18 Nov 2022 08:29:06 -0500 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA868C49F for ; Fri, 18 Nov 2022 05:29:05 -0800 (PST) Received: by mail-ot1-x32f.google.com with SMTP id w26-20020a056830061a00b0066c320f5b49so3048219oti.5 for ; Fri, 18 Nov 2022 05:29:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cC2JN4ZUsjuEwnjnpajcpS5m9KPPu/uO4FGcPfQVcS4=; b=jUN18wTmj+1ZYiBLq0ATj/xOBRgTuQJR9jqDHN+c8l+d8YniEEXDh7dFTMb2sHXMDV SmTPFJhZFAGJ0xjc94bqvehQQBz2lJO1+mlg2LQkKAYJvyKPDNgOQOuuVom52Ccy0072 PPTJ2vlkRZeGK/xUueiFbHK9B5VMpWVW1yHvkl43psWyLwjs7fy4tYqlZTEOVMSQAFXN o6p/hGINRd7mCC/m1wirC0Heq0GKSrk86iv5x3X9OQOzF5tlK25vHXKxvMsDKgI8xbAE t6su0SIVH2uKqE7n1RcGMwqhYmYGR6ys6AwqiID3LAChtDtPnJyTqyQqYBpqFyhT0Vqb 5HXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cC2JN4ZUsjuEwnjnpajcpS5m9KPPu/uO4FGcPfQVcS4=; b=CQxSwVUnGJ9w5kHHoQb/tchO0iBjVwqZjchMb6k6WA2dzDdSONwPfofEZTKMay9m75 QNd+q+mWOzNs8hK8e9g4zzAce2Vw/1IHYobVRh2TTWxkq+M8Me4lIacxqE+/PkXKKX6/ 3WGI67Ga7FtUb+DZDy5esbZ7W3ccrbBQ4SUkH8wvyNvr5M2B5Mle1nmqG9MaQeCoUKgx Foq2ml/Wit/GOCO6UgzfTOgWTiT7OS7Yp9Y6hE34dtVMVE5yQ41qIXpeXDEF+DIQqbYb mJ+nGEU4+a6QioGG30nEyVphodQZXdqBZEsPlGHmDpeRC56ILMHEdq9aBfNwtV4Z/mmw iwvg== X-Gm-Message-State: ANoB5pm87zWcNJJGzmoYeW03CMNEJy4QIywzh8CMu+2Ohq/F9IZDplYO MtEhtB51uxwcvwgdgsqk0AEd+HXEcZ7AWMsAlHPHtQ== X-Received: by 2002:a05:6830:1b62:b0:66c:7982:2d45 with SMTP id d2-20020a0568301b6200b0066c79822d45mr3794575ote.123.1668778144575; Fri, 18 Nov 2022 05:29:04 -0800 (PST) MIME-Version: 1.0 References: <00000000000060c7e305edbd296a@google.com> In-Reply-To: <00000000000060c7e305edbd296a@google.com> From: Dmitry Vyukov Date: Fri, 18 Nov 2022 14:28:53 +0100 Message-ID: Subject: Re: [syzbot] unregister_netdevice: waiting for DEV to become free (7) To: syzbot , Jason Gunthorpe , Leon Romanovsky , chenzhongjin@huawei.com, RDMA mailing list Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Nov 2022 at 12:39, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 9c8774e629a1 net: eql: Use kzalloc instead of kmalloc/memset > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17bf6cc8f00000 > kernel config: https://syzkaller.appspot.com/x/.config?x=9eb259db6b1893cf > dashboard link: https://syzkaller.appspot.com/bug?extid=5e70d01ee8985ae62a3b > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1136d592f00000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1193ae64f00000 > > Bisection is inconclusive: the issue happens on the oldest tested release. > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=167c33a2f00000 > final oops: https://syzkaller.appspot.com/x/report.txt?x=157c33a2f00000 > console output: https://syzkaller.appspot.com/x/log.txt?x=117c33a2f00000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+5e70d01ee8985ae62a3b@syzkaller.appspotmail.com > > iwpm_register_pid: Unable to send a nlmsg (client = 2) > infiniband syj1: RDMA CMA: cma_listen_on_dev, error -98 > unregister_netdevice: waiting for vlan0 to become free. Usage count = 2 +RDMA maintainers There are 4 reproducers and all contain: r0 = socket$nl_rdma(0x10, 0x3, 0x14) sendmsg$RDMA_NLDEV_CMD_NEWLINK(...) Also the preceding print looks related (a bug in the error handling path there?): infiniband syj1: RDMA CMA: cma_listen_on_dev, error -98 > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > syzbot can test patches for this issue, for details see: > https://goo.gl/tpsmEJ#testing-patches