ubi: Fix use-after-free when volume resizing failed (CVE-2023-53800) | HOL Guard CVE