Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-52568 — kernel

🟡 CVSS 4.7 — Medium ✅ No Known Exploit NVD
4.7
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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 SECS

both are paged out before the #PF on B is handled.

Hitting this bug requires that race triggered with a #PF for EAUG.

Following is a trace when it happens.

BUG: kernel NULL pointer dereference, address: 0000000000000000

RIP: 0010:sgx_encl_eaug_page+0xc7/0x210

Call Trace:

? __kmem_cache_alloc_node+0x16a/0x440

? xa_load+0x6e/0xa0

sgx_vma_fault+0x119/0x230

__do_fault+0x36/0x140

do_fault+0x12f/0x400

__handle_mm_fault+0x728/0x1110

handle_mm_fault+0x105/0x310

do_user_addr_fault+0x1ee/0x750

? __this_cpu_preempt_check+0x13/0x20

exc_page_fault+0x76/0x180

asm_exc_page_fault+0x27/0x30

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2023-52568 is recorded against 2 packages.

  • kernel (from 6.2.0 up to 6.5.6)
  • linux-kernel

Timeline and source

Published on 2 March 2024 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2023-52568 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Medium
CVSS Score 4.7
CVSS Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-03-02
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.2.0 6.5.6
linux-kernel — —

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in kernel

CVE-2023-52568 is rated CVSS 4.7 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2023
✓