CVE-2025-38515
drm/sched: Increment job count before swapping tail spsc queue
Check your servers for CVE-2025-38515
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38515 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.09% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0 affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before e62f51d0ec8a9baf324caf9a564f8e318d36a551 affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before ef841f8e4e1ff67817ca899bedc5ebb00847c0a7 affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before f9a4f28a4fc4ee453a92a9abbe36e26224d17749 affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before c64f5310530baf75328292f9b9f3f2961d185183 affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before e2d6547dc8b9b332f9bc00875197287a6a4db65a affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before ef58a95457466849fa7b31fd3953801a5af0f58b affected from 27105db6c63a571b91d01e749d026105a1e63bcf, before 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 5.4.296 up to and including 5.4.* unaffected from 5.10.240 up to and including 5.10.* unaffected from 5.15.189 up to and including 5.15.* unaffected from 6.1.146 up to and including 6.1.* unaffected from 6.6.99 up to and including 6.6.* unaffected from 6.12.39 up to and including 6.12.* unaffected from 6.15.7 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38515 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38515
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38515
trivy image --scanners vuln IMAGE | grep CVE-2025-38515
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0 git.kernel.org
- https://git.kernel.org/stable/c/e62f51d0ec8a9baf324caf9a564f8e318d36a551 git.kernel.org
- https://git.kernel.org/stable/c/ef841f8e4e1ff67817ca899bedc5ebb00847c0a7 git.kernel.org
- https://git.kernel.org/stable/c/f9a4f28a4fc4ee453a92a9abbe36e26224d17749 git.kernel.org
- https://git.kernel.org/stable/c/c64f5310530baf75328292f9b9f3f2961d185183 git.kernel.org
- https://git.kernel.org/stable/c/e2d6547dc8b9b332f9bc00875197287a6a4db65a git.kernel.org
- https://git.kernel.org/stable/c/ef58a95457466849fa7b31fd3953801a5af0f58b git.kernel.org
- https://git.kernel.org/stable/c/8af39ec5cf2be522c8eb43a3d8005ed59e4daaee git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38515 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse