fork: only invoke khugepaged, ksm hooks if no error (CVE-2024-50263) | HOL Guard CVE