Linux vmwgfx Memory Leak Fixed in RHEL 8 and RHEL 9 Kernels
Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Aug 8, 2024

CVE-2023-52662 is a low-severity memory-leak flaw in the Linux kernel's VMware graphics driver, drm/vmwgfx. In vmw_gmrid_man_get_node, failure of ida_alloc_max can leave kmalloc-allocated memory and resources initialized through ttm_resource_init unfreed, potentially causing a local, low-privileged user to exhaust system memory and affect availability. The issue was introduced in Linux kernel 5.14 and has a CVSS v3.1 score of 5.5.
The flaw is fixed in upstream stable kernels 5.15.153, 6.1.83, 6.6.23, 6.7.11, 6.8.2, and 6.9. Red Hat released corrected standard and real-time kernel packages for RHEL 8 and standard kernel packages for RHEL 9, including RHEL 9.4 EUS; the RHEL 9 real-time kernel fix remains deferred. RHEL 6 and RHEL 7 kernel packages are outside support scope and should be treated as affected unless mitigated or upgraded. Organizations should deploy supported updated kernel packages and reboot affected hosts.
Why it matters
Impact assessment
CVE-2023-52662 permits a local low-privileged user on affected Linux systems to leak kernel-managed resources and potentially exhaust memory, causing host-level availability degradation or denial of service. Exposure is concentrated on systems using the drm/vmwgfx VMware graphics driver, including affected RHEL 8 and RHEL 9 kernels; no exploitation in the wild is reported.
- Affected populations: VMware-hosted Linux workloads and other hosts that load
vmwgfx, particularly RHEL 8, RHEL 9, and RHEL 9.4 EUS deployments running unpatched kernels. - Business impact: resource exhaustion can destabilize workloads, trigger out-of-memory conditions, and cause service interruption or required host reboots.
- Priverequisites: an attacker needs local access and low privileges; no user interaction is required.
- Severity: Red Hat rates the flaw Low, CVSS 3.1 5.5. Red Hat assesses no confidentiality or integrity impact and high availability impact.
- Unsupported RHEL 6 and RHEL 7 kernels are out of scope for Red Hat affectedness analysis and should be treated as affected unless mitigated or upgraded.
- RHEL 9
kernel-rtremediation remains deferred.
Structured facts
- Vulnerability: CVE-2023-52662
- Component: Linux kernel DRM VMware graphics driver,
drm/vmwgfx - Affected function:
vmw_gmrid_man_get_node - Introduced: Linux kernel 5.14, commit
d3bcb4b02fe9 - Known exploitation: none reported


