tee: add overflow check in registershmhelper()
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.15.62 by commit c12f0e6126ad223806a365084e86370511654bf1, it was introduced in version v4.16 by commit 033ddf12bcf5326b93bd604f50a7474a434a35f9. For more details please see the references link.