Linux Kernel SEV Flaw Lets Guest Users Escalate Privileges or Crash Systems
Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Feb 20, 2024

A vulnerability tracked as CVE-2023-46813 affects the Linux kernel's handling of AMD Secure Encrypted Virtualization (SEV) guests. A low-privileged local user in an SEV virtual machine can use MMIO/string I/O exception-emulation paths to trigger a buffer overflow or null-pointer dereference, potentially causing a denial of service or escalating privileges. Red Hat rates the issue CVSS 7.0 and categorizes it as improper privilege management (CWE-269).
Linux fixed the flaw by adding validation in the x86 SEV exception-emulation code before string I/O reads and writes. The new vc_insn_string_check() rejects user-space I/O operations whose addresses point into kernel space and raises a user page fault instead. Red Hat issued fixes for affected RHEL 8 and RHEL 9 kernel variants and Red Hat Virtualization 4 on RHEL 8; it reported no generally suitable mitigation beyond applying the relevant updates.
Why it matters
Impact assessment
CVE-2023-46813 enables a low-privileged local user inside an AMD SEV-enabled Linux guest to crash the guest or potentially gain elevated privileges. The exposure is limited to systems running affected Linux kernels as SEV guests, but successful compromise has high confidentiality, integrity, and availability consequences within the affected VM.
- Affected environments: AMD SEV guest virtual machines running vulnerable Linux x86 kernel code, including affected RHEL 8, RHEL 9, and Red Hat Virtualization 4 on RHEL 8 deployments.
- Attacker position: Local execution in the guest VM with low privileges; no user interaction is required.
- Business effect: Guest compromise can enable access to protected workloads and credentials in that VM, modification of guest data, or guest service disruption through a kernel crash.
- Scope: Not a general remote attack against all Linux systems. Exposure depends on SEV being enabled and the system using a vulnerable kernel.
- Exploitation status: The supplied references do not report exploitation in the wild.
- Severity: Red Hat rates the vulnerability Moderate; CVSS v3.1 is 7.0 with high confidentiality, integrity, and availability impact after successful exploitation.


