android_kernel_motorola_sm6375/fs/ubifs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
pangliyuan 428aff8f7c ubifs: skip dumping tnc tree when zroot is null
[ Upstream commit bdb0ca39e0acccf6771db49c3f94ed787d05f2d7 ]

Clearing slab cache will free all znode in memory and make
c->zroot.znode = NULL, then dumping tnc tree will access
c->zroot.znode which cause null pointer dereference.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=219624#c0
Fixes: 1e51764a3c ("UBIFS: add new flash file system")
Signed-off-by: pangliyuan <pangliyuan1@huawei.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-03-13 12:42:59 +01:00
..
auth.c
budget.c ubifs: Reserve one leb for each journal head while doing budget 2023-03-11 16:44:09 +01:00
commit.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
compress.c
crypto.c
debug.c ubifs: skip dumping tnc tree when zroot is null 2025-03-13 12:42:59 +01:00
debug.h
dir.c ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path 2024-02-23 08:24:49 +01:00
file.c ubifs: Set page uptodate in the correct place 2024-04-13 12:51:23 +02:00
find.c
gc.c
io.c ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock() 2022-04-15 14:18:28 +02:00
ioctl.c ubifs: setflags: Make dirtied_ino_d 8 bytes aligned 2022-04-15 14:18:28 +02:00
journal.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
Kconfig
key.h
log.c
lprops.c
lpt.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
lpt_commit.c
Makefile
master.c
misc.c
misc.h
orphan.c
recovery.c
replay.c
sb.c
scan.c
shrinker.c
super.c ubifs: Correct the total block count by deducting journal reservation 2024-12-14 19:44:40 +01:00
tnc.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
tnc_commit.c ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit 2024-12-14 19:44:41 +01:00
tnc_misc.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
ubifs-media.h
ubifs.h ubifs: Fix build errors as symbol undefined 2023-03-11 16:44:08 +01:00
xattr.c