Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3650154pxb; Mon, 4 Oct 2021 06:53:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCMZMSFQ140AR76zSrYtGQFdiY85pmjK8ws9B8g8eo7II9mRzN1wNdbPAVEi2qA1D2gmOk X-Received: by 2002:a17:906:12d4:: with SMTP id l20mr17537427ejb.43.1633355625795; Mon, 04 Oct 2021 06:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633355625; cv=none; d=google.com; s=arc-20160816; b=IQ7tyeyZxlQ1m4ZUodULN0uIc/c+Vj3H89DDzuXZCKhIy3NkB2UkeQfODzmeBATOTg WuLB5sI2NgAbJ+k7qAzevr/tbmRvzSfz2Mapgaa2sSRKP2usxPOOWmEEQAFacr0a8uJR h6PnQ5zrVWZwAodkCTjGgMKi9MNQa/fV5FR4mjmekA3zZCCQYkqaojKUV9NECHGqEr7R NKxdfRKN3ONGdyJs9nVW4ct66+h8bYPkBKbesxdmlk9gURs5yIJE3Y5ejJVxye8RLRCW QJeE4sRmSjZBF6uLX29YA4PVLUq+xdm6OrK3nJ7musxIZ1e5oHveMHN6pE1mtNDkcXUM fcCw== 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=xkwrDD1FJIZ8Krskc1oMA80c8CWWcjOJ+Z5An/Vj078=; b=IERgEwpwa5k9dsAVDsslxKqZKoN44XvZzvnlig5ECDehyD3KaxHCzWUzlSRWoHaJpU YoFQa5afg6XN1pMVGxn7mosl+rRZ6gmKgEsmSJhjT2cSTBbV3yAZQLh9EfH//45O+Jr2 v3MvzeMdL/Wmg384GBJrykyBTQaUpk9DGzMSisQ8qSrTuqanm65UlIYIUiwa8ntVMTc7 Dfa1K8RYaJR5xU1c3uUYMFDcGV3paDzKWBrTRRgtyy/7YkNRwQR/t2aMwM8XITEqE4dj xWN51i2rzeBIkBrpmsaBdr66rsfh/CzWt6tmdyZKFNO/ufhqGtHyvZa2oO6XbtOSsibB XRyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=jopFKaAs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gq9si9576691ejb.654.2021.10.04.06.53.21; Mon, 04 Oct 2021 06:53:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=jopFKaAs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234875AbhJDNvF (ORCPT + 99 others); Mon, 4 Oct 2021 09:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238270AbhJDNvB (ORCPT ); Mon, 4 Oct 2021 09:51:01 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73CD7C07785B for ; Mon, 4 Oct 2021 06:22:25 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id n64so21520401oih.2 for ; Mon, 04 Oct 2021 06:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xkwrDD1FJIZ8Krskc1oMA80c8CWWcjOJ+Z5An/Vj078=; b=jopFKaAsqdTgdzYrYo2j6REJu8ify07Mn3fwmy17s06lezSkA6jBASBRKy5c7RO1hu q+Akda/PQSgQNzvuBIPEdL3pZz/W46fFk8YMa65LqanKt6ysmhisIgyypL/cxwwPlYUX pxuNNFuC8D7JaQl1cjl5vbB1H3xKClINTtbFEwFJ/VB/wxP7ELc2bcfyDO7kaDLZSI/H /9VvSOdnnhvNCOOWQiyasIBsK4TwWG5hcWbLPGuXamTDOcMpi/qRDo7yBkHxPKCcrBry 66/AzvGzXQuJyozp5Wsd8I3UwpmpC2V6TN7A3Jz13R4V0XyIS/pvotwQ8SKiQrZrdYSk NWxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xkwrDD1FJIZ8Krskc1oMA80c8CWWcjOJ+Z5An/Vj078=; b=MFD8yt45tagrZ7vI07su8o8vFcCcqYr12bGGYjOEqOBifE8zNGOol883mohXTJyHuo qAAIJZy94uofjS7hk3AigRsfJsZH/w36F35ySJakZcnzn7gKQMD6N2uFnaKr4dUTcN6e Kc5FNVLjevh1UKW6IK2a/KClOSyH09deP7hTMOmudkFjVVUjeKAYSI5ohE5F651PIF3t rhcGz2UTpkf6HjVIsAj7BcJ90Tb0EritHaln+ExjxycngbhxFoIRSRbJXisc55uw7gQx Tzp29rE05AzzV2y0hCWbfhXFZ4s5TEZGumwTroCofB+q+zo0UbdWqrTuLMeyCfl9RicB 0tFg== X-Gm-Message-State: AOAM531j8uAdtXV54KQGDSWAEfPiAVvwp/0QtSFIPQB+W5g2jkQdFnkE NQmZYX4kFARnoP5p1If3IoAsIuXlzvl9RXc/Gw3dzg== X-Received: by 2002:aca:f189:: with SMTP id p131mr13557130oih.128.1633353742209; Mon, 04 Oct 2021 06:22:22 -0700 (PDT) MIME-Version: 1.0 References: <0000000000005a800a05cd849c36@google.com> <20211004131516.GV3544071@ziepe.ca> In-Reply-To: <20211004131516.GV3544071@ziepe.ca> From: Dmitry Vyukov Date: Mon, 4 Oct 2021 15:22:11 +0200 Message-ID: Subject: Re: [syzbot] BUG: RESTRACK detected leak of resources To: Jason Gunthorpe Cc: Doug Ledford , syzbot , Leon Romanovsky , RDMA mailing list , linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Oct 2021 at 15:15, Jason Gunthorpe wrote: > > On Mon, Oct 04, 2021 at 02:42:11PM +0200, Dmitry Vyukov wrote: > > On Mon, 4 Oct 2021 at 12:45, syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit: c7b4d0e56a1d Add linux-next specific files for 20210930 > > > git tree: linux-next > > > console output: https://syzkaller.appspot.com/x/log.txt?x=104be6cb300000 > > > kernel config: https://syzkaller.appspot.com/x/.config?x=c9a1f6685aeb48bd > > > dashboard link: https://syzkaller.appspot.com/bug?extid=3a992c9e4fd9f0e6fd0e > > > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > > > > > > Unfortunately, I don't have any reproducer for this issue yet. > > > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > > Reported-by: syzbot+3a992c9e4fd9f0e6fd0e@syzkaller.appspotmail.com > > > > +RESTRACK maintainers > > > > (it would also be good if RESTRACK would print a more standard oops > > with stack/filenames, so that testing systems can attribute issues to > > files/maintainers). > > restrack certainly should trigger a WARN_ON to stop the kernel.. But I > don't know what stack track would be useful here. The culprit is > always the underlying driver, not the core code.. There seems to be a significant overlap between drivers/infiniband/core/restrack.c and drivers/infiniband/sw/rxe/rxe.c maintainers, so perhaps restrack.c is good enough approximation to extract relevant people (definitely better then no CC at all :)) > Anyhow, this report is either rxe or rds by the look of it. > > Jason