CVE-2023-53002 drm/i915: Fix a memory leak with reused mmap_offset

Medium 5.5 Published Updated

A memory leak in the Linux kernel's i915 driver allows local attackers to exhaust system 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-53002?

CVE-2023-53002 is a medium-severity denial of service vulnerability in Linux kernel, published on 27 Mar 2025. 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/i915: Fix a memory leak with reused mmap_offset

drm_vma_node_allow() and drm_vma_node_revoke() should be called in balanced pairs. We call drm_vma_node_allow() once per-file everytime a user calls mmap_offset, but only call drm_vma_node_revoke once per-file on each mmap_offset. As the mmap_offset is reused by the client, the per-file vm_count may remain non-zero and the rbtree leaked.

Call drm_vma_node_allow_once() instead to prevent that memory leak.

Weakness: CWE-401

Which versions are affected by CVE-2023-53002?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53002?

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-53002 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-60318, BELL-CVE-2023-53002, DEBIAN-CVE-2023-53002, GHSA-vxj7-p6gh-99vg, ROOT-OS-DEBIAN-11-CVE-2023-53002, ROOT-OS-UBUNTU-2204-CVE-2023-53002 and 1 more.

Is CVE-2023-53002 in your software?

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

Check your SBOMs for free