Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1174083rwl; Thu, 5 Jan 2023 09:38:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXtdoH1uMOlXbOlAaUrnCwRUU3e8B3ym8EIBokLYmHCQokS36hYztOF6/86sK3ulGinspl1s X-Received: by 2002:aa7:db8d:0:b0:45c:835c:3679 with SMTP id u13-20020aa7db8d000000b0045c835c3679mr45194564edt.2.1672940290545; Thu, 05 Jan 2023 09:38:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672940290; cv=none; d=google.com; s=arc-20160816; b=EXuz2hosCJ5LuD7BbcIV+Ri/2im2XkwCJj9TNfyR9sX9N+UVt8duYb+OamEX7jIwsM 1uPdrcAM1Lalmx+AHwBT5tUIRrvTvDH6z9GzlygYmAmERDYoGbDWSUcELgTCa68zkd8J auGch0yGFuJIunSn+HY2lRQN2OQpL9m7zL0diD2x8G7ox4kA6+oPyiHSu50hapIUmDWf us+QsFmzfrOnRnbF77QAzG3DWidnWwCywqckxqL/hVGt1TxyDzkcU+aFCA8X1CpgaVhy 8UewNV4dmsfsYF2tYK3jbO0xjE1D5xwPJuUmA4ef+jgIcdCi0Uw61QGJMOTSbVBJX9Nn aKBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=6arApO6IYFcLwiEx1xQQun777cX20MCWlNjtRHJ5Clg=; b=W+/caBL+ZX6nhyntGe7vdbBgIT0VbEiTkds8b4sFJxXB+mWxIV449QoIjJ0gqtMJqW Llyf1DOCNWvU9UlRKgIV/DyJe8kBONh9hvfLUFKKD0xo80ls0NvzVv+Ebgq6RATp3WUt tn94iqL84TB2NXZClXKm//6h9p6eOG4bTv1hfq2OMJ0agBoQda/v0mHlMgowEyVzslBB e2pUJ71p95lXn4npvH8X1x3JbgXp2DT4m3hI3hG9YcZmQ48gJbjrYZLA5YeSNhW+bbD0 hJzI3M9q8iDM0DkohkNwfPh7Dit/XX2TbXvqtcf/SdEm93gy1LPWxf516+KLf+z0pmw9 1J4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dubeyko-com.20210112.gappssmtp.com header.s=20210112 header.b=uepsKThO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a50cc88000000b0047039339346si32629484edi.550.2023.01.05.09.37.57; Thu, 05 Jan 2023 09:38:10 -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=@dubeyko-com.20210112.gappssmtp.com header.s=20210112 header.b=uepsKThO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232849AbjAEQpl (ORCPT + 55 others); Thu, 5 Jan 2023 11:45:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233788AbjAEQph (ORCPT ); Thu, 5 Jan 2023 11:45:37 -0500 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BA4359334 for ; Thu, 5 Jan 2023 08:45:35 -0800 (PST) Received: by mail-qt1-x82b.google.com with SMTP id x11so30336758qtv.13 for ; Thu, 05 Jan 2023 08:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dubeyko-com.20210112.gappssmtp.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6arApO6IYFcLwiEx1xQQun777cX20MCWlNjtRHJ5Clg=; b=uepsKThOle1iENJ7DV2TsYHwy/gOQiuTQF0fNpBMQRR8+VabvCU10BPMzbZh1ORZXg 3MkOl+1WmB/YOuAUHwDScjl7S9g8SKYkBR9BtOnrgK+DaApmIuxT+midA2oFCc1pshKL /LBLrpF4wfUe3LCYZ7865wvKxInxFvIKQ/5OPQHJQMMcUP8NglSZDL1il/jyHarz2MTy XUdQQGjOApmZcO4QeaaRW+nU0FJEWSCPAfKDCbDjx0aXkWjegpdTqb6mEVNEZ52MqR0u IgC6ByABNBVj0lsR0KV++Fraa0FUxauGp1jP7KbvQz/h6DzdeffDZgyw2iGNH2NkrW6k SfRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6arApO6IYFcLwiEx1xQQun777cX20MCWlNjtRHJ5Clg=; b=uQoSl9cmpArcSHcF5bu5KMmSlAijnDWOAH0n1BmMe45TriatDg4Knv+Qu6oYK92uMA 95iGzUb/GpLsMwDsXnxc/Vz2erXNqy+kMmpusQ33K1eUduMjwHSw7jz16ilmhFTusuDG qKKixt18EJFv5H9GPPPtJ3Fn8ij13Cd9RA9+xiUmRuK66y6lgDyTjKRh1qfQLtD+51UU XT15W4ZXEzjbWE7Vy6DJy++OS6mGyK7w0NdopSuAaL2pf2uzql/DjRdb8/8++yg/sk2y fDYu5Yk3+bzsREwvzZCFmav/mz0ljggWtxp2mCp9dB0wqmyq5p8tczQ27j12pX0sYwCL +p6Q== X-Gm-Message-State: AFqh2kojoiHnZa+BALwRvStjrgvsIVsnGKvAh+prmm2CG/nrQ/F31Ffo tF1v7OKt+mN6y/Sjf9Fy9/iNKw== X-Received: by 2002:ac8:44b2:0:b0:3a9:89f1:82a with SMTP id a18-20020ac844b2000000b003a989f1082amr69143771qto.61.1672937134671; Thu, 05 Jan 2023 08:45:34 -0800 (PST) Received: from smtpclient.apple (172-125-78-211.lightspeed.sntcca.sbcglobal.net. [172.125.78.211]) by smtp.gmail.com with ESMTPSA id c9-20020ac85189000000b003a54a19c550sm21840745qtn.57.2023.01.05.08.45.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2023 08:45:33 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: [syzbot] [hfs?] WARNING in hfs_write_inode From: Viacheslav Dubeyko In-Reply-To: Date: Thu, 5 Jan 2023 08:45:31 -0800 Cc: Arnd Bergmann , Linus Torvalds , syzbot , Andrew Morton , christian.brauner@ubuntu.com, Damien Le Moal , Jeff Layton , Linux FS Devel , LKML , syzkaller-bugs@googlegroups.com, ZhangPeng , linux-m68k@lists.linux-m68k.org Content-Transfer-Encoding: quoted-printable Message-Id: <50D6A66B-D994-48F4-9EBA-360E57A37BBE@dubeyko.com> References: <000000000000dbce4e05f170f289@google.com> <5f45bb9a-5e00-48dd-82b0-46b19b1b98a3@app.fastmail.com> <2575F983-D170-4B79-A6BA-912D4ED2CC73@dubeyko.com> <46F233BB-E587-4F2B-AA62-898EB46C9DCE@dubeyko.com> To: Matthew Wilcox X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Jan 5, 2023, at 7:46 AM, Matthew Wilcox = wrote: >=20 > On Wed, Jan 04, 2023 at 08:37:16PM -0800, Viacheslav Dubeyko wrote: >> Also, as far as I can see, available volume in report (mount_0.gz) = somehow corrupted already: >=20 > Syzbot generates deliberately-corrupted (aka fuzzed) filesystem = images. > So basically, you can't trust anything you read from the disc. >=20 If the volume has been deliberately corrupted, then no guarantee that = file system driver will behave nicely. Technically speaking, inode write operation = should never happened for corrupted volume because the corruption should be detected = during b-tree node initialization time. If we would like to achieve such nice = state of HFS/HFS+ drivers, then it requires a lot of refactoring/implementation efforts. I = am not sure that it is worth to do because not so many guys really use HFS/HFS+ as the = main file system under Linux. Thanks, Slava.