debugfs: fix wait/cancellation handling during remove (CVE-2024-35793) | HOL Guard CVE