In the Linux kernel, the following vulnerability has been resolved:
x86/sgx: Add overflow check in sgxvalidateoffset_length()
sgxvalidateoffset_length() function verifies "offset" and "length" arguments provided by userspace, but was missing an overflow check on their addition. Add it.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49785.json"
}