CVE-2022-49785

MEDIUM EPSS 5.3%
Published May 1, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published May 1, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
5.3% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 7

VendorProductVersionRange
linuxlinux_kernel*≥5.11  –  <5.15.81
linuxlinux_kernel*≥5.16  –  <6.0.10
linuxlinux_kernel6.1any
linuxlinux_kernel6.1any
linuxlinux_kernel6.1any
linuxlinux_kernel6.1any
linuxlinux_kernel6.1any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/3b1c10fb754b0b67165e3f055a4208e5ba26dc89
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5277e3d633a5d4157987f4aff068caa55e36db19
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/f0861f49bd946ff94fce4f82509c45e167f63690
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/3b1c10fb754b0b67165e3f055a4208e5ba26dc89
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5277e3d633a5d4157987f4aff068caa55e36db19
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/f0861f49bd946ff94fce4f82509c45e167f63690
    Patch