Skip to contentSkip to conversation

UBI/UBIFS fixes for v5.7-rc1

GIT PULL Merged Richard Weinberger 2 participants 2 messages Apr 7, 2020 Memory technology devices (MTD)

lore
Share & tools
lore

Richard Weinberger

author maintainer
#0 lore raw

Linus,

The following changes since commit 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e:

Linux 5.6-rc7 (2020-03-22 18:31:56 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 3676f32a98cd6ed4481c21bceb8b4829d4b6d1cf:

ubi: ubi-media.h: Replace zero-length array with flexible-array member (2020-03-30 23:02:37 +0200)

----------------------------------------------------------------
This pull request contains fixes for UBI and UBIFS:

- Fix for memory leaks around UBIFS orphan handling
- Fix for memory leaks around UBI fastmap
- Remove zero-length array from ubi-media.h
- Fix for TNC lookup in UBIFS orphan code

----------------------------------------------------------------
Gustavo A. R. Silva (1):
ubi: ubi-media.h: Replace zero-length array with flexible-array member

Hou Tao (2):
ubi: fastmap: Free unused fastmap anchor peb during detach
ubi: fastmap: Only produce the initial anchor PEB when fastmap is used

Liu Song (1):
ubifs: Fix out-of-bounds memory access caused by abnormal value of node_len

Richard Weinberger (1):
ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans()

Zhihao Cheng (2):
ubifs: ubifs_jnl_write_inode: Fix a memory leak bug
ubifs: ubifs_add_orphan: Fix a memory leak bug

 drivers/mtd/ubi/fastmap-wl.c | 15 +++++++++++++--
 drivers/mtd/ubi/ubi-media.h  |  2 +-
 drivers/mtd/ubi/wl.c         |  3 ++-
 fs/ubifs/io.c                | 16 ++++++++++++++--
 fs/ubifs/journal.c           |  1 +
 fs/ubifs/orphan.c            | 13 +++++++++----
 6 files changed, 40 insertions(+), 10 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 7 Apr 2020 14:38:01 +0200 (CEST):

The pull request you sent on Tue, 7 Apr 2020 14:38:01 +0200 (CEST):

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/763dede1b24886d327bfaed7cf59ee3c01c7913e

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker