CVE-2022-49785

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*

History

07 Nov 2025, 17:49

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
CWE NVD-CWE-noinfo
References () https://git.kernel.org/stable/c/3b1c10fb754b0b67165e3f055a4208e5ba26dc89 - () https://git.kernel.org/stable/c/3b1c10fb754b0b67165e3f055a4208e5ba26dc89 - Patch
References () https://git.kernel.org/stable/c/5277e3d633a5d4157987f4aff068caa55e36db19 - () https://git.kernel.org/stable/c/5277e3d633a5d4157987f4aff068caa55e36db19 - Patch
References () https://git.kernel.org/stable/c/f0861f49bd946ff94fce4f82509c45e167f63690 - () https://git.kernel.org/stable/c/f0861f49bd946ff94fce4f82509c45e167f63690 - Patch

Information

Published : 2025-05-01 15:16

Updated : 2025-11-07 17:49


NVD link : CVE-2022-49785

Mitre link : CVE-2022-49785

CVE.ORG link : CVE-2022-49785


JSON object : View

Products Affected

linux

  • linux_kernel