Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 656D7C433F5 for ; Thu, 25 Nov 2021 11:31:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233181AbhKYLfA (ORCPT ); Thu, 25 Nov 2021 06:35:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232986AbhKYLc4 (ORCPT ); Thu, 25 Nov 2021 06:32:56 -0500 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7B96C0619EF for ; Thu, 25 Nov 2021 03:23:14 -0800 (PST) Received: by mail-oi1-x22a.google.com with SMTP id be32so11847601oib.11 for ; Thu, 25 Nov 2021 03:23:14 -0800 (PST) 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=k33uva8py5s2sQ2S/wXwTEnMmE00okSQ3bv6VjoGK/4=; b=GLOggkqDbW8ICV/aUCEEyyyIRNpaJZt/3arlFFqeMmeU3gh4AAMlHftDeh8MWx1B2F jHPI2u76GirnHEYSl7USl12A3ctGfWQTYJhY7fF0yhumtDNLlgDsWSn8uGNcQ7cBP1ZX 0RDKy0cPxtzKLCGtU35KJ5ndDLBSt3psyMOxAxg98lyq+V1GgSgQoF3Z8a+P18SH2f2f CIStmSXG3kLufY3OEz/YYmHmX+Dkgz9aRasqAn2ID82nOUEsVVobKbZfJq0MPajbYMo1 CKJQzTa4QCZ7ckDDLZBMGn0wIdywTxSeqngh9LPXCv9Z3FQJvE7p4pS4AIb0lu6TziEN NLwg== 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=k33uva8py5s2sQ2S/wXwTEnMmE00okSQ3bv6VjoGK/4=; b=Yt2yfGeyxt24u639l3W0XWZ9pss++QhGq4w9YPx5LeekmLjbrsd+w8SjvH2UeTUXnc N5cpOFAwSljp1UryKtc4MOAxaBRlaYKvbCb/haqDEfkzVXcgPA5mj/7hPHYVXA1S/s6i i9GRRCQUHw3YPBDTJoLtA1eyBIEE61xFEp++EJcFTIDW8uu9YCohPsELjq23OtDwG2Hj yexBgPeLqDJtdYWjNeEpeq6C3H2WQDRYlXXrCbrcg4y1GvIWR07vUHDfL65euPHuuIQu e2c1julrugezTcZOpZlhswPt7sYmk/t4kLZ0yBmfRrzY1bFvGd31a0SdiXiulwDigW8U O6dg== X-Gm-Message-State: AOAM53188ItshWk+NORDG8YwuL7V2F852RIkzkCnTvE0BAmdsD423V7m f5YDkTicjZyPTN/IFw20kiF6oarwN98MfEXs171kvg== X-Google-Smtp-Source: ABdhPJznmS+DCdkfV67Q90sseiY8351bIVaeUAxLKuYAbuidYb6JUYEPLjjFbAaRquWAUiOqrjr+7KdtQeS+ptMNNLw= X-Received: by 2002:a05:6808:ec9:: with SMTP id q9mr14497632oiv.160.1637839393932; Thu, 25 Nov 2021 03:23:13 -0800 (PST) MIME-Version: 1.0 References: <000000000000c93bd505bf3646ed@google.com> <00000000000006b5b205d0f55d49@google.com> In-Reply-To: From: Dmitry Vyukov Date: Thu, 25 Nov 2021 12:23:02 +0100 Message-ID: Subject: Re: [syzbot] WARNING in inc_nlink (2) To: Miklos Szeredi Cc: syzbot , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Miklos Szeredi , syzkaller-bugs , Al Viro Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Nov 2021 at 08:25, Miklos Szeredi wrote: > > On Wed, 17 Nov 2021 at 06:32, syzbot > wrote: > > > > syzbot suspects this issue was fixed by commit: > > > > commit 97f044f690bac2b094bfb7fb2d177ef946c85880 > > Author: Miklos Szeredi > > Date: Fri Oct 22 15:03:02 2021 +0000 > > > > fuse: don't increment nlink in link() > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=10563ac9b00000 > > start commit: 1da38549dd64 Merge tag 'nfsd-5.15-3' of git://git.kernel.o.. > > git tree: upstream > > kernel config: https://syzkaller.appspot.com/x/.config?x=e2ffb281e6323643 > > dashboard link: https://syzkaller.appspot.com/bug?extid=1c8034b9f0e640f9ba45 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11f16d57300000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15758d57300000 > > > > If the result looks correct, please mark the issue as fixed by replying with: > > Highly unlikely: the original report was for sysvfs and the fix is for fuse. Hi Miklos, The fuse bug was folded into this report (on the dashboard you can see examples of reports in fuse). This is unavoidable for bugs that are left unaddressed for long. They become piles of assorted stuff. Now the best course of action is to mark it as fixed. Or we will exacerbate the problem even more: it will be a bug about sysvfs, this fuse bug, and the next similar bug in fuse and bugs in other file systems. #syz fix: fuse: don't increment nlink in link()