CVE-2023-54254 drm/ttm: Don't leak a resource on eviction error

High 7.8 Published Updated

A resource leak in the Linux kernel's TTM memory manager during eviction errors can lead to memory exhaustion and 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-54254?

CVE-2023-54254 is a high-severity denial of service vulnerability in Linux, published on 30 Dec 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/ttm: Don't leak a resource on eviction error

On eviction errors other than -EMULTIHOP we were leaking a resource. Fix.

v2: - Avoid yet another goto (Andi Shyti)

Which versions are affected by CVE-2023-54254?

How do I fix CVE-2023-54254?

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

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

Sources

Also known as BELL-CVE-2023-54254, DEBIAN-CVE-2023-54254, GHSA-h8wx-9xh3-9g66, UBUNTU-CVE-2023-54254.

Is CVE-2023-54254 in your software?

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

Check your SBOMs for free