Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10297890rwp; Thu, 20 Jul 2023 18:44:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlF03r+7ZaPLDM91l7aGv6gceCNUmJYY8VKOJuZOInap5IQJDubjQ3Iwip4n28ai9YbruXxa X-Received: by 2002:a05:6808:1144:b0:3a3:e6d4:69d6 with SMTP id u4-20020a056808114400b003a3e6d469d6mr861920oiu.7.1689903875685; Thu, 20 Jul 2023 18:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689903875; cv=none; d=google.com; s=arc-20160816; b=R/lJANRfOFSMet9s1YZoY3XOlHQhMbXWgRYKIAahYCwObDVvEK5jnrj8KR2Zxi6CXo /F66kX/P57ghoXtj4ijkukvWMSXrp2Fi8iUGzkU+LOqg7eUFubk+fGJ6Nrt/oQA8JQcK 81Lli4JGZLQabtkG7OeO6gl1pxsr/a2lhm/DJxNbJ32fu00AGmHK1K6O+dxYV4qD7LkR XrjKpuIeqICB6KdtMXDbznvQtntM+HrQb70vnZiJwOdoMIUCnY9pabfJQNsIriSNI2XH cPq55e/uCJJk0HCmf/wZXO8oRQASZmkpKh9/g3h+ca48CORjuXsT4iaD+KJtcFKE0oAV m5GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:cc:references:message-id:date :subject:mime-version:from:content-transfer-encoding; bh=w00qT7WIbO7SDNhHvznPe5JJ8+GZidyeNry7nlUTw34=; fh=aDYnMfDsq47gBRElJt8zs8m73VKzSUsR5pF6Ow5Ikt0=; b=GfIbYn4s6ol+qFpkl3C4jGP7xJ212UhHqpC8vmuMSnut88hVjEf9H6f9KLbnYaCIil 5SLrazvryDRmaP6IEE0SKUVGhVbhGNveMDaYq3WmWexZQBWRK7O7WfDyOEBQ3Y+Uo5Ds dqwsUg5MTEvnb29GKB9171wpDagVG5A2HBXBgdh0ASFRUf/8OKedsD2oo7lD0jycc2FH U0k1J5iYzc5cqBnsJ7MU7zUSv3Pl5YtklB3mm3IbgO0kzbeyKY+I2+ByMyfKbshcrEn9 1DXTgG/40Bfb6KKSG59j/b6UB4CI1EMOxaLzqnZqCZeW+unhh1lazkJJRsTgMgrLFX2S q57g== ARC-Authentication-Results: i=1; mx.google.com; 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 n4-20020a635904000000b0055383df74c7si1698246pgb.224.2023.07.20.18.44.23; Thu, 20 Jul 2023 18:44:35 -0700 (PDT) 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; 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 S229653AbjGUBib convert rfc822-to-8bit (ORCPT + 99 others); Thu, 20 Jul 2023 21:38:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbjGUBi2 (ORCPT ); Thu, 20 Jul 2023 21:38:28 -0400 X-Greylist: delayed 580 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 20 Jul 2023 18:38:26 PDT Received: from powerslave.purple-cat.net (powerslave.purple-cat.net [182.54.165.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97A022727; Thu, 20 Jul 2023 18:38:26 -0700 (PDT) Received: from smtpclient.apple (138.76.224.49.dyn.cust.vf.net.nz [49.224.76.138]) (Authenticated sender: mike@purple-cat.net) by powerslave.purple-cat.net (Postfix) with ESMTPA id 36002114006B; Fri, 21 Jul 2023 13:28:37 +1200 (NZST) Authentication-Results: powerslave.purple-cat.net; auth=pass smtp.auth=mike@purple-cat.net smtp.mailfrom=mike@purple-cat.net Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT From: Mike Hosken Mime-Version: 1.0 (1.0) Subject: Re: [syzbot] [hfs?] WARNING in hfs_write_inode Date: Fri, 21 Jul 2023 13:28:25 +1200 Message-Id: <933DF777-0CE9-4DFE-B7C7-AF095919E4F0@purple-cat.net> References: Cc: Matthew Wilcox , Jeffrey Walton , John Paul Adrian Glaubitz , Dmitry Vyukov , Viacheslav Dubeyko , Arnd Bergmann , 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, debian-ports , torvalds@linux-foundation.org In-Reply-To: X-Mailer: iPhone Mail (20F75) X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,MISSING_HEADERS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removing support for a file system and dam the user base who happily and actively use the file system is never the right option. There are always a lot of users who use so called obsolete hardware and various software to support their needs every day. They don’t subscribe to mailing lists or are in no way active in the community and they depend on Linux continuing to support them. Changing the status quo for a particularly narrow attack surface should never be taken. Not having a maintainer is not ideal but the code has been very reliable and as the saying goes if it’s not broken …….. If a serious problem did come up with this file system there are a number of developers that could do a fix and not be its full time maintainer. Calling for the removal is just nonsensical to me. Mike Hosken Sent via my iPhone > On 21/07/2023, at 11:12, Linus Torvalds wrote: > > On Thu, 20 Jul 2023 at 15:37, Matthew Wilcox wrote: >> >> I think you're missing the context. There are bugs in how this filesystem >> handles intentionally-corrupted filesystems. That's being reported as >> a critical bug because apparently some distributions automount HFS/HFS+ >> filesystems presented to them on a USB key. Nobody is being paid to fix >> these bugs. Nobody is volunteering to fix these bugs out of the kindness >> of their heart. What choice do we have but to remove the filesystem, >> regardless of how many happy users it has? > > You're being silly. > > We have tons of sane options. The obvious one is "just don't mount > untrusted media". > > Now, the kernel doesn't know which media is trusted or not, since the > kernel doesn't actually see things like /etc/mtab and friends. So we > in the kernel can't do that, but distros should have a very easy time > just fixing their crazy models. > > Saying that the kernel should remove a completely fine filesystem just > because some crazy use-cases that nobody cares about are broken, now > *that* just crazy. > > Now, would it be good to have a maintainer for hgs? Obviously. But no, > we don't remove filesystems just because they don't have maintainers. > > And no, we have not suddenly started saying "users don't matter". > > Linus >