[GIT PULL] JFFS2/UBIFS and UBI changes for 5.12

From: Richard Weinberger
Date: Sun Feb 21 2021 - 15:03:38 EST


Linus,

The following changes since commit 92bf22614b21a2706f4993b278017e437f7785b3:

Linux 5.11-rc7 (2021-02-07 13:57:38 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git tags/for-linus-5.12-rc1

for you to fetch changes up to 42119dbe571eb419dae99b81dd20fa42f47464e1:

ubifs: Fix error return code in alloc_wbufs() (2021-02-13 22:58:44 +0100)

----------------------------------------------------------------
This pull request contains changes (actually just fixes) for UBIFS

JFFS2:
- Fix for use-after-free in jffs2_sum_write_data()
- Fix for out-of-bounds access in jffs2_zlib_compress()

UBI:
- Remove dead/useless code

UBIFS:
- Fix for a memory leak in ubifs_init_authentication()
- Fix for high stack usage
- Fix for a off-by-one error in xattrs code

----------------------------------------------------------------
Arnd Bergmann (1):
ubifs: replay: Fix high stack usage, again

Dinghao Liu (1):
ubifs: Fix memleak in ubifs_init_authentication

Jubin Zhong (1):
ubi: remove dead code in validate_vid_hdr()

Sascha Hauer (1):
ubifs: Fix off-by-one error

Tom Rix (1):
jffs2: fix use after free in jffs2_sum_write_data()

Wang ShaoBo (1):
ubifs: Fix error return code in alloc_wbufs()

Yang Yang (1):
jffs2: check the validity of dstlen in jffs2_zlib_compress()

Zheng Yongjun (1):
ubi: eba: Delete useless kfree code

drivers/mtd/ubi/eba.c | 1 -
drivers/mtd/ubi/io.c | 7 +------
fs/jffs2/compr_rtime.c | 3 +++
fs/jffs2/summary.c | 3 +++
fs/ubifs/auth.c | 2 +-
fs/ubifs/journal.c | 2 +-
fs/ubifs/replay.c | 4 +++-
fs/ubifs/super.c | 4 +++-
fs/ubifs/xattr.c | 2 +-
9 files changed, 16 insertions(+), 12 deletions(-)