Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15055394rwb; Mon, 28 Nov 2022 07:33:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf5074yc054sXTQesSWrahYjRs+UufKZeAjlQmLELIoDW6ikjuVW90O7YqldlrRfphdiIRVM X-Received: by 2002:a17:906:2404:b0:7ad:d411:30af with SMTP id z4-20020a170906240400b007add41130afmr1016954eja.636.1669649585418; Mon, 28 Nov 2022 07:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669649585; cv=none; d=google.com; s=arc-20160816; b=qHKyfWu8EIbA9i8dz5esE0LjZcg/IQ3F256fMhW1HT1bOVi+Sib0ocXTWyJIMzrUgv md5EduGEtdjB1iJfFegMLHvrZU3mE00LN81jS/0UBaTLwKsyXvzrOA8hwDvtaMP9R9AH RnEDGFemaoTikoh4f7MgB5ZBLWTuEYW9iCQHlUA9uUgvV1YRQ9DlxlJ1blq2/KalgktD hY2fyPEhMb4kpb5PLm4QYmLDCEVKUGrE0QH375D8r+jyf93S/6AAiSoN4kyztifMLzto tDKi3W2suI9wiKVLhdIZTkI97kb0OwwpGj+FBw/htcCd5J1v5G99yygOg18zzXjVBF/5 p6cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=Heo27byu/ezrA9coHgXtmsVth+oZRdefAxp8/MnKvu4=; b=IXwnu3UxeOrnW2+kmEsgK0NlSnUu0fIEzQskiATpdZHQhhspQHfSSkWakweUUCV8Jy wUJPqq+Pxsffte4BCR8hX1+C8AVaXhjjpJnfc/1mnkVmLHkcwHYOGK/BaFKwjtamVWxe USPIP3g1kf9vNmSjc/8XSQXFFpgFHPSfmJ+F7vMrX14I4uj5P37ZYazmxmCEQBe6c2OA zI7SdnwqdjkEwSIT5NmFdkT25KHQVsd0nCbllon4sBqxCsc5GdxIlLQHG244ErC4v35C Ak4Nuwcop1S12i/xjeUtnkZszm5bnG5imBAZLEi47WnNXAKMQLgNlbcaI2HFtAhjiHi2 Uaww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tycho.pizza header.s=fm3 header.b="OLQT56/8"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=KNxvlxsi; 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 e13-20020a17090658cd00b007adbc807ca8si12308165ejs.137.2022.11.28.07.32.43; Mon, 28 Nov 2022 07:33:05 -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=@tycho.pizza header.s=fm3 header.b="OLQT56/8"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=KNxvlxsi; 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 S231440AbiK1PBC (ORCPT + 84 others); Mon, 28 Nov 2022 10:01:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230239AbiK1PBA (ORCPT ); Mon, 28 Nov 2022 10:01:00 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E3F2222A2 for ; Mon, 28 Nov 2022 07:00:59 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3146D3200035; Mon, 28 Nov 2022 10:00:58 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 28 Nov 2022 10:00:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho.pizza; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1669647657; x=1669734057; bh=Heo27byu/e zrA9coHgXtmsVth+oZRdefAxp8/MnKvu4=; b=OLQT56/8EplxY4L2+FzHfVbi4O RqW4YkiiNUd/s9ARdS0T3mMupX8Urj1NzSCLP1g+0wONVcJFNWHkd3E8tc2BY4d/ 6hu5BlghKgDh+ON4yQu94/3fqcKpEntNJwe9DRDEkBtr0r6VKD9uWsjGDrmsSUzC 0+eecQAC1rWn5gE0IhZmD5eXrW4gyH+QZKy9MxPQmTIg9ToHHn7zPpGYz74fzJyJ lm78HLa2Yp8tlYIzpDBk8loOLKbOuvkGLXjlZJ/QmSimgp0mh74aTUpcz2M7kiXx 9Ssmi8Bm7ptDDfVlodCFZQBrcEJvhQ62iiDpjgcxW1/MQFAGaqPFhZjyoKDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1669647657; x=1669734057; bh=Heo27byu/ezrA9coHgXtmsVth+oZ RdefAxp8/MnKvu4=; b=KNxvlxsiTJ142v0Du3bc6lDq3xSqmB44AhWaGS3jQZhf 8Q1rN4gwoA3P1AjsK3Tcr6g6jfKh/AUBW04nzHMBUvojBtckYWfmmOrCUgiWmbI7 6bXMmFNW8F7WiiCPgfIJZQCNmVOzfu9PhYUyVHdIIZfQdnZTXvL7p9SVAgAS6RaD Y+A2dr+L6q4pfWxsq5bKj1SgKqsfNJOHsxZTaMtzJUA2gw8NcL7+wwV+45BqbSz5 HswLE30fizecZZTuPPIvrgeJ4f0JnnWuCuWrKj+Y0aati9ApD8EVRMWF+N0DtrOJ /u/VK6FXy0E73rN64xtz7FWua4adNjrnMEBBiKIbkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrjedvgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefvhigthhho ucetnhguvghrshgvnhcuoehthigthhhosehthigthhhordhpihiiiigrqeenucggtffrrg htthgvrhhnpeeutedttefgjeefffehffffkeejueevieefudelgeejuddtfeffteeklefh leelteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hthigthhhosehthigthhhordhpihiiiigr X-ME-Proxy: Feedback-ID: i21f147d5:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Nov 2022 10:00:55 -0500 (EST) Date: Mon, 28 Nov 2022 08:00:51 -0700 From: Tycho Andersen To: Miklos Szeredi Cc: Eric Biederman , linux-kernel@vger.kernel.org, fuse-devel@lists.sourceforge.net, "Serge E . Hallyn" Subject: Re: [PATCH v3] fuse: In fuse_flush only wait if someone wants the return code Message-ID: References: <20221114160209.1229849-1-tycho@tycho.pizza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221114160209.1229849-1-tycho@tycho.pizza> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham 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 Hi Milkos, On Mon, Nov 14, 2022 at 09:02:09AM -0700, Tycho Andersen wrote: > v3: use schedule_work() to avoid other sleeps in inode_write_now() and > fuse_sync_writes(). Fix a UAF of the stack-based inarg. Thoughts on this version? Thanks, Tycho