Linux vmwgfx Use-After-Free Enables Privilege Escalation in VMware Guests
Attack Tradecraft · 3 sources · Updated 3mo ago · First seen Jan 10, 2024

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-rtis listed as affected without a cited erratum.


