{"id":"CVE-2022-49785","published":"2025-05-01T14:09:18Z","modified":"2026-05-11T19:06:44Z","title":"x86/sgx: Add overflow check in sgx_validate_offset_length()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/sgx: Add overflow check in sgx_validate_offset_length()\n\nsgx_validate_offset_length() function verifies \"offset\" and \"length\"\narguments provided by userspace, but was missing an overflow check on\ntheir addition. Add it.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00203,"percentile":0.10124,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5277e3d633a5d4157987f4aff068caa55e36db19","tags":[]},{"url":"https://git.kernel.org/stable/c/3b1c10fb754b0b67165e3f055a4208e5ba26dc89","tags":[]},{"url":"https://git.kernel.org/stable/c/f0861f49bd946ff94fce4f82509c45e167f63690","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":2.02}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c6d26d370767fa227fc44b98a8bdad112efdf563, < 5277e3d633a5d4157987f4aff068caa55e36db19",">= c6d26d370767fa227fc44b98a8bdad112efdf563, < 3b1c10fb754b0b67165e3f055a4208e5ba26dc89",">= c6d26d370767fa227fc44b98a8bdad112efdf563, < f0861f49bd946ff94fce4f82509c45e167f63690"]},{"vendor":"Linux","product":"Linux","versions":["5.11"]}],"euvd":{"id":"EUVD-2025-12990","exploited":false,"provenance":"source"}}