# CVE-2023-52662: drm/vmwgfx: fix a memleak in vmw_gmrid_man_get_node

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-05-17T13:41:02.183Z
- Modified: 2026-08-05T09:10:54.337Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d3bcb4b02fe977d6b7a82dbb6288e9223b5b6732 before 03b1072616a8f7d6e8594f643b416a9467c83fbf; from d3bcb4b02fe977d6b7a82dbb6288e9223b5b6732 before 40624af6674745e174c754a20d7c53c250e65e7a; from d3bcb4b02fe977d6b7a82dbb6288e9223b5b6732 before 83e0f220d1e992fa074157fcf14945bf170ffbc5; from d3bcb4b02fe977d6b7a82dbb6288e9223b5b6732 before 6fc6233f6db1579b69b54b44571f1a7fde8186e6; from d3bcb4b02fe977d6b7a82dbb6288e9223b5b6732 before d1e546ab91c670e536a274a75481034ab7534876; from d3bcb4b02fe977d6b7a82dbb6288e9223b5b6732 before 89709105a6091948ffb6ec2427954cbfe45358ce; 5.14 (not affected: before 5.14; from 5.15.153 up to 5.15.*; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.14 before 5.15.153; from 5.16 before 6.1.83; from 6.2 before 6.6.23; from 6.7 before 6.7.11; from 6.8 before 6.8.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/03b1072616a8f7d6e8594f643b416a9467c83fbf> (patch)
- <https://git.kernel.org/stable/c/40624af6674745e174c754a20d7c53c250e65e7a> (patch)
- <https://git.kernel.org/stable/c/83e0f220d1e992fa074157fcf14945bf170ffbc5> (patch)
- <https://git.kernel.org/stable/c/6fc6233f6db1579b69b54b44571f1a7fde8186e6> (patch)
- <https://git.kernel.org/stable/c/d1e546ab91c670e536a274a75481034ab7534876> (patch)
- <https://git.kernel.org/stable/c/89709105a6091948ffb6ec2427954cbfe45358ce> (patch)

## Sources

- CVE List: [CVE-2023-52662](https://www.cve.org/CVERecord?id=CVE-2023-52662), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52662](https://nvd.nist.gov/vuln/detail/CVE-2023-52662), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-52662 · Whole record: https://cve.day/CVE-2023-52662.json · Rebuilt by cve.day 2026-11-25T22:58:33.961Z
