CVE-2025-38515

Source
https://cve.org/CVERecord?id=CVE-2025-38515
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38515.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38515
Downstream
Related
Published
2025-08-16T10:55:02.173Z
Modified
2026-03-20T12:42:54.015416Z
Summary
drm/sched: Increment job count before swapping tail spsc queue
Details

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 spscqueuepush and the run-job worker, in which spscqueuepush 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38515.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
27105db6c63a571b91d01e749d026105a1e63bcf
Fixed
549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0
Fixed
e62f51d0ec8a9baf324caf9a564f8e318d36a551
Fixed
ef841f8e4e1ff67817ca899bedc5ebb00847c0a7
Fixed
f9a4f28a4fc4ee453a92a9abbe36e26224d17749
Fixed
c64f5310530baf75328292f9b9f3f2961d185183
Fixed
e2d6547dc8b9b332f9bc00875197287a6a4db65a
Fixed
ef58a95457466849fa7b31fd3953801a5af0f58b
Fixed
8af39ec5cf2be522c8eb43a3d8005ed59e4daaee

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38515.json"