What’s Vulnerable › Vulnerabilities

CVE-2022-49785: x86/sgx: Add overflow check in sgx_validate_offset_length()

Description

In the Linux kernel, the following vulnerability has been resolved: x86/sgx: Add overflow check in sgx_validate_offset_length() sgx_validate_offset_length() function verifies "offset" and "length" arguments provided by userspace, but was missing an overflow check on their addition. Add it.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.81, 6.0.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49785 or the next vulnerability affects your stack