From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B178DC433E0 for ; Wed, 13 May 2020 19:48:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6EC3B20659 for ; Wed, 13 May 2020 19:48:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390735AbgEMTsz (ORCPT ); Wed, 13 May 2020 15:48:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732218AbgEMTsz (ORCPT ); Wed, 13 May 2020 15:48:55 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8DA3C061A0C for ; Wed, 13 May 2020 12:48:54 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYxN4-007iqG-8X; Wed, 13 May 2020 19:48:50 +0000 Date: Wed, 13 May 2020 20:48:50 +0100 From: Al Viro To: Miklos Szeredi Cc: linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 00/12] vfs patch queue Message-ID: <20200513194850.GY23230@ZenIV.linux.org.uk> References: <20200505095915.11275-1-mszeredi@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, May 13, 2020 at 09:47:07AM +0200, Miklos Szeredi wrote: > On Tue, May 5, 2020 at 11:59 AM Miklos Szeredi wrote: > > > > Hi Al, > > > > Can you please apply the following patches? > > Ping? Could you please have a look at these patches? > > - /proc/mounts cursor is almost half the total lines changed, and that > one was already pretty damn well reviewed by you > > - unprivileged whiteout one was approved by the security guys > > - aio fsync one is a real bug, please comment on whether the patch is > acceptable or should I work around it in fuse > > - STATX_MNT_ID extension is a no brainer, the other one may or may not > be useful, that's arguable... > > - the others are not important, but I think useful > > - and I missed one (faccess2); amending to patch series I can live with that, modulo couple of trivial nits. Have you tested the /proc/mounts part for what happens if it's opened shitloads of times, with each instance lseek'ed a bit forward (all to the same position, that is)? That, in principle, allows an unpriveleged user to pile a lot of list entries and cause serious looping under a spinlock...