From patchwork Mon Aug 10 18:27:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 1343074 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=UbIlcOgZ; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BQPcY2w5Vz9sT6 for ; Tue, 11 Aug 2020 04:29:01 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Subject:Message-ID:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=H/6DAGGub8V009r5bldbaC1A22QFEriOjaJCe+MQAX8=; b=UbIlcOgZMXry0uIqxKcgPYvo+d RaevIj+eWq5MrqluqyQJ0s0KcLdQ0JaTZKNVXgMDms3Gh3X8E/oWOPs3NFBb2CZJ8NPMhdT6yIm2s 8kJJoahKHo8WRdsU0n1t4TdMRr92JNSd7CuTV5kXBtrW+Ii87ldpoARs+5Aagxt9pJDLYUgHsrwKn lRUwQ8bpIt/IhVJLDnsXgiyV5V6cc6oi4rlsD2VMI0AUATZKZb0HvkbmV3WR1twGfBS1LIMEnc/yn cIdHev59yN3H+fBkyBWom4sQSWloZ2FtcxankJGsjCtuyPs5tycQY6xxS9YDNrHlfOcD1bpxmrwv4 dP3Dpk2A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k5CWQ-0004ER-6E; Mon, 10 Aug 2020 18:27:46 +0000 Received: from lithops.sigma-star.at ([195.201.40.130]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k5CWN-0004Dl-FI for linux-mtd@lists.infradead.org; Mon, 10 Aug 2020 18:27:44 +0000 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id CA06161D8ABB; Mon, 10 Aug 2020 20:27:33 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id zb-VI0CWQOcx; Mon, 10 Aug 2020 20:27:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 48A7261D8ABC; Mon, 10 Aug 2020 20:27:33 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Nb3mRZ3V-BmY; Mon, 10 Aug 2020 20:27:33 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id F347161D8ABB; Mon, 10 Aug 2020 20:27:32 +0200 (CEST) Date: Mon, 10 Aug 2020 20:27:32 +0200 (CEST) From: Richard Weinberger To: torvalds Message-ID: <1956790813.229084.1597084052878.JavaMail.zimbra@nod.at> Subject: [GIT PULL] JFFS2, UBI and UBIFS changes for 5.9-rc1 MIME-Version: 1.0 X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF78 (Linux)/8.8.12_GA_3809) Thread-Index: mNdKbqCSj6uMvkVJNBiccwZGdeEXuw== Thread-Topic: JFFS2, UBI and UBIFS changes for 5.9-rc1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200810_142743_645838_07C50494 X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mtd , linux-kernel Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Linus, The following changes since commit 92ed301919932f777713b9172e525674157e983d: Linux 5.8-rc7 (2020-07-26 14:14:06 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/for-linus-5.9-rc1 for you to fetch changes up to 798b7347e4f29553db4b996393caf12f5b233daf: jffs2: fix UAF problem (2020-08-02 23:56:13 +0200) ---------------------------------------------------------------- This pull request contains changes for JFFS2, UBI and UBIFS JFFS2: - Fix for a corner case while mounting - Fix for an use-after-free issue UBI: - Fix for a memory load while attaching - Don't produce an anchor PEB with fastmap being disabled UBIFS: - Fix for orphan inode logic - Spelling fixes - New mount option to specify filesystem version ---------------------------------------------------------------- Martin Kaistra (1): ubifs: add option to specify version for new file systems Randy Dunlap (1): ubifs: misc.h: delete a duplicated word Zhe Li (2): jffs2: fix jffs2 mounting failure jffs2: fix UAF problem Zhihao Cheng (3): ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabled ubi: fastmap: Free fastmap next anchor peb during detach ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename drivers/mtd/ubi/fastmap-wl.c | 5 +++++ drivers/mtd/ubi/wl.c | 3 ++- fs/jffs2/dir.c | 6 +++++- fs/jffs2/scan.c | 3 ++- fs/ubifs/journal.c | 10 ++++++---- fs/ubifs/misc.h | 2 +- fs/ubifs/sb.c | 5 +++-- fs/ubifs/super.c | 18 ++++++++++++++++++ fs/ubifs/ubifs.h | 1 + 9 files changed, 43 insertions(+), 10 deletions(-)