sh: intc: Fix use-after-free bug in register_intc_controller() (CVE-2024-53165) | HOL Guard CVE