All reports
Medium

kernel: x86/sgx: Add overflow check in sgx_validate_offset_length()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49785

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-18

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.