net: avoid potential UAF in default_operstate() (CVE-2024-56635) | HOL Guard CVE