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.19.3 by commit 58c008d4d398f792ca67f35650610864725518fd, it was introduced in version v4.16 by commit 033ddf12bcf5326b93bd604f50a7474a434a35f9. For more details please see the references link.