diff options
author | pangliyuan <pangliyuan1@huawei.com> | 2024-12-24 16:18:23 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2025-01-18 15:31:35 +0100 |
commit | bdb0ca39e0acccf6771db49c3f94ed787d05f2d7 (patch) | |
tree | 2254247ca4e63c2f30a37606d833fb53eec6fab3 /net/lapb/lapb_timer.c | |
parent | 844c6fdc13cf3d9d251533631988a58f8356a8c8 (diff) |
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: 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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions