CVE-2022-50667Published Dec 9, 2025 · Dec 9Updated Nov 12
drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
If the copy of the description string from userspace fails, then the page for the instance descriptor doesn't get freed before returning -EFAULT, which leads to a memleak.
From the CVE record · Linux
The Linux kernel's vmwgfx driver can leak a page in vmw_mksstat_add_ioctl() when copying a description string from userspace fails. A local caller who triggers that failure can cause the leak; the input does not specify any authentication requirement.
Engineers running Linux kernels with the vmwgfx driver should check whether their kernel includes the fix; affected versions are not specified.