CVE-2023-4155

high
Published 2023-11-07 ยท Modified 2023-11-14
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.0

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`).

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Red Hat Errata โ€” Red Hat Inc. ยท View original โ†— ยท Open-Errata-API

Description kernel: KVM: SEV-ES / SEV-SNP VMGEXIT double fetch vulnerability Red Hat 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โ€ฆ

Description

kernel: KVM: SEV-ES / SEV-SNP VMGEXIT double fetch vulnerability

Red Hat 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.

CVSS v3: 5.3 (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:N/I:N/A:H)

Errata / fixed releases

ProductPackageAdvisoryReleased
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.5.1.rt7.307.el8_9RHSA-2023:69012023-11-14T00:00:00Z
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.5.1.el8_9RHSA-2023:70772023-11-14T00:00:00Z
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.107.1.el8_6RHSA-2024:38592024-06-12T00:00:00Z
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.107.1.el8_6RHSA-2024:38592024-06-12T00:00:00Z
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.107.1.el8_6RHSA-2024:38592024-06-12T00:00:00Z
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.64.1.el8_8RHSA-2024:47402024-07-23T00:00:00Z
Red Hat Enterprise Linux 9kernel-0:5.14.0-362.8.1.el9_3RHSA-2023:65832023-11-07T00:00:00Z
Red Hat Enterprise Linux 9kernel-0:5.14.0-362.8.1.el9_3RHSA-2023:65832023-11-07T00:00:00Z

Package state

ProductPackageState
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

Apply commands

bash fix
Apply RHSA-2023:6901 for Red Hat Enterprise Linux 8
yum update -y kernel-rt
# or:
dnf upgrade -y kernel-rt

Affected

VendorProductVersion
redhatRed Hat Enterprise Linux 6Not affected
redhatRed Hat Enterprise Linux 7Not affected
redhatRed Hat Enterprise Linux 7Not affected
redhatRed Hat Enterprise Linux 9Affected

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
almalinux AlmaLinux Fixed 1 release
VersionStatusFixed in
8 Fixed kernel-doc-4.18.0-513.5.1.el8_9.noarch.rpm
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 6.4.11-1
sid Fixed 6.4.11-1
forky Fixed 6.4.11-1
bullseye Fixed 0
bookworm Fixed 6.1.52-1
redhat Red Hat Fixed 2 releases
VersionStatusFixed in
9 Fixed โ€”
8 Fixed โ€”

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.