Received: by 10.192.165.148 with SMTP id m20csp5576802imm; Wed, 9 May 2018 07:15:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpKsz60r67TMjwcmJgEw0C2pmu13mX2xk0mxZxuZH4vuywI1gRZOCBSXkbUTm4sPrG3bijK X-Received: by 2002:a63:8049:: with SMTP id j70-v6mr36870382pgd.12.1525875300284; Wed, 09 May 2018 07:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525875300; cv=none; d=google.com; s=arc-20160816; b=AWKBx9DcXIS77Vg1tAQ6VN7e7MozR2VXJBH5ilR5tOp8kkHUIt2oeBSlXzYL+ku5jP bATKZl7Uonu8wItHLJi3HokzH+MQaebROg2FxgzZz/aAE7pt01A66iQ7GxvYgZT+it+0 KfmdpAV5HLqmc8M5bT1zkcFHn+FINoGEfoPbhsjWSUbz6Wgw9drS+i8wxZc+mqj+grlY j9GDAAkS7RUFOO/wozmaIXKFGoKkQ5+4XzWjs8g3GfY5M1Fvhj7d4x+4F5Ptkfhnczy0 AuKVchgzSRxPz6JYot2KL5NJW591CX4zDewXwuJu7CrG+LAzOLoFi+A+4L8tnnLnHtKN /EOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=LMxhg03r174oEuVfM5dMKNuI+9xyNshcFnASIRshoz4=; b=gW8BKs2HhVW33RvN+JGgohDrbVWfWgPHTBUFSHp2u1/J06eDhLfVYsXW1IxmiCi77v SIuKNEjZm09RU+XKIPixvJf1IXpryCVhD7Lg96S347zIjYg60VBhuY8s6thxMbFxUT8q nW4cPS8ksE8rxL+S3hAoF/anLsDadvo95gfyzzonOUxEGCA06OqcipiXfMeDUx4hLE4T S59bnq0gZJb1ETDxAQKHifQ3J84MpPbjiKIFBsw8XN1y+s7ztr5J+5sxnDgHCniAl1d+ x0Pdu0tClRl8JMlgwuiY7kT5Yjx/NuY4l/kWv63keuX2xd3HDe/CzDWAq70pWEcauR1+ /uFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tjecZANZ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si26805113plo.352.2018.05.09.07.14.45; Wed, 09 May 2018 07:15:00 -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=@google.com header.s=20161025 header.b=tjecZANZ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756530AbeEIOOU (ORCPT + 99 others); Wed, 9 May 2018 10:14:20 -0400 Received: from mail-pg0-f49.google.com ([74.125.83.49]:41521 "EHLO mail-pg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756494AbeEIOOS (ORCPT ); Wed, 9 May 2018 10:14:18 -0400 Received: by mail-pg0-f49.google.com with SMTP id m21-v6so22748659pgv.8 for ; Wed, 09 May 2018 07:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=LMxhg03r174oEuVfM5dMKNuI+9xyNshcFnASIRshoz4=; b=tjecZANZvSwNVZF/CmuBE1+dmOhmPJM80O/BwIq2fAGcpkGmtNiaOv4v6GQioDhGfL 7GQ+U65YI3tlC+WhXpz5inLEw9bt9d28m16yuu3ro0S+zyCWva1CkHAEDuHA50KNdQxP oJV1zG9rb9ObuDT8S9cwam2s3ZwfYFTP7KzqJKWzA1+4NObjYou9C7LSms0Jm2TQ8URs I6LEZO7dwL69G9YGFOcCan6Cy+qe99UE3pMUxwFndPfx8W2Olii4zBwzq/jLG5xmLh03 KabwMry4N3WxbQdJnWN6chUaB/rX/ui+hddG2jIwkTeJu4mEZF7pq0NVKzqyOiRskLDr wH+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LMxhg03r174oEuVfM5dMKNuI+9xyNshcFnASIRshoz4=; b=oDOgbN1Sfpj6tdMd9YD/3XrOOU0ATqNcgIikx21wWpk0FyWqv1Fr7Qb07KT70sswrR ylyd28aKMKd35BlHEqNnGebk4ZyacvJxkFanVJskDNwoqinM1T+WVvCaHlj+q622UOmd 6sxUVo+m90KFYA/9lOrzXsKFAgEvEvGRYtDV+5mDyqcRI58wYZudQpEoIY8P5+XiFTSV EYRSVDymtkvTBiMrvFlnqvr2SX9IQmLto4hzg2ozDXSm3/LraGSTCCESIW0Q2Q/3/esE ZEabZZrgxY6WweVWejtw/FoCZVc7VzVwsOZmHjASCogddmaTbiGCBqV86A/aDQUUBhre LfAw== X-Gm-Message-State: ALQs6tDVHam/gWsHvB/u0rz+61yfbphBmEsywFh8henAZZUdekVeGNbe L3nk0W4zuuvDiV/QfjN2tKTXDLLHsuPtxq2IsWFGGw== X-Received: by 2002:a65:5cc6:: with SMTP id b6-v6mr35112858pgt.84.1525875258075; Wed, 09 May 2018 07:14:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.149.24 with HTTP; Wed, 9 May 2018 07:13:57 -0700 (PDT) In-Reply-To: <20180509135528.GE28388@thunk.org> References: <20180403043854.GL1150@dastard> <20180501225159.GY23861@dastard> <20180509005011.GP23861@dastard> <20180509135528.GE28388@thunk.org> From: Dmitry Vyukov Date: Wed, 9 May 2018 16:13:57 +0200 Message-ID: Subject: Re: WARNING: bad unlock balance in xfs_iunlock To: "Theodore Y. Ts'o" , Dave Chinner , Dmitry Vyukov , syzbot , "Darrick J. Wong" , LKML , linux-xfs@vger.kernel.org, syzkaller-bugs Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 9, 2018 at 3:55 PM, Theodore Y. Ts'o wrote: >>>> 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 > > A suggestion --- insteading of forcing human beings --- either > overworked file system developers, or understaffed fuzzing tool teams, > to have to manually pull out the file system image out from the C > repro, if it's too hard to add a link where the file system iamge can > be downloaded from the Syzkaller web application --- how about adding > an option to the C repro template which causes it to dump the image to > a file and then immediately exit? Hi Ted, That's what I proposed above: https://groups.google.com/d/msg/syzkaller-bugs/KJNNTgTdg_g/NRxarDcYBgAJ But I did not get response yet.