CVE-2024-44956 drm/xe/preempt_fence: enlarge the fence critical section

Medium 5.5 Published Updated

A race condition in the Linux kernel's Xe GPU driver can cause deadlocks, leading to 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-2024-44956?

CVE-2024-44956 is a medium-severity vulnerability in Linux kernel, published on 4 Sep 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/preempt_fence: enlarge the fence critical section

It is really easy to introduce subtle deadlocks in preempt_fence_work_func() since we operate on single global ordered-wq for signalling our preempt fences behind the scenes, so even though we signal a particular fence, everything in the callback should be in the fence critical section, since blocking in the callback will prevent other published fences from signalling. If we enlarge the fence critical section to cover the entire callback, then lockdep should be able to understand this better, and complain if we grab a sensitive lock like vm->lock, which is also held when waiting on preempt fences.

Weakness: CWE-667

Which versions are affected by CVE-2024-44956?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-44956?

Apply the vendor's patch.

Is CVE-2024-44956 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-48763, AZL-48834, BELL-CVE-2024-44956, DEBIAN-CVE-2024-44956, GHSA-q2gx-5vc4-pjjw, UBUNTU-CVE-2024-44956.

Is CVE-2024-44956 in your software?

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

Check your SBOMs for free