CVE-2024-37026 drm/xe: Only use reserved BCS instances for usm migrate exec queue

Medium 5.5 Published Updated

A deadlock in the Linux kernel's Xe GPU driver can cause a denial of service when migration jobs share engines with user jobs.

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-37026?

CVE-2024-37026 is a medium-severity denial of service vulnerability in Linux kernel, published on 24 Jun 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: Only use reserved BCS instances for usm migrate exec queue

The GuC context scheduling queue is 2 entires deep, thus it is possible for a migration job to be stuck behind a fault if migration exec queue shares engines with user jobs. This can deadlock as the migrate exec queue is required to service page faults. Avoid deadlock by only using reserved BCS instances for usm migrate exec queue.

(cherry picked from commit 04f4a70a183a688a60fe3882d6e4236ea02cfc67)

Which versions are affected by CVE-2024-37026?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-37026?

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-2024-37026 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-37026, DEBIAN-CVE-2024-37026, GHSA-6cmh-rmwx-jmcp, UBUNTU-CVE-2024-37026.

Is CVE-2024-37026 in your software?

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

Check your SBOMs for free