Received: by 10.192.165.148 with SMTP id m20csp4997530imm; Tue, 8 May 2018 19:36:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZroYGk2Bvfs0Xpu4TsNZTva0cPGzCCOQfKMYYYksCQmWOn6KZfUKhVEQe5ExZ3I3XoN2Veo X-Received: by 2002:a17:902:7e05:: with SMTP id b5-v6mr42847307plm.230.1525833381834; Tue, 08 May 2018 19:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525833381; cv=none; d=google.com; s=arc-20160816; b=aBR5/hfASvEPdtRVoW55pZ4OCoq+Btsh44O/CRYNgQukedZXm7pDoL1QKlPKXRuHq0 8vnBWqJ/2WXiGumfrnZNLg2SshA4eMPQgxvlm8ea/eR+AWXJPLb/TqZ8SulzYjc6rTJQ SOS7ll6fGZTRhnR2a1WjSV17Eor/pR9zkHRG/oS9R9sk8sBbCaFxUaCl8RPqnZ8mhrHe kOVnUvQkL7uzjd1y4/2EoIP0g6nZY7/sQDgH44OyWJHRWCuNHddt/Gdgyf1Bgz1bth+w or63llomd33cXdLNPimDHdFs1DxwL57bkAvYcDLZU0Z/+3vCFdpGbXaPedaQtqttN8Hq yaxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Vmv6VYfOIXSXi7WDeEofp8rbbUqpjFMW29YQ9/UzPys=; b=QcvwYdz+IPge6UrmPINGqPPx14aIxibznj9LEud6U1250LsOKuKCkkSapQfYmoQtkf 4YZH8YxjFtymf4HmdhYjQSFoYaJSmmuhlikFquVe93bBvA3mZFykw/18V+mBcllHYrhx ekFRnKAjQCtRsCgdd5rsyLRJa626ROIU2rn7hhxpUKrQ3Y6pRxJ43OWT+UTHxm9pYDZM 4KINvXros9/oGkx7wDlXzD+t4FB+NIRxmEidm2ER/EMDdLQxJD+3MMjH1FW7VXShppcV QJ5bI95XqkaCe3i/sX2ojg5R2jMw8H5OgRh0YzKsu5B2QPIDyITDSYUVNEAQdhRupGZG i9qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vM7zzCKJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u17-v6si25694296plj.182.2018.05.08.19.36.07; Tue, 08 May 2018 19:36:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vM7zzCKJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933630AbeEICfa (ORCPT + 99 others); Tue, 8 May 2018 22:35:30 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:35989 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932526AbeEICf1 (ORCPT ); Tue, 8 May 2018 22:35:27 -0400 Received: by mail-pl0-f67.google.com with SMTP id v24-v6so3373558plo.3; Tue, 08 May 2018 19:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Vmv6VYfOIXSXi7WDeEofp8rbbUqpjFMW29YQ9/UzPys=; b=vM7zzCKJKy/D3WSETgLXWZE+JRu5mc8yk8AAWje4qVq1L7hnZGbucR+jkPk3rZEWsk HSESxGGIDjNvzMxTXjChVxxGgFBlIv142PbyKHUZ6rxsnVwu327KGtdinHNsn3MMtvSh NyvrZnSNXFcBCcVdz2bm/CqzM0RicHzBLFzujvD9iMgYCTNa/vHieku+Wj0DttHNmCQ4 iSxEbyqCP8hJB5OnZtZKhxWIlgzDsTF0npd9c2CoE8eBMOAvXoXDvHrquozqs91OxcgJ UAVD24W2A1PwZ/PcZClAd5GRp1X2sdeyJW9bI0TzG1RgRjb7OLA8xdn+8lSSprCRvkax TlDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Vmv6VYfOIXSXi7WDeEofp8rbbUqpjFMW29YQ9/UzPys=; b=YsSD6u1hAMlLxpYUkwE3ttNTIno3czCqaGuVXmnr/G4rXKVKwy37LDQxEBpVMTJXUg oALEpgQ3y3v6v4n/2/eK7kUt2gQZ2axXVODLY1rnmmzXsNBkDUOvdRCS5UE5vctpC2XT gMn14TMf9S1mqeRzzaMj1wUp0+2KARxgZzk9zJZYS/r8o20udIEC24YEoCGKQuejLYN/ AXmqjoIKeDin/Mqi2NQ6KdkSPACpFJE57by+fniT7DsoVUkbFA1lBOkm62URF9xLsLRi s3jwCcftMV22eRX5SnTiya5KooO8EQlCKoP+G+7PFRXBOHSzQTTMAYI4XC+3SRaAAc89 qlug== X-Gm-Message-State: ALQs6tB2mnqPvXMtiUK27xfAVnPv5ajq2WD2Ld/mYWC7Qv1IWxFwuJVu 2E0m5gfKl2d5hox2hEf8VRg= X-Received: by 2002:a17:902:ab8d:: with SMTP id f13-v6mr43410839plr.81.1525833326050; Tue, 08 May 2018 19:35:26 -0700 (PDT) Received: from sol.localdomain (c-67-185-97-198.hsd1.wa.comcast.net. [67.185.97.198]) by smtp.gmail.com with ESMTPSA id w8sm33426440pfk.112.2018.05.08.19.35.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 May 2018 19:35:25 -0700 (PDT) Date: Tue, 8 May 2018 19:37:21 -0700 From: Eric Biggers To: Dave Chinner Cc: Dmitry Vyukov , syzbot , "Darrick J. Wong" , LKML , linux-xfs@vger.kernel.org, syzkaller-bugs Subject: Re: WARNING: bad unlock balance in xfs_iunlock Message-ID: <20180509023721.GA711@sol.localdomain> References: <20180403043854.GL1150@dastard> <20180501225159.GY23861@dastard> <20180509005011.GP23861@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180509005011.GP23861@dastard> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 09, 2018 at 10:50:11AM +1000, Dave Chinner wrote: > On Tue, May 08, 2018 at 09:56:01AM +0200, Dmitry Vyukov wrote: > > On Wed, May 2, 2018 at 12:51 AM, Dave Chinner wrote: > > >> >>> Hello, > > >> >>> > > >> >>> syzbot hit the following crash on upstream commit > > >> >>> 86bbbebac1933e6e95e8234c4f7d220c5ddd38bc (Mon Apr 2 18:47:07 2018 +0000) > > >> >>> Merge branch 'ras-core-for-linus' of > > >> >>> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > > >> >>> syzbot dashboard link: > > >> >>> https://syzkaller.appspot.com/bug?extid=84a67953651a971809ba > > >> >>> > > >> >>> C reproducer: https://syzkaller.appspot.com/x/repro.c?id=5719304272084992 > > >> >>> syzkaller reproducer: > > >> >>> https://syzkaller.appspot.com/x/repro.syz?id=5767783983874048 > > >> >> > > >> >> What a mess. A hand built, hopelessly broken filesystem image made > > >> >> up of hex dumps, written into a mmap()d region of memory, then > > >> >> copied into a tmpfs file and mounted with the loop device. > > >> >> > > >> >> Engineers that can debug broken filesystems don't grow on trees. If > > >> >> we are to have any hope of understanding what the hell this test is > > >> >> doing, the bot needs to supply us with a copy of the built > > >> >> filesystem image the test uses. We need to be able to point forensic > > >> >> tools at the image to decode all the structures into human readable > > >> >> format - if we are forced to do that by hand or jump through hoops > > >> >> to create our own filesystem image than I'm certainly not going to > > >> >> waste time looking at these reports... > > >> > > > >> > Hi Dave, > > >> > > > >> > Here is the image: > > >> > https://drive.google.com/file/d/1jzhGGe5SBJcqfsjxCLHoh4Kazke1oTfC/view > > >> > > >> Have anybody looked at the bug and the image yet? > > > > > > Yes, I did that a couple of weeks ago. Couldn't reproduce on a TOT > > > kernel here. > > > > Do you think it is fixed now? What fixed it? The bug was there. > > We merge fixes for fuzzing issues all the time. IIRC a big batch of > them from the xfstests fuzzing infrastructure went into 4.17-rc1. > > If you want a commit, then do a bisect.... > The fix was commit 8241f7f983b9728: #syz fix: xfs: don't iunlock the quota ip when quota block - Eric