[PATCH OLK-5.10 3/3] ubifs: fix possible dereference after free