[GIT PULL] JFFS2, UBI and UBIFS changes for 5.9-rc1

From: Richard Weinberger
Date: Mon Aug 10 2020 - 14:27:38 EST


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(-)