Menu

Star on GitHub · 3.2k

CVE-2023-52568

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: x86/sgx: Resolves SECS reclaim vs.

Published Mar 2, 2024CWE-476EPSS 0.22%

Overview

CVE-2023-52568 is a medium-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race

The SGX EPC reclaimer (ksgxd) may reclaim the SECS EPC page for an

enclave and set secs.epc_page to NULL. The SECS page is used for EAUG

and ELDU in the SGX page fault handler. However, the NULL check for

secs.epc_page is only done for ELDU, not EAUG before being used.

Fix this by doing the same NULL check and reloading of the SECS page as

needed for both EAUG and ELDU.

The SECS page holds global enclave metadata. It can only be reclaimed

when there are no other enclave pages remaining. At that point,

virtually nothing can be done with the enclave until the SECS page is

paged back in.

An enclave can not run nor generate page faults without a resident SECS

page. But it is still possible for a #PF for a non-SECS page to race

with paging out the SECS page: when the last resident non-SECS page A

triggers a #PF in a non-resident page B, and then page A and the

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-52568?

CVE-2023-52568 is a medium-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2023-52568?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52568?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52568?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52568 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2023

View all