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