Files
pangliyuan 77e5266e3d 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-02-08 09:58:01 +01:00
..
2024-07-12 21:53:35 +02:00
2024-09-12 11:58:45 +02:00
2024-07-12 21:53:35 +02:00
2023-02-02 21:13:53 +01:00
2024-07-12 21:53:35 +02:00
2024-07-12 21:53:35 +02:00
2024-07-12 21:53:35 +02:00
2020-08-02 22:59:03 +02:00
2024-07-12 21:53:35 +02:00
2021-04-15 22:00:26 +02:00