Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2097019ybt; Mon, 15 Jun 2020 18:39:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQPpLzgefaA++6u+reyIyimbcC1H11F5rAWGAPf5bjBoJrF4LQOHSg3cFrcx/LSiXST+cs X-Received: by 2002:a17:906:b79a:: with SMTP id dt26mr595538ejb.422.1592271590686; Mon, 15 Jun 2020 18:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592271590; cv=none; d=google.com; s=arc-20160816; b=pVM9D/Am7oaPX3u1vhbBa8ssXPV5gPlOr+kYdq3q5KCFgXelExEzni3XQODIU2tUoK yebXFyON6NEj3HJp3yZVzUoR0OGbIhl5LvebrHEP7QtmWyulUo8halbhDyzXxQBtZLG2 9WaM18BSBhf9zMH+4/QRYV5EG/vfGKADa0qRNcpxuD8EsgeJV8tnYvrT44nJ6KYJxPD5 de6EV5DDXpjM6UKxFbS0PAeXHHpnVsjMLa+TubmDmoo2Sasf6PghsOQ/4eepzF/PuA4i v6LakZF92FoYg3oleJbIYs/7KjVCSYHs+njEoT/W8Ng1A72mtIhcl4hVMWioyQSwdDcL orcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature; bh=xMh92ChtsXia9yszVbB8XBW80SKYdVIfI1TvNqZjeKY=; b=vby0MkhDPbc5R/u+wNRXHOHU2GQnx4hdzjUC8ryqhzH+E2wiYziXyVquOcdfXzT1BX EaqiCk0kB8WV2o9P2JZUTtWuk5oh+AvNLuU0DmMvGhj9KmRSXfkDulUaln8yRUXpZewv zajBHOsNsIS8tgfgmDfNgD/TMmiRRi/J8J9YIS2URfCzVcLI1eTbG0dgWxAAuE7hx+tD FpbzTDFtlr1x8L8P8osjO8l1DQ9OoSayHD57aH10ePxlSuHpZgikKdhaTViTsVM2W7/8 MxTBrTdGcjQbKABGrZDA6kcKGGPJl3ULPRLMI7oaT4jMRvlmi2e4ObZveClJsAa75ccf 9j6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=A+PJJH1X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si9953045edt.481.2020.06.15.18.39.27; Mon, 15 Jun 2020 18:39:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=A+PJJH1X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726044AbgFPBgo (ORCPT + 99 others); Mon, 15 Jun 2020 21:36:44 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:22558 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725891AbgFPBgn (ORCPT ); Mon, 15 Jun 2020 21:36:43 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1592271402; h=In-Reply-To: Content-Type: MIME-Version: References: Message-ID: Subject: Cc: To: From: Date: Sender; bh=xMh92ChtsXia9yszVbB8XBW80SKYdVIfI1TvNqZjeKY=; b=A+PJJH1Xt1qKJdsdjwC/2GiQVbYTTb6JyPvP1WUxrbzo9IHtNKwUkUmxRUycqoD26ln1bRjI yUH0UQqYXhPA2Y9ZWYl8Lc8mU/okoI8xJNYbrPcB4JdS1iqei+KljWZgldEbdR+Yg1okie1n nMhjxQB6KiU6LjUFnCbaRC+QRkg= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-east-1.postgun.com with SMTP id 5ee8221d8fe116ddd9ecd3e4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 16 Jun 2020 01:36:29 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 694AEC43391; Tue, 16 Jun 2020 01:36:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from codeaurora.org (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: stummala) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9B682C433C8; Tue, 16 Jun 2020 01:36:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9B682C433C8 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=stummala@codeaurora.org Date: Tue, 16 Jun 2020 07:06:22 +0530 From: Sahitya Tummala To: Eric Biggers Cc: Satya Tangirala , Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, stummala@codeaurora.org Subject: Re: [PATCH] f2fs: fix use-after-free when accessing bio->bi_crypt_context Message-ID: <20200616013622.GC2916@codeaurora.org> References: <1592193588-21701-1-git-send-email-stummala@codeaurora.org> <20200615050019.GA3100@sol.localdomain> <20200615061633.GA23467@google.com> <20200615095316.GB2916@codeaurora.org> <20200615154720.GA902@sol.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200615154720.GA902@sol.localdomain> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 15, 2020 at 08:47:20AM -0700, Eric Biggers wrote: > On Mon, Jun 15, 2020 at 03:23:16PM +0530, Sahitya Tummala wrote: > > > > > > Should I fold this change into the original patch? Or keep it as a > > > separate patch when I send out the fscrypt/f2fs inline encryption > > > patches? > > > > It may be good to keep it seperate as we already have the base FBE patches in > > several downstream kernels, so this fix can be applied easily. But I will > > leave it up to you to take a call on this. > > > > We should fold it in because the patch this fixes isn't applied upstream yet. > > We'll need to submit this as a separate fix to the Android common kernels > because they already have a previous version of the inline encryption patchset. > (I assume that's where you have the code from.) But that doesn't affect what we > do upstream. Sure, no concerns from my side. It can be merged into the original series. Thanks, > > - Eric -- -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.