CVE-2024-53087 drm/xe: Fix possible exec queue leak in exec IOCTL

Medium 5.5 Published Updated

A memory leak in the Linux kernel's Xe driver allows attackers to cause denial of service by triggering specific input errors in the exec IOCTL.

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-2024-53087?

CVE-2024-53087 is a medium-severity memory corruption vulnerability in Linux kernel, published on 19 Nov 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/xe: Fix possible exec queue leak in exec IOCTL

In a couple of places after an exec queue is looked up the exec IOCTL returns on input errors without dropping the exec queue ref. Fix this ensuring the exec queue ref is dropped on input error.

(cherry picked from commit 07064a200b40ac2195cb6b7b779897d9377e5e6f)

Weakness: CWE-401

Which versions are affected by CVE-2024-53087?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53087?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-53087 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-53087, DEBIAN-CVE-2024-53087, GHSA-8gqp-w9h7-vrxp, UBUNTU-CVE-2024-53087.

Is CVE-2024-53087 in your software?

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

Check your SBOMs for free