Skip to main content
Mallory
← Back to News
privilege-escalation-methodendpoint-software-vulnerabilitywidely-deployed-product-advisory

Linux Kernel SEV Flaw Lets Guest Users Escalate Privileges or Crash Systems

Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Feb 20, 2024

Linux Kernel SEV Flaw Lets Guest Users Escalate Privileges or Crash Systems

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.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Oct 16, 2023 – Feb 20, 2024
  1. Feb 20, 20243y ago

    Red Hat releases RHEL 8 kernel and kernel-rt fixes

    Red Hat issued RHSA-2024:0897 and RHSA-2024:0881, fixing CVE-2023-46813 in the RHEL 8 kernel and kernel-rt packages.

    CVE-2023-46813 - Red Hat Customer Portal
  2. Feb 7, 20243y ago

    Red Hat releases RHEL 8.6 EUS and RHV fixes

    Red Hat issued RHSA-2024:0724 to fix the flaw in the RHEL 8.6 Extended Update Support kernel and Red Hat Virtualization 4 for RHEL 8.

    CVE-2023-46813 - Red Hat Customer Portal
  3. Jan 30, 20243y ago

    Red Hat releases RHEL 8.8 EUS kernel fix

    Red Hat addressed CVE-2023-46813 in the RHEL 8.8 Extended Update Support kernel through RHSA-2024:0575.

    CVE-2023-46813 - Red Hat Customer Portal
  4. Jan 25, 20243y ago

    Red Hat releases RHEL 9 kernel fixes

    Red Hat issued fixes for the RHEL 9 kernel, RHEL 9.0 EUS kernel and kernel-rt, and RHEL 9.2 EUS kernel and kernel-rt through RHSA-2024:0461, RHSA-2024:0432, RHSA-2024:0431, RHSA-2024:0448, and RHSA-2024:0439.

    CVE-2023-46813 - Red Hat Customer Portal
  5. Oct 27, 20233y ago

    CVE-2023-46813 is publicly disclosed

    CVE-2023-46813, a Linux kernel AMD SEV flaw involving a buffer overflow and null-pointer dereference triggered through MMIO-register access from an SEV guest, was made public. A low-privileged local attacker could crash the system or escalate privileges.

    CVE-2023-46813 - Red Hat Customer Portal
  6. Oct 16, 20233y ago

    Linux kernel patches SEV string I/O address validation

    The Linux kernel added checks to its x86 SEV exception-emulation path to reject user-mode string I/O operations targeting kernel-space addresses, raising a user page fault instead of continuing the access.

    x86/sev: Check for user-space IOIO pointing to kernel space - kernel/git/torvalds/linux.git - Linux kernel source tree
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Red Hat Enterprise Linux
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.