CVE-2025-38515
drm/sched: Increment job count before swapping tail spsc queue
Reported by linux · Published August 16, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.15.7, 6.12.39, 6.6.99, 6.1.146, 5.15.189, 5.10.240, 5.4.296 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 27105db6c63a571b91d01e749d026105a1e63bcf, 27105db6c63a571b91d01e749d026105a1e63bcf, 27105db6c63a571b91d01e749d026105a1e63bcf |
| Linux | Linux | 4.16, 0, 5.4.296 |
| linux | linux_kernel | 4.16, 4.16, 4.16 |
| Linux | Linux | 27105db6c63a571b91d01e749d026105a1e63bcf, 27105db6c63a571b91d01e749d026105a1e63bcf, 27105db6c63a571b91d01e749d026105a1e63bcf |
Timeline
- Aug 16, 2025 EPSS Score (30 in total, the first dated here)
- Aug 16, 2025 CVE Published
- Oct 12, 2025 PoC Published (15 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (198 in total, the first dated here)
- Mar 29, 2026 Security Advisory (207 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38515
vulnetix vdb fixes CVE-2025-38515
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38515/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart