Skip to main content
Mallory
← Back to News
privilege-escalation-methodembedded-device-vulnerability

Linux vmwgfx Use-After-Free Enables Privilege Escalation in VMware Guests

Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Jan 10, 2024

Linux vmwgfx Use-After-Free Enables Privilege Escalation in VMware Guests

CVE-2023-5633 is a high-severity use-after-free flaw in the Linux kernel's vmwgfx graphics driver. Improper reference-count updates in surface memory-object handling—introduced through fixes for CVE-2023-33951 and CVE-2023-33952—can allow a local unprivileged attacker to escalate privileges in VMware guest systems with 3D acceleration enabled. Red Hat rates the issue CVSS 7.8 and maps it to CWE-911, improper update of reference count.

The upstream remediation is commit 91398b413d03660fd5828f7b4abc64e884b98069; Fedora included a fix in its 6.5.8 stable kernel update, and Red Hat released updated kernel packages for affected RHEL 8, RHEL 9, 8.8 EUS, and 9.2 EUS systems. RHEL 9 kernel-rt remains affected; organizations unable to patch should disable VMware 3D acceleration or prevent the vmwgfx module from loading.

Why it matters

Impact assessment

CVE-2023-5633 permits local privilege escalation to root-equivalent kernel compromise in affected Linux VMware guests. Exposure is limited to guests using the vmwgfx driver with VMware 3D acceleration enabled, but the impact is high where untrusted or low-privileged users can execute code on those systems.

  • Affected populations: Linux workloads hosted as VMware guests, including RHEL 8, RHEL 9, their cited EUS releases, and Fedora systems running affected kernels.
  • Severity: CVSS v3.1 7.8; successful exploitation can compromise confidentiality, integrity, and availability of the guest OS.
  • Operational consequence: A foothold obtained through an application-level compromise or a local multi-user account can be elevated to kernel-level control, enabling credential theft, security-tool tampering, persistence, and disruption within the guest.
  • Scope constraint: Exploitation requires local code execution and VMware 3D acceleration; it is not a remote unauthenticated vulnerability.
  • Known exploitation: The provided references do not report exploitation in the wild.
  • Notable outstanding exposure: RHEL 9 kernel-rt is listed as affected without a cited erratum.
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.

7 events · Oct 23, 2023 – Jan 10, 2024
  1. Reported Jan 30, 20243y ago

    Fedora ships fix in Linux 6.5.8 stable update

    Fedora addressed CVE-2023-5633 in its Linux 6.5.8 stable kernel update.

    2245663 - (CVE-2023-5633) CVE-2023-5633 kernel: vmwgfx: reference count issue leads to use-after-free in surface handling
  2. Reported Jan 30, 20243y ago

    Upstream Linux fixes vmwgfx reference-count vulnerability

    The issue was fixed upstream in Linux kernel 6.6-rc6 through commit 91398b413d03660fd5828f7b4abc64e884b98069.

    2245663 - (CVE-2023-5633) CVE-2023-5633 kernel: vmwgfx: reference count issue leads to use-after-free in surface handling
  3. Reported Jan 10, 20243y ago

    Red Hat fixes RHEL 9.2 EUS kernel packages

    Red Hat released RHSA-2024:4823 for the RHEL 9.2 Extended Update Support kernel and RHSA-2024:4831 for kernel-rt, addressing CVE-2023-5633.

    CVE-2023-5633 - Red Hat Customer Portal
  4. Reported Jan 10, 20243y ago

    Red Hat fixes RHEL 8.8 EUS kernel

    Red Hat released RHSA-2024:1404 to fix CVE-2023-5633 in the RHEL 8.8 Extended Update Support kernel.

    CVE-2023-5633 - Red Hat Customer Portal
  5. Reported Jan 10, 20243y ago

    Red Hat releases RHEL 9 kernel fix

    Red Hat addressed CVE-2023-5633 in the RHEL 9 kernel through advisory RHSA-2024:0461.

    CVE-2023-5633 - Red Hat Customer Portal
  6. Jan 10, 20243y ago

    Red Hat fixes CVE-2023-5633 for RHEL 8 kernels

    Red Hat issued RHSA-2024:0113 for the RHEL 8 kernel and RHSA-2024:0134 for the RHEL 8 kernel-rt package, fixing CVE-2023-5633.

    CVE-2023-5633 - Red Hat Customer Portal
  7. Oct 23, 20233y ago

    CVE-2023-5633 reported in Linux vmwgfx driver

    Mauro Matteo Cascella reported CVE-2023-5633, a vmwgfx surface-handling reference-count flaw that can cause use-after-free and potential local privilege escalation in VMware guests with 3D acceleration enabled.

    2245663 - (CVE-2023-5633) CVE-2023-5633 kernel: vmwgfx: reference count issue leads to use-after-free in surface handling
Linked entities

Related entities

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

Open in app →
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.