selftests/sgx: Fix NULL-pointer-dereference upon early test failure
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.17.2 by commit bc72277b7541756d91c07afee6d768ec97777651, it was introduced in version v5.17 by commit 3200505d4de6436af799d7be743d9dc87450ee5a. For more details please see the references link.