cve.bz

CVE-2021-4093 Out-of-bounds Read

8.8 highExploit referenceEPSS 0.4%Fix available

High (8.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the KVM's AMD code for supporting the Secure Encrypted Virtualization-Encrypted State (SEV-ES). A KVM guest using SEV-ES can trigger out-of-bounds reads and writes in the host kernel via a malicious VMGEXIT for a string I/O instruction (for example, outs or ins) using the exit reason SVM_EXIT_IOIO. This issue results in a crash of the entire system or a potential guest-to-host escape scenario.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-125 Out-of-bounds Read
CWE-787 Out-of-bounds Write
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-2021-4093 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4093?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4093?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-2021-4093 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
linux:linux_kernelfrom 5.11 before 5.14.16
redhat:enterprise_linux8.0
fedoraproject:fedora35
canonical:ubuntu_linux20.04
canonical:ubuntu_linux21.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.14.16-1DEBIAN-CVE-2021-4093
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-4093
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-4093
Ubuntu20.04:LTSlinux-aws-5.11, linux-oracle-5.115.11.0-1028.31~20.04.1UBUNTU-CVE-2021-4093 USN-5265-1
Ubuntu20.04:LTSlinux-aws-5.135.13.0-1012.13~20.04.1UBUNTU-CVE-2021-4093 USN-5265-1
Ubuntu20.04:LTSlinux-aws-5.8, linux-gcp-5.8, linux-hwe-5.8 and 5 moreno fix listedUBUNTU-CVE-2021-4093
Ubuntu20.04:LTSlinux-azure-5.115.11.0-1028.31~20.04.2UBUNTU-CVE-2021-4093 USN-5265-1
Ubuntu20.04:LTSlinux-azure-5.135.13.0-1013.15~20.04.1UBUNTU-CVE-2021-4093
Ubuntu20.04:LTSlinux-gcp-5.115.11.0-1029.33~20.04.3UBUNTU-CVE-2021-4093 USN-5265-1
Ubuntu20.04:LTSlinux-gcp-5.135.13.0-1013.16~20.04.1UBUNTU-CVE-2021-4093
Ubuntu20.04:LTSlinux-hwe-5.135.13.0-28.31~20.04.1UBUNTU-CVE-2021-4093 USN-5265-1
Ubuntu20.04:LTSlinux-oem-5.135.13.0-1029.36UBUNTU-CVE-2021-4093 USN-5265-1
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1008.8UBUNTU-CVE-2021-4093
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.9.1.el8RHSA-2022:1988
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-372.9.1.el8RHSA-2022:1988
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-372.9.1.rt7.166.el8RHSA-2022:1975
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-372.9.1.rt7.166.el8RHSA-2022:1975
Rocky Linux8kernel0:4.18.0-372.9.1.el8RLSA-2022:1988

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; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

AMD Secure Encrypted Virtualization (SEV) is currently provided as a Technology Preview in RHEL and, therefore, unsupported for production use. For additional details please see https://access.redhat.com/articles/4491591 and https://access.redhat.com/support/offerings/techpreview.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-372.9.1.rt7.166.el8Fixed 2022-05-10RHSA-2022:1975
Red Hat Enterprise Linux 8kernel-0:4.18.0-372.9.1.el8Fixed 2022-05-10RHSA-2022:1988
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected

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-2021-4093.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

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

References

Check your stackJSON