cve.bz

CVE-2023-4155

5.6 mediumEPSS 0.2%Fix available

Medium (5.6). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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`).

Severity

CVSS 3.1

5.6 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-4155 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4155?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4155?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4155 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
fedoraproject:fedora37
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.52-1DEBIAN-CVE-2023-4155 DSA-5492-1
Debian13, 14linux6.4.11-1DEBIAN-CVE-2023-4155
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-4155
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-4155
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1047.52~20.04.1UBUNTU-CVE-2023-4155 USN-6416-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1049.56~20.04.1UBUNTU-CVE-2023-4155 USN-6416-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1049.56~20.04.1.1USN-6416-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1044.52~20.04.1UBUNTU-CVE-2023-4155 USN-6416-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 23 moreno fix listedUBUNTU-CVE-2023-4155
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1030.35~20.04.1UBUNTU-CVE-2023-4155 USN-6416-1
Ubuntu20.04:LTSlinux-hwe-5.155.15.0-86.96~20.04.1UBUNTU-CVE-2023-4155 USN-6416-2
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1040.43~20.04.1UBUNTU-CVE-2023-4155 USN-6416-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1043.49~20.04.1UBUNTU-CVE-2023-4155 USN-6445-2
Ubuntu20.04:LTSlinux-lowlatency-hwe-5.155.15.0-86.95~20.04.1UBUNTU-CVE-2023-4155 USN-6416-1
31 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.5.1.el8_9RHSA-2023:7077
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:6901
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.107.1.el8_6RHSA-2024:3859
3 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.92.1SUSE-SU-2023:4072-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.31.1SUSE-SU-2023:4071-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4-RT_Update_141-150400.1.3.1SUSE-SU-2023:4093-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_191-150400.9.3.1SUSE-SU-2023:4072-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_61-150500.11.3.1SUSE-SU-2023:4035-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_61-150500.11.3.1SUSE-SU-2023:4071-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt5.14.21-150400.15.56.1SUSE-SU-2023:4093-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4kernel-default-base5.14.21-150400.24.92.1.150400.24.42.1SUSE-SU-2023:4072-1
SUSELinux Enterprise Micro 5.5kernel-rt5.14.21-150500.13.21.1SUSE-SU-2023:4035-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.31.1.150500.6.13.1SUSE-SU-2023:4071-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.92.1SUSE-SU-2023:4072-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.31.1SUSE-SU-2023:4071-1
6 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.92.1SUSE-SU-2023:4072-2
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.69.1SUSE-SU-2023:4057-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.92.1.150400.24.42.1SUSE-SU-2023:4072-2
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.31.1SUSE-SU-2023:4071-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.20.1SUSE-SU-2023:4058-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.31.1.150500.6.13.1SUSE-SU-2023:4071-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.21.1SUSE-SU-2023:4035-1
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-513.5.1.el8_9ALSA-2023:7077
Azure Linux2hyperv-daemons5.15.158.1-1AZL-29700

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 6 and 7 are not affected by this flaw, as they did not include support for KVM AMD Secure Encrypted Virtualization (SEV).

Note: AMD SEV is currently provided as a Technology Preview in RHEL 8, therefore, it is unsupported for production use. For additional details see https://access.redhat.com/articles/4491591 and https://access.redhat.com/support/offerings/techpreview.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.5.1.rt7.307.el8_9Fixed 2023-11-14RHSA-2023:6901
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.5.1.el8_9Fixed 2023-11-14RHSA-2023:7077
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.107.1.el8_6Fixed 2024-06-12RHSA-2024:3859
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.107.1.el8_6Fixed 2024-06-12RHSA-2024:3859
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.107.1.el8_6Fixed 2024-06-12RHSA-2024:3859
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.64.1.el8_8Fixed 2024-07-23RHSA-2024:4740
Red Hat Enterprise Linux 9kernel-0:5.14.0-362.8.1.el9_3Fixed 2023-11-07RHSA-2023:6583
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4155.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON