CVE-2023-4155 Sev-es / sev-snp vmgexit double fetch vulnerability
A double fetch race condition in KVM SEV allows guest attackers to cause stack overflow, leading to denial of service or potential host escape.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-4155?
CVE-2023-4155 is a medium-severity vulnerability in Fedoraproject Fedora, published on 13 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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`).
Weakness: CWE-367
Which versions are affected by CVE-2023-4155?
It affects 3 products.
Products include Fedoraproject Fedora, Linux kernel, Redhat Enterprise Linux.
How do I fix CVE-2023-4155?
Apply the vendor's patch.
Is CVE-2023-4155 being exploited?
There is no known exploitation of CVE-2023-4155 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-29700, DEBIAN-CVE-2023-4155, GHSA-7f5q-x8vx-pfrp, UBUNTU-CVE-2023-4155.