In the Linux kernel, the following vulnerability has been resolved: tee: amdtee: fix an ISERR() vs NULL bug The _getfreepages() function does not return error pointers it returns NULL so fix this condition to avoid a NULL dereference.