diff options
| author | pangliyuan <pangliyuan1@huawei.com> | 2024-12-24 16:18:23 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:58:01 +0100 |
| commit | 77e5266e3d3faa6bdcf20d9c68a8972f6aa06522 (patch) | |
| tree | a56ebd753be46ae3472b278f2aa2e24d727a2310 /scripts/checkstack.pl | |
| parent | 589444be701d62555216c0f7c2b31d31e6a6a919 (diff) | |
| download | linux-77e5266e3d3faa6bdcf20d9c68a8972f6aa06522.tar.gz linux-77e5266e3d3faa6bdcf20d9c68a8972f6aa06522.tar.bz2 linux-77e5266e3d3faa6bdcf20d9c68a8972f6aa06522.zip | |
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: 1e51764a3c2a ("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>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
