CVE-2025-38515 drm/sched: Increment job count before swapping tail spsc queue

Medium 4.7 Published Updated

A race condition in the Linux kernel DRM scheduler can cause job scheduling hangs, 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-2025-38515?

CVE-2025-38515 is a medium-severity vulnerability in Debian Debian Linux, published on 16 Aug 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/sched: Increment job count before swapping tail spsc queue

A small race exists between spsc_queue_push and the run-job worker, in which spsc_queue_push may return not-first while the run-job worker has already idled due to the job count being zero. If this race occurs, job scheduling stops, leading to hangs while waiting on the job’s DMA fences.

Seal this race by incrementing the job count before appending to the SPSC queue.

This race was observed on a drm-tip 6.16-rc1 build with the Xe driver in an SVM test case.

Which versions are affected by CVE-2025-38515?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38515?

Apply the vendor's patch.

Is CVE-2025-38515 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-66392, AZL-73545, BELL-CVE-2025-38515, DEBIAN-CVE-2025-38515, GHSA-6wqf-m4v2-8ppm, ROOT-OS-DEBIAN-11-CVE-2025-38515 and 4 more.

Is CVE-2025-38515 in your software?

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

Check your SBOMs for free