net: fix UaF in netns ops registration error path (CVE-2023-52999) | HOL Guard CVE