# CVE-2023-52662: drm/vmwgfx: fix a memleak in vmw\_gmrid\_man\_get\_node

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2023-52662, DEBIAN-CVE-2023-52662
- Record: https://cvemate.com/vulnerability/CVE-2023-52662 · JSON: https://cvemate.com/vulnerability/CVE-2023-52662/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.236%, percentile 15.594%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 109)

- debian linux (Debian): \< 6.1.85-1 \| \< 6.7.12-1
- ubuntu linux (Ubuntu): \< 5.15.0-112.122 \| \< 6.8.0-35.35
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1063.69 \| \< 6.8.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1063.69~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1063.69+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1066.75 \| \< 6.8.0-1008.8
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1065.74~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 26)

- <https://git.kernel.org/stable/c/03b1072616a8f7d6e8594f643b416a9467c83fbf>
- <https://git.kernel.org/stable/c/40624af6674745e174c754a20d7c53c250e65e7a>
- <https://git.kernel.org/stable/c/83e0f220d1e992fa074157fcf14945bf170ffbc5>
- <https://git.kernel.org/stable/c/6fc6233f6db1579b69b54b44571f1a7fde8186e6>
- <https://git.kernel.org/stable/c/d1e546ab91c670e536a274a75481034ab7534876>
- <https://git.kernel.org/stable/c/89709105a6091948ffb6ec2427954cbfe45358ce>
- <https://ubuntu.com/security/CVE-2023-52662>
- <https://www.cve.org/CVERecord?id=CVE-2023-52662>
- <https://git.kernel.org/linus/89709105a6091948ffb6ec2427954cbfe45358ce>
- <https://ubuntu.com/security/notices/USN-6816-1>
- <https://ubuntu.com/security/notices/USN-6817-1>
- <https://ubuntu.com/security/notices/USN-6820-1>
- <https://ubuntu.com/security/notices/USN-6821-1>
- <https://ubuntu.com/security/notices/USN-6821-2>
- <https://ubuntu.com/security/notices/USN-6817-2>
- <https://ubuntu.com/security/notices/USN-6828-1>
- <https://ubuntu.com/security/notices/USN-6820-2>
- <https://ubuntu.com/security/notices/USN-6821-3>
- <https://ubuntu.com/security/notices/USN-6817-3>
- <https://ubuntu.com/security/notices/USN-6821-4>

---

Data as of 2026-12-05T04:47:14.124Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
