linux-yocto/fs/ubifs
pangliyuan bdb0ca39e0 ubifs: skip dumping tnc tree when zroot is null
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>
2025-01-18 15:31:35 +01:00
..
auth.c ubifs: auth.c: fix kernel-doc function prototype warning 2024-01-05 16:34:39 +01:00
budget.c
commit.c ubifs: Check @c->dirty_[n|p]n_cnt and @c->nroot state under @c->lp_mutex 2024-01-05 17:03:41 +01:00
compress.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
crypto.c
debug.c ubifs: skip dumping tnc tree when zroot is null 2025-01-18 15:31:35 +01:00
debug.h ubifs: correct UBIFS_DFS_DIR_LEN macro definition and improve code clarity 2024-07-12 21:52:24 +02:00
dir.c ubifs: store cookie in private data 2024-09-12 11:58:45 +02:00
file.c fs: Convert aops->write_begin to take a folio 2024-08-07 11:33:21 +02:00
find.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
gc.c
io.c
ioctl.c ubifs: remove unused ioctl flags GETFLAGS/SETFLAGS 2024-11-14 17:56:13 +01:00
journal.c ubifs: Fix uninitialized use of err in ubifs_jnl_write_inode() 2024-11-15 17:45:25 +01:00
Kconfig
key.h
log.c
lprops.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
lpt_commit.c ubifs: dump_lpt_leb: remove return at end of void function 2025-01-18 15:26:40 +01:00
lpt.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
Makefile
master.c ubifs: add check for crypto_shash_tfm_digest 2024-07-12 22:01:09 +02:00
misc.c
misc.h
orphan.c ubifs: Display the inode number when orphan twice happens 2024-11-14 17:49:31 +01:00
recovery.c
replay.c ubifs: fix kernel-doc warnings 2024-07-12 21:53:35 +02:00
sb.c
scan.c
shrinker.c
super.c This pull request contains updates for JFFS2, UBI and UBIFS: 2024-11-30 10:32:47 -08:00
sysfs.c ubifs: correct UBIFS_DFS_DIR_LEN macro definition and improve code clarity 2024-07-12 21:52:24 +02:00
tnc_commit.c ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit 2024-11-14 19:46:58 +01:00
tnc_misc.c ubifs: dbg_check_idx_size: Fix kmemleak if loading znode failed 2024-02-25 21:40:11 +01:00
tnc.c ubifs: Remove ineffective function ubifs_evict_xattr_inode() 2024-11-14 17:33:11 +01:00
ubifs-media.h
ubifs.h ubifs: Remove ineffective function ubifs_evict_xattr_inode() 2024-11-14 17:33:11 +01:00
xattr.c ubifs: xattr: remove unused anonymous enum 2024-11-14 19:30:26 +01:00