CVE-2022-50667
kernel: drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 9, 2025
Updated · July 22, 2026
Description
A memory leak vulnerability was found in the VMware graphics driver (vmwgfx) in the Linux kernel. In vmw_mksstat_add_ioctl(), when copying the description string from userspace fails with -EFAULT, the allocated page for the instance descriptor is not freed. This leads to memory leakage that can cause resource exhaustion.
Statement
This is a memory leak in the VMware graphics driver affecting systems running as VMware guests. The leak occurs only when copying data from userspace fails, which limits the attack surface to local users with graphics access.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the vmwgfx module from being loaded. See https://access.redhat.com/solutions/41278 for instructions on how to blacklist a kernel module.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-771 · Missing Reference to Active Allocated Resource