CVE-2023-4155

Sev-es / sev-snp vmgexit double fetch vulnerability

State
Published
Severity
5.3 Medium
Published
Sep 13, 2023
Updated
Feb 27, 2025
Reserved
Aug 4, 2023

Read the record on cve.org

Description

A flaw was found in KVM AMD Secure Encrypted Virtualization (SEV) in the Linux kernel. A KVM guest using SEV-ES or SEV-SNP with multiple vCPUs can trigger a double fetch race condition vulnerability and invoke the `VMGEXIT` handler recursively. If an attacker manages to call the handler multiple times, they can trigger a stack overflow and cause a denial of service or potentially guest-to-host escape in kernel configurations without stack guard pages (`CONFIG_VMAP_STACK`).

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:Hredhat

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
kerneln/a
    Red Hat Enterprise Linux 6Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 8Red Hat
            Red Hat Enterprise Linux 8Red Hat
              Red Hat Enterprise Linux 9Red Hat
                Red Hat Enterprise Linux 9Red Hat
                  FedoraFedora

                    References

                    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.