net: microchip: vcap: Fix use-after-free error in kunit test (CVE-2024-46831) | HOL Guard CVE