drivers:md:fix a potential use-after-free bug (CVE-2022-50022) | HOL Guard CVE