CVE-2023-52662Published May 17, 2024 · May 17Updated Oct 29
drm/vmwgfx: fix a memleak in vmw_gmrid_man_get_node
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d3bcb4b02fe977d6b7a82dbb6288e9223b5b6732 · < 89709105a6091948ffb6ec2427954cbfe45358ce| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: fix a memleak in vmw_gmrid_man_get_node
When ida_alloc_max fails, resources allocated before should be freed, including *res allocated by kmalloc and ttm_resource_init.
From the CVE record · Linux
The Linux kernel's vmwgfx component can leak memory when ida_alloc_max fails in vmw_gmrid_man_get_node because previously allocated resources are not freed. The input does not specify how an attacker could trigger the failure or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the vmwgfx component should check their versions; affected versions were not provided.