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=-5.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 8C1D4C11D3D for ; Thu, 27 Feb 2020 18:16:22 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 673872469B for ; Thu, 27 Feb 2020 18:16:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="Sx9JFk6d"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="Ly7QgcSi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="NiWHJc+K" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 673872469B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1j7Nhu-0007cz-1t; Thu, 27 Feb 2020 18:16:22 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1j7Nhs-0007cm-3A for linux-f2fs-devel@lists.sourceforge.net; Thu, 27 Feb 2020 18:16:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eIDeVTwH5BtJU1ot2tXW2YdLoV+5B87r/UNR9jAdM0U=; b=Sx9JFk6dUbS2PDH6P5lNT2sVby YEHgFKLDiGOeF1Zi5BGYUmxi1sY8lA1J9ewuFhbQh+DikrnSV0x2t2NkZHJ7VYUkYM2PhBhGJ1aGM eeiAjsu3LovF3NNOiJQ57upMNKuOZOlEoDawg1TFmB0otK7rrHo5hTsElC1wvW7zGnC0=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=eIDeVTwH5BtJU1ot2tXW2YdLoV+5B87r/UNR9jAdM0U=; b=Ly7QgcSiNG08mRLhKK3qCKZa6X l++rczgn9mOHpo3gYu5SQTNYAEGXMq+dp8onoYyheNxTKapdB0oqHvg1ynjs84jpvbmQzw8MnpE8p DJy9oLn4jXstuWh8vkaYBkbMN0hDYRUZY6KlAf24WGgVTAQNjO3Ba2ifzuWmi5s/d0KA=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1j7Nhp-00BO1A-Bu for linux-f2fs-devel@lists.sourceforge.net; Thu, 27 Feb 2020 18:16:20 +0000 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D39272469B; Thu, 27 Feb 2020 18:16:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582827366; bh=2PE3R8d7EhdIKt46XQ2dZ+Mh/XoXdR1/6SMtwfPECH4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NiWHJc+KuGnn3XOfNwlKUEiD2vH+x5ZLxmKuAgXg7JiEIGXwJ5/fjbipeDw9NnTNe so8SSrMbriBOVFIEQVI/MuxQtz6bPxCx2RxIYrpkBD/HWLsSXIql+Oz18uYrtDNZu8 HSyqGqROu2Rt82D5slR/ddLgBmSEdyB033P49gq0= Date: Thu, 27 Feb 2020 10:16:06 -0800 From: Jaegeuk Kim To: Eric Biggers Message-ID: <20200227181606.GB33965@google.com> References: <20200221045037.154450-1-ebiggers@kernel.org> <40698654-6332-f2b6-bb32-5ae8825fa66e@huawei.com> <20200227180854.GA877@sol.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200227180854.GA877@sol.localdomain> User-Agent: Mutt/1.12.2 (2019-09-21) X-Headers-End: 1j7Nhp-00BO1A-Bu Subject: Re: [f2fs-dev] [PATCH] f2fs: fix leaking uninitialized memory in compressed clusters X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 02/27, Eric Biggers wrote: > On Tue, Feb 25, 2020 at 04:53:02PM +0800, Chao Yu wrote: > > On 2020/2/21 12:50, Eric Biggers wrote: > > > From: Eric Biggers > > > > > > When the compressed data of a cluster doesn't end on a page boundary, > > > the remainder of the last page must be zeroed in order to avoid leaking > > > uninitialized memory to disk. > > > > > > Fixes: 4c8ff7095bef ("f2fs: support data compression") > > > Signed-off-by: Eric Biggers > > > > Reviewed-by: Chao Yu > > > > Jaegeuk, can you send this fix to Linus for 5.6? Okay. > > - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel