CVE-2022-49785 Details
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.
A vulnerability in the Linux kernel's handling of Intel Software Guard Extensions (SGX) has been addressed. The issue was in the 'sgx_validate_offset_length()' function, which checks 'offset' and 'length' parameters from userspace. The function lacked a proper overflow check on the addition of these parameters, potentially leading to unintended behavior. This vulnerability has been resolved by adding the necessary overflow check.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3b1c10fb754b0b67165e3f055a4208e5ba26dc89 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5277e3d633a5d4157987f4aff068caa55e36db19 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f0861f49bd946ff94fce4f82509c45e167f63690 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.11, < 5.15.81 >= 5.16, < 6.0.10 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 6.1 rc5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 7, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |