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

High 7.8 Published Updated

A memory leak in the vmwgfx driver allows attackers to exhaust kernel memory, potentially causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52662?

CVE-2023-52662 is a high-severity denial of service vulnerability in Linux kernel, published on 17 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-401

Which versions are affected by CVE-2023-52662?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52662?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-52662 being exploited?

There is no known exploitation of CVE-2023-52662 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52662, DEBIAN-CVE-2023-52662, GHSA-w29x-26qv-fmmq, UBUNTU-CVE-2023-52662.

Is CVE-2023-52662 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free